final class javax.swing.plaf.nimbus.ToolTipPainter extends javax.swing.plaf.nimbus.AbstractRegionPainter
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: javax.swing.plaf.nimbus.ToolTipPainter
super_class: javax.swing.plaf.nimbus.AbstractRegionPainter
{
static final int BACKGROUND_ENABLED;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 1
static final int BACKGROUND_DISABLED;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 2
private int state;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private javax.swing.plaf.nimbus.AbstractRegionPainter$PaintContext ctx;
descriptor: Ljavax/swing/plaf/nimbus/AbstractRegionPainter$PaintContext;
flags: (0x0002) ACC_PRIVATE
private java.awt.geom.Path2D path;
descriptor: Ljava/awt/geom/Path2D;
flags: (0x0002) ACC_PRIVATE
private java.awt.geom.Rectangle2D rect;
descriptor: Ljava/awt/geom/Rectangle2D;
flags: (0x0002) ACC_PRIVATE
private java.awt.geom.RoundRectangle2D roundRect;
descriptor: Ljava/awt/geom/RoundRectangle2D;
flags: (0x0002) ACC_PRIVATE
private java.awt.geom.Ellipse2D ellipse;
descriptor: Ljava/awt/geom/Ellipse2D;
flags: (0x0002) ACC_PRIVATE
private java.awt.Color color1;
descriptor: Ljava/awt/Color;
flags: (0x0002) ACC_PRIVATE
private java.awt.Color color2;
descriptor: Ljava/awt/Color;
flags: (0x0002) ACC_PRIVATE
private java.awt.Color color3;
descriptor: Ljava/awt/Color;
flags: (0x0002) ACC_PRIVATE
private java.lang.Object[] componentColors;
descriptor: [Ljava/lang/Object;
flags: (0x0002) ACC_PRIVATE
public void <init>(javax.swing.plaf.nimbus.AbstractRegionPainter$PaintContext, int);
descriptor: (Ljavax/swing/plaf/nimbus/AbstractRegionPainter$PaintContext;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=9, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial javax.swing.plaf.nimbus.AbstractRegionPainter.<init>:()V
1: aload 0
new java.awt.geom.Path2D$Float
dup
invokespecial java.awt.geom.Path2D$Float.<init>:()V
putfield javax.swing.plaf.nimbus.ToolTipPainter.path:Ljava/awt/geom/Path2D;
2: aload 0
new java.awt.geom.Rectangle2D$Float
dup
fconst_0
fconst_0
fconst_0
fconst_0
invokespecial java.awt.geom.Rectangle2D$Float.<init>:(FFFF)V
putfield javax.swing.plaf.nimbus.ToolTipPainter.rect:Ljava/awt/geom/Rectangle2D;
3: aload 0
new java.awt.geom.RoundRectangle2D$Float
dup
fconst_0
fconst_0
fconst_0
fconst_0
fconst_0
fconst_0
invokespecial java.awt.geom.RoundRectangle2D$Float.<init>:(FFFFFF)V
putfield javax.swing.plaf.nimbus.ToolTipPainter.roundRect:Ljava/awt/geom/RoundRectangle2D;
4: aload 0
new java.awt.geom.Ellipse2D$Float
dup
fconst_0
fconst_0
fconst_0
fconst_0
invokespecial java.awt.geom.Ellipse2D$Float.<init>:(FFFF)V
putfield javax.swing.plaf.nimbus.ToolTipPainter.ellipse:Ljava/awt/geom/Ellipse2D;
5: aload 0
aload 0
ldc "nimbusBorder"
fconst_0
fconst_0
fconst_0
iconst_0
invokevirtual javax.swing.plaf.nimbus.ToolTipPainter.decodeColor:(Ljava/lang/String;FFFI)Ljava/awt/Color;
putfield javax.swing.plaf.nimbus.ToolTipPainter.color1:Ljava/awt/Color;
6: aload 0
aload 0
ldc "info"
fconst_0
fconst_0
fconst_0
iconst_0
invokevirtual javax.swing.plaf.nimbus.ToolTipPainter.decodeColor:(Ljava/lang/String;FFFI)Ljava/awt/Color;
putfield javax.swing.plaf.nimbus.ToolTipPainter.color2:Ljava/awt/Color;
7: aload 0
aload 0
ldc "nimbusBorder"
ldc -0.013888836
ldc 5.823001E-4
ldc -0.12941176
iconst_0
invokevirtual javax.swing.plaf.nimbus.ToolTipPainter.decodeColor:(Ljava/lang/String;FFFI)Ljava/awt/Color;
putfield javax.swing.plaf.nimbus.ToolTipPainter.color3:Ljava/awt/Color;
8: aload 0
iload 2
putfield javax.swing.plaf.nimbus.ToolTipPainter.state:I
9: aload 0
aload 1
putfield javax.swing.plaf.nimbus.ToolTipPainter.ctx:Ljavax/swing/plaf/nimbus/AbstractRegionPainter$PaintContext;
10: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Ljavax/swing/plaf/nimbus/ToolTipPainter;
0 11 1 ctx Ljavax/swing/plaf/nimbus/AbstractRegionPainter$PaintContext;
0 11 2 state I
MethodParameters:
Name Flags
ctx
state
protected void doPaint(java.awt.Graphics2D, javax.swing.JComponent, int, int, java.lang.Object[]);
descriptor: (Ljava/awt/Graphics2D;Ljavax/swing/JComponent;II[Ljava/lang/Object;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
aload 5
putfield javax.swing.plaf.nimbus.ToolTipPainter.componentColors:[Ljava/lang/Object;
1: aload 0
getfield javax.swing.plaf.nimbus.ToolTipPainter.state:I
tableswitch { // 1 - 2
1: 2
2: 3
default: 4
}
2: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual javax.swing.plaf.nimbus.ToolTipPainter.paintBackgroundEnabled:(Ljava/awt/Graphics2D;)V
goto 4
3: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual javax.swing.plaf.nimbus.ToolTipPainter.paintBackgroundDisabled:(Ljava/awt/Graphics2D;)V
4: StackMap locals:
StackMap stack:
return
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljavax/swing/plaf/nimbus/ToolTipPainter;
0 5 1 g Ljava/awt/Graphics2D;
0 5 2 c Ljavax/swing/JComponent;
0 5 3 width I
0 5 4 height I
0 5 5 extendedCacheKeys [Ljava/lang/Object;
MethodParameters:
Name Flags
g
c
width
height
extendedCacheKeys
protected final javax.swing.plaf.nimbus.AbstractRegionPainter$PaintContext getPaintContext();
descriptor: ()Ljavax/swing/plaf/nimbus/AbstractRegionPainter$PaintContext;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.plaf.nimbus.ToolTipPainter.ctx:Ljavax/swing/plaf/nimbus/AbstractRegionPainter$PaintContext;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/plaf/nimbus/ToolTipPainter;
private void paintBackgroundEnabled(java.awt.Graphics2D);
descriptor: (Ljava/awt/Graphics2D;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 0
invokevirtual javax.swing.plaf.nimbus.ToolTipPainter.decodeRect1:()Ljava/awt/geom/Rectangle2D;
putfield javax.swing.plaf.nimbus.ToolTipPainter.rect:Ljava/awt/geom/Rectangle2D;
1: aload 1
aload 0
getfield javax.swing.plaf.nimbus.ToolTipPainter.color1:Ljava/awt/Color;
invokevirtual java.awt.Graphics2D.setPaint:(Ljava/awt/Paint;)V
2: aload 1
aload 0
getfield javax.swing.plaf.nimbus.ToolTipPainter.rect:Ljava/awt/geom/Rectangle2D;
invokevirtual java.awt.Graphics2D.fill:(Ljava/awt/Shape;)V
3: aload 0
aload 0
invokevirtual javax.swing.plaf.nimbus.ToolTipPainter.decodeRect2:()Ljava/awt/geom/Rectangle2D;
putfield javax.swing.plaf.nimbus.ToolTipPainter.rect:Ljava/awt/geom/Rectangle2D;
4: aload 1
aload 0
getfield javax.swing.plaf.nimbus.ToolTipPainter.color1:Ljava/awt/Color;
invokevirtual java.awt.Graphics2D.setPaint:(Ljava/awt/Paint;)V
5: aload 1
aload 0
getfield javax.swing.plaf.nimbus.ToolTipPainter.rect:Ljava/awt/geom/Rectangle2D;
invokevirtual java.awt.Graphics2D.fill:(Ljava/awt/Shape;)V
6: aload 0
aload 0
invokevirtual javax.swing.plaf.nimbus.ToolTipPainter.decodeRect3:()Ljava/awt/geom/Rectangle2D;
putfield javax.swing.plaf.nimbus.ToolTipPainter.rect:Ljava/awt/geom/Rectangle2D;
7: aload 1
aload 0
getfield javax.swing.plaf.nimbus.ToolTipPainter.color1:Ljava/awt/Color;
invokevirtual java.awt.Graphics2D.setPaint:(Ljava/awt/Paint;)V
8: aload 1
aload 0
getfield javax.swing.plaf.nimbus.ToolTipPainter.rect:Ljava/awt/geom/Rectangle2D;
invokevirtual java.awt.Graphics2D.fill:(Ljava/awt/Shape;)V
9: aload 0
aload 0
invokevirtual javax.swing.plaf.nimbus.ToolTipPainter.decodeRect4:()Ljava/awt/geom/Rectangle2D;
putfield javax.swing.plaf.nimbus.ToolTipPainter.rect:Ljava/awt/geom/Rectangle2D;
10: aload 1
aload 0
getfield javax.swing.plaf.nimbus.ToolTipPainter.color1:Ljava/awt/Color;
invokevirtual java.awt.Graphics2D.setPaint:(Ljava/awt/Paint;)V
11: aload 1
aload 0
getfield javax.swing.plaf.nimbus.ToolTipPainter.rect:Ljava/awt/geom/Rectangle2D;
invokevirtual java.awt.Graphics2D.fill:(Ljava/awt/Shape;)V
12: aload 0
aload 0
invokevirtual javax.swing.plaf.nimbus.ToolTipPainter.decodeRect5:()Ljava/awt/geom/Rectangle2D;
putfield javax.swing.plaf.nimbus.ToolTipPainter.rect:Ljava/awt/geom/Rectangle2D;
13: aload 1
aload 0
getfield javax.swing.plaf.nimbus.ToolTipPainter.color2:Ljava/awt/Color;
invokevirtual java.awt.Graphics2D.setPaint:(Ljava/awt/Paint;)V
14: aload 1
aload 0
getfield javax.swing.plaf.nimbus.ToolTipPainter.rect:Ljava/awt/geom/Rectangle2D;
invokevirtual java.awt.Graphics2D.fill:(Ljava/awt/Shape;)V
15: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Ljavax/swing/plaf/nimbus/ToolTipPainter;
0 16 1 g Ljava/awt/Graphics2D;
MethodParameters:
Name Flags
g
private void paintBackgroundDisabled(java.awt.Graphics2D);
descriptor: (Ljava/awt/Graphics2D;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 0
invokevirtual javax.swing.plaf.nimbus.ToolTipPainter.decodeRect1:()Ljava/awt/geom/Rectangle2D;
putfield javax.swing.plaf.nimbus.ToolTipPainter.rect:Ljava/awt/geom/Rectangle2D;
1: aload 1
aload 0
getfield javax.swing.plaf.nimbus.ToolTipPainter.color3:Ljava/awt/Color;
invokevirtual java.awt.Graphics2D.setPaint:(Ljava/awt/Paint;)V
2: aload 1
aload 0
getfield javax.swing.plaf.nimbus.ToolTipPainter.rect:Ljava/awt/geom/Rectangle2D;
invokevirtual java.awt.Graphics2D.fill:(Ljava/awt/Shape;)V
3: aload 0
aload 0
invokevirtual javax.swing.plaf.nimbus.ToolTipPainter.decodeRect2:()Ljava/awt/geom/Rectangle2D;
putfield javax.swing.plaf.nimbus.ToolTipPainter.rect:Ljava/awt/geom/Rectangle2D;
4: aload 1
aload 0
getfield javax.swing.plaf.nimbus.ToolTipPainter.color3:Ljava/awt/Color;
invokevirtual java.awt.Graphics2D.setPaint:(Ljava/awt/Paint;)V
5: aload 1
aload 0
getfield javax.swing.plaf.nimbus.ToolTipPainter.rect:Ljava/awt/geom/Rectangle2D;
invokevirtual java.awt.Graphics2D.fill:(Ljava/awt/Shape;)V
6: aload 0
aload 0
invokevirtual javax.swing.plaf.nimbus.ToolTipPainter.decodeRect3:()Ljava/awt/geom/Rectangle2D;
putfield javax.swing.plaf.nimbus.ToolTipPainter.rect:Ljava/awt/geom/Rectangle2D;
7: aload 1
aload 0
getfield javax.swing.plaf.nimbus.ToolTipPainter.color3:Ljava/awt/Color;
invokevirtual java.awt.Graphics2D.setPaint:(Ljava/awt/Paint;)V
8: aload 1
aload 0
getfield javax.swing.plaf.nimbus.ToolTipPainter.rect:Ljava/awt/geom/Rectangle2D;
invokevirtual java.awt.Graphics2D.fill:(Ljava/awt/Shape;)V
9: aload 0
aload 0
invokevirtual javax.swing.plaf.nimbus.ToolTipPainter.decodeRect4:()Ljava/awt/geom/Rectangle2D;
putfield javax.swing.plaf.nimbus.ToolTipPainter.rect:Ljava/awt/geom/Rectangle2D;
10: aload 1
aload 0
getfield javax.swing.plaf.nimbus.ToolTipPainter.color3:Ljava/awt/Color;
invokevirtual java.awt.Graphics2D.setPaint:(Ljava/awt/Paint;)V
11: aload 1
aload 0
getfield javax.swing.plaf.nimbus.ToolTipPainter.rect:Ljava/awt/geom/Rectangle2D;
invokevirtual java.awt.Graphics2D.fill:(Ljava/awt/Shape;)V
12: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Ljavax/swing/plaf/nimbus/ToolTipPainter;
0 13 1 g Ljava/awt/Graphics2D;
MethodParameters:
Name Flags
g
private java.awt.geom.Rectangle2D decodeRect1();
descriptor: ()Ljava/awt/geom/Rectangle2D;
flags: (0x0002) ACC_PRIVATE
Code:
stack=10, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.plaf.nimbus.ToolTipPainter.rect:Ljava/awt/geom/Rectangle2D;
aload 0
fconst_2
invokevirtual javax.swing.plaf.nimbus.ToolTipPainter.decodeX:(F)F
f2d
1: aload 0
fconst_1
invokevirtual javax.swing.plaf.nimbus.ToolTipPainter.decodeY:(F)F
f2d
2: aload 0
ldc 3.0
invokevirtual javax.swing.plaf.nimbus.ToolTipPainter.decodeX:(F)F
aload 0
fconst_2
invokevirtual javax.swing.plaf.nimbus.ToolTipPainter.decodeX:(F)F
fsub
f2d
3: aload 0
fconst_2
invokevirtual javax.swing.plaf.nimbus.ToolTipPainter.decodeY:(F)F
aload 0
fconst_1
invokevirtual javax.swing.plaf.nimbus.ToolTipPainter.decodeY:(F)F
fsub
f2d
4: invokevirtual java.awt.geom.Rectangle2D.setRect:(DDDD)V
5: aload 0
getfield javax.swing.plaf.nimbus.ToolTipPainter.rect:Ljava/awt/geom/Rectangle2D;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljavax/swing/plaf/nimbus/ToolTipPainter;
private java.awt.geom.Rectangle2D decodeRect2();
descriptor: ()Ljava/awt/geom/Rectangle2D;
flags: (0x0002) ACC_PRIVATE
Code:
stack=10, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.plaf.nimbus.ToolTipPainter.rect:Ljava/awt/geom/Rectangle2D;
aload 0
fconst_0
invokevirtual javax.swing.plaf.nimbus.ToolTipPainter.decodeX:(F)F
f2d
1: aload 0
fconst_1
invokevirtual javax.swing.plaf.nimbus.ToolTipPainter.decodeY:(F)F
f2d
2: aload 0
fconst_1
invokevirtual javax.swing.plaf.nimbus.ToolTipPainter.decodeX:(F)F
aload 0
fconst_0
invokevirtual javax.swing.plaf.nimbus.ToolTipPainter.decodeX:(F)F
fsub
f2d
3: aload 0
fconst_2
invokevirtual javax.swing.plaf.nimbus.ToolTipPainter.decodeY:(F)F
aload 0
fconst_1
invokevirtual javax.swing.plaf.nimbus.ToolTipPainter.decodeY:(F)F
fsub
f2d
4: invokevirtual java.awt.geom.Rectangle2D.setRect:(DDDD)V
5: aload 0
getfield javax.swing.plaf.nimbus.ToolTipPainter.rect:Ljava/awt/geom/Rectangle2D;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljavax/swing/plaf/nimbus/ToolTipPainter;
private java.awt.geom.Rectangle2D decodeRect3();
descriptor: ()Ljava/awt/geom/Rectangle2D;
flags: (0x0002) ACC_PRIVATE
Code:
stack=10, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.plaf.nimbus.ToolTipPainter.rect:Ljava/awt/geom/Rectangle2D;
aload 0
fconst_0
invokevirtual javax.swing.plaf.nimbus.ToolTipPainter.decodeX:(F)F
f2d
1: aload 0
fconst_2
invokevirtual javax.swing.plaf.nimbus.ToolTipPainter.decodeY:(F)F
f2d
2: aload 0
ldc 3.0
invokevirtual javax.swing.plaf.nimbus.ToolTipPainter.decodeX:(F)F
aload 0
fconst_0
invokevirtual javax.swing.plaf.nimbus.ToolTipPainter.decodeX:(F)F
fsub
f2d
3: aload 0
ldc 3.0
invokevirtual javax.swing.plaf.nimbus.ToolTipPainter.decodeY:(F)F
aload 0
fconst_2
invokevirtual javax.swing.plaf.nimbus.ToolTipPainter.decodeY:(F)F
fsub
f2d
4: invokevirtual java.awt.geom.Rectangle2D.setRect:(DDDD)V
5: aload 0
getfield javax.swing.plaf.nimbus.ToolTipPainter.rect:Ljava/awt/geom/Rectangle2D;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljavax/swing/plaf/nimbus/ToolTipPainter;
private java.awt.geom.Rectangle2D decodeRect4();
descriptor: ()Ljava/awt/geom/Rectangle2D;
flags: (0x0002) ACC_PRIVATE
Code:
stack=10, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.plaf.nimbus.ToolTipPainter.rect:Ljava/awt/geom/Rectangle2D;
aload 0
fconst_0
invokevirtual javax.swing.plaf.nimbus.ToolTipPainter.decodeX:(F)F
f2d
1: aload 0
fconst_0
invokevirtual javax.swing.plaf.nimbus.ToolTipPainter.decodeY:(F)F
f2d
2: aload 0
ldc 3.0
invokevirtual javax.swing.plaf.nimbus.ToolTipPainter.decodeX:(F)F
aload 0
fconst_0
invokevirtual javax.swing.plaf.nimbus.ToolTipPainter.decodeX:(F)F
fsub
f2d
3: aload 0
fconst_1
invokevirtual javax.swing.plaf.nimbus.ToolTipPainter.decodeY:(F)F
aload 0
fconst_0
invokevirtual javax.swing.plaf.nimbus.ToolTipPainter.decodeY:(F)F
fsub
f2d
4: invokevirtual java.awt.geom.Rectangle2D.setRect:(DDDD)V
5: aload 0
getfield javax.swing.plaf.nimbus.ToolTipPainter.rect:Ljava/awt/geom/Rectangle2D;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljavax/swing/plaf/nimbus/ToolTipPainter;
private java.awt.geom.Rectangle2D decodeRect5();
descriptor: ()Ljava/awt/geom/Rectangle2D;
flags: (0x0002) ACC_PRIVATE
Code:
stack=10, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.plaf.nimbus.ToolTipPainter.rect:Ljava/awt/geom/Rectangle2D;
aload 0
fconst_1
invokevirtual javax.swing.plaf.nimbus.ToolTipPainter.decodeX:(F)F
f2d
1: aload 0
fconst_1
invokevirtual javax.swing.plaf.nimbus.ToolTipPainter.decodeY:(F)F
f2d
2: aload 0
fconst_2
invokevirtual javax.swing.plaf.nimbus.ToolTipPainter.decodeX:(F)F
aload 0
fconst_1
invokevirtual javax.swing.plaf.nimbus.ToolTipPainter.decodeX:(F)F
fsub
f2d
3: aload 0
fconst_2
invokevirtual javax.swing.plaf.nimbus.ToolTipPainter.decodeY:(F)F
aload 0
fconst_1
invokevirtual javax.swing.plaf.nimbus.ToolTipPainter.decodeY:(F)F
fsub
f2d
4: invokevirtual java.awt.geom.Rectangle2D.setRect:(DDDD)V
5: aload 0
getfield javax.swing.plaf.nimbus.ToolTipPainter.rect:Ljava/awt/geom/Rectangle2D;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljavax/swing/plaf/nimbus/ToolTipPainter;
}
SourceFile: "ToolTipPainter.java"
InnerClasses:
public Float = java.awt.geom.Ellipse2D$Float of java.awt.geom.Ellipse2D
public Float = java.awt.geom.Path2D$Float of java.awt.geom.Path2D
public Float = java.awt.geom.Rectangle2D$Float of java.awt.geom.Rectangle2D
public Float = java.awt.geom.RoundRectangle2D$Float of java.awt.geom.RoundRectangle2D
protected PaintContext = javax.swing.plaf.nimbus.AbstractRegionPainter$PaintContext of javax.swing.plaf.nimbus.AbstractRegionPainter