public class javax.swing.plaf.basic.BasicBorders$ButtonBorder extends javax.swing.border.AbstractBorder implements javax.swing.plaf.UIResource
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: javax.swing.plaf.basic.BasicBorders$ButtonBorder
super_class: javax.swing.border.AbstractBorder
{
protected java.awt.Color shadow;
descriptor: Ljava/awt/Color;
flags: (0x0004) ACC_PROTECTED
protected java.awt.Color darkShadow;
descriptor: Ljava/awt/Color;
flags: (0x0004) ACC_PROTECTED
protected java.awt.Color highlight;
descriptor: Ljava/awt/Color;
flags: (0x0004) ACC_PROTECTED
protected java.awt.Color lightHighlight;
descriptor: Ljava/awt/Color;
flags: (0x0004) ACC_PROTECTED
public void <init>(java.awt.Color, java.awt.Color, java.awt.Color, java.awt.Color);
descriptor: (Ljava/awt/Color;Ljava/awt/Color;Ljava/awt/Color;Ljava/awt/Color;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
invokespecial javax.swing.border.AbstractBorder.<init>:()V
1: aload 0
aload 1
putfield javax.swing.plaf.basic.BasicBorders$ButtonBorder.shadow:Ljava/awt/Color;
2: aload 0
aload 2
putfield javax.swing.plaf.basic.BasicBorders$ButtonBorder.darkShadow:Ljava/awt/Color;
3: aload 0
aload 3
putfield javax.swing.plaf.basic.BasicBorders$ButtonBorder.highlight:Ljava/awt/Color;
4: aload 0
aload 4
putfield javax.swing.plaf.basic.BasicBorders$ButtonBorder.lightHighlight:Ljava/awt/Color;
5: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljavax/swing/plaf/basic/BasicBorders$ButtonBorder;
0 6 1 shadow Ljava/awt/Color;
0 6 2 darkShadow Ljava/awt/Color;
0 6 3 highlight Ljava/awt/Color;
0 6 4 lightHighlight Ljava/awt/Color;
MethodParameters:
Name Flags
shadow
darkShadow
highlight
lightHighlight
public void paintBorder(java.awt.Component, java.awt.Graphics, int, int, int, int);
descriptor: (Ljava/awt/Component;Ljava/awt/Graphics;IIII)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=11, locals=11, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: iconst_0
istore 7
start local 7 1: iconst_0
istore 8
start local 8 2: aload 1
instanceof javax.swing.AbstractButton
ifeq 10
3: aload 1
checkcast javax.swing.AbstractButton
astore 9
start local 9 4: aload 9
invokevirtual javax.swing.AbstractButton.getModel:()Ljavax/swing/ButtonModel;
astore 10
start local 10 5: aload 10
invokeinterface javax.swing.ButtonModel.isPressed:()Z
ifeq 6
aload 10
invokeinterface javax.swing.ButtonModel.isArmed:()Z
ifeq 6
iconst_1
goto 7
StackMap locals: javax.swing.plaf.basic.BasicBorders$ButtonBorder java.awt.Component java.awt.Graphics int int int int int int javax.swing.AbstractButton javax.swing.ButtonModel
StackMap stack:
6: iconst_0
StackMap locals:
StackMap stack: int
7: istore 7
8: aload 1
instanceof javax.swing.JButton
ifeq 10
9: aload 1
checkcast javax.swing.JButton
invokevirtual javax.swing.JButton.isDefaultButton:()Z
istore 8
end local 10 end local 9 10: StackMap locals:
StackMap stack:
aload 2
iload 3
iload 4
iload 5
iload 6
11: iload 7
iload 8
aload 0
getfield javax.swing.plaf.basic.BasicBorders$ButtonBorder.shadow:Ljava/awt/Color;
12: aload 0
getfield javax.swing.plaf.basic.BasicBorders$ButtonBorder.darkShadow:Ljava/awt/Color;
aload 0
getfield javax.swing.plaf.basic.BasicBorders$ButtonBorder.highlight:Ljava/awt/Color;
aload 0
getfield javax.swing.plaf.basic.BasicBorders$ButtonBorder.lightHighlight:Ljava/awt/Color;
13: invokestatic javax.swing.plaf.basic.BasicGraphicsUtils.drawBezel:(Ljava/awt/Graphics;IIIIZZLjava/awt/Color;Ljava/awt/Color;Ljava/awt/Color;Ljava/awt/Color;)V
14: return
end local 8 end local 7 end local 6 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 15 0 this Ljavax/swing/plaf/basic/BasicBorders$ButtonBorder;
0 15 1 c Ljava/awt/Component;
0 15 2 g Ljava/awt/Graphics;
0 15 3 x I
0 15 4 y I
0 15 5 width I
0 15 6 height I
1 15 7 isPressed Z
2 15 8 isDefault Z
4 10 9 b Ljavax/swing/AbstractButton;
5 10 10 model Ljavax/swing/ButtonModel;
MethodParameters:
Name Flags
c
g
x
y
width
height
public java.awt.Insets getBorderInsets(java.awt.Component, java.awt.Insets);
descriptor: (Ljava/awt/Component;Ljava/awt/Insets;)Ljava/awt/Insets;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 2
iconst_2
iconst_3
iconst_3
iconst_3
invokevirtual java.awt.Insets.set:(IIII)V
1: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/plaf/basic/BasicBorders$ButtonBorder;
0 2 1 c Ljava/awt/Component;
0 2 2 insets Ljava/awt/Insets;
MethodParameters:
Name Flags
c
insets
}
SourceFile: "BasicBorders.java"
NestHost: javax.swing.plaf.basic.BasicBorders
InnerClasses:
public ButtonBorder = javax.swing.plaf.basic.BasicBorders$ButtonBorder of javax.swing.plaf.basic.BasicBorders