public class javax.swing.plaf.metal.MetalBorders$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.metal.MetalBorders$ButtonBorder
super_class: javax.swing.border.AbstractBorder
{
protected static java.awt.Insets borderInsets;
descriptor: Ljava/awt/Insets;
flags: (0x000c) ACC_PROTECTED, ACC_STATIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=6, locals=0, args_size=0
0: new java.awt.Insets
dup
iconst_3
iconst_3
iconst_3
iconst_3
invokespecial java.awt.Insets.<init>:(IIII)V
putstatic javax.swing.plaf.metal.MetalBorders$ButtonBorder.borderInsets:Ljava/awt/Insets;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial javax.swing.border.AbstractBorder.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/plaf/metal/MetalBorders$ButtonBorder;
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=7, 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: invokestatic javax.swing.plaf.metal.MetalLookAndFeel.usingOcean:()Z
ifeq 3
1: aload 0
aload 1
aload 2
iload 3
iload 4
iload 5
iload 6
invokevirtual javax.swing.plaf.metal.MetalBorders$ButtonBorder.paintOceanBorder:(Ljava/awt/Component;Ljava/awt/Graphics;IIII)V
2: return
3: StackMap locals:
StackMap stack:
aload 1
checkcast javax.swing.AbstractButton
astore 7
start local 7 4: aload 7
invokevirtual javax.swing.AbstractButton.getModel:()Ljavax/swing/ButtonModel;
astore 8
start local 8 5: aload 8
invokeinterface javax.swing.ButtonModel.isEnabled:()Z
ifeq 23
6: aload 8
invokeinterface javax.swing.ButtonModel.isPressed:()Z
ifeq 7
aload 8
invokeinterface javax.swing.ButtonModel.isArmed:()Z
ifeq 7
iconst_1
goto 8
StackMap locals: javax.swing.AbstractButton javax.swing.ButtonModel
StackMap stack:
7: iconst_0
StackMap locals:
StackMap stack: int
8: istore 9
start local 9 9: aload 7
instanceof javax.swing.JButton
ifeq 10
aload 7
checkcast javax.swing.JButton
invokevirtual javax.swing.JButton.isDefaultButton:()Z
ifeq 10
iconst_1
goto 11
StackMap locals: int
StackMap stack:
10: iconst_0
StackMap locals:
StackMap stack: int
11: istore 10
start local 10 12: iload 9
ifeq 15
iload 10
ifeq 15
13: aload 2
iload 3
iload 4
iload 5
iload 6
invokestatic javax.swing.plaf.metal.MetalUtils.drawDefaultButtonPressedBorder:(Ljava/awt/Graphics;IIII)V
14: goto 24
StackMap locals: int
StackMap stack:
15: iload 9
ifeq 18
16: aload 2
iload 3
iload 4
iload 5
iload 6
invokestatic javax.swing.plaf.metal.MetalUtils.drawPressed3DBorder:(Ljava/awt/Graphics;IIII)V
17: goto 24
StackMap locals:
StackMap stack:
18: iload 10
ifeq 21
19: aload 2
iload 3
iload 4
iload 5
iload 6
iconst_0
invokestatic javax.swing.plaf.metal.MetalUtils.drawDefaultButtonBorder:(Ljava/awt/Graphics;IIIIZ)V
20: goto 24
21: StackMap locals:
StackMap stack:
aload 2
iload 3
iload 4
iload 5
iload 6
iconst_0
invokestatic javax.swing.plaf.metal.MetalUtils.drawButtonBorder:(Ljava/awt/Graphics;IIIIZ)V
end local 10 end local 9 22: goto 24
23: StackMap locals:
StackMap stack:
aload 2
iload 3
iload 4
iload 5
iconst_1
isub
iload 6
iconst_1
isub
invokestatic javax.swing.plaf.metal.MetalUtils.drawDisabledBorder:(Ljava/awt/Graphics;IIII)V
24: StackMap locals:
StackMap stack:
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 25 0 this Ljavax/swing/plaf/metal/MetalBorders$ButtonBorder;
0 25 1 c Ljava/awt/Component;
0 25 2 g Ljava/awt/Graphics;
0 25 3 x I
0 25 4 y I
0 25 5 w I
0 25 6 h I
4 25 7 button Ljavax/swing/AbstractButton;
5 25 8 model Ljavax/swing/ButtonModel;
9 22 9 isPressed Z
12 22 10 isDefault Z
MethodParameters:
Name Flags
c
g
x
y
w
h
private void paintOceanBorder(java.awt.Component, java.awt.Graphics, int, int, int, int);
descriptor: (Ljava/awt/Component;Ljava/awt/Graphics;IIII)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=10, 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: aload 1
checkcast javax.swing.AbstractButton
astore 7
start local 7 1: aload 1
checkcast javax.swing.AbstractButton
invokevirtual javax.swing.AbstractButton.getModel:()Ljavax/swing/ButtonModel;
astore 8
start local 8 2: aload 2
iload 3
iload 4
invokevirtual java.awt.Graphics.translate:(II)V
3: aload 7
invokestatic javax.swing.plaf.metal.MetalUtils.isToolBarButton:(Ljavax/swing/JComponent;)Z
ifeq 32
4: aload 8
invokeinterface javax.swing.ButtonModel.isEnabled:()Z
ifeq 27
5: aload 8
invokeinterface javax.swing.ButtonModel.isPressed:()Z
ifeq 13
6: aload 2
invokestatic javax.swing.plaf.metal.MetalLookAndFeel.getWhite:()Ljavax/swing/plaf/ColorUIResource;
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
7: aload 2
iconst_1
iload 6
iconst_1
isub
iload 5
iconst_1
isub
iconst_1
invokevirtual java.awt.Graphics.fillRect:(IIII)V
8: aload 2
iload 5
iconst_1
isub
iconst_1
iconst_1
iload 6
iconst_1
isub
invokevirtual java.awt.Graphics.fillRect:(IIII)V
9: aload 2
invokestatic javax.swing.plaf.metal.MetalLookAndFeel.getControlDarkShadow:()Ljavax/swing/plaf/ColorUIResource;
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
10: aload 2
iconst_0
iconst_0
iload 5
iconst_2
isub
iload 6
iconst_2
isub
invokevirtual java.awt.Graphics.drawRect:(IIII)V
11: aload 2
iconst_1
iconst_1
iload 5
iconst_3
isub
iconst_1
invokevirtual java.awt.Graphics.fillRect:(IIII)V
12: goto 63
13: StackMap locals: javax.swing.AbstractButton javax.swing.ButtonModel
StackMap stack:
aload 8
invokeinterface javax.swing.ButtonModel.isSelected:()Z
ifne 14
aload 8
invokeinterface javax.swing.ButtonModel.isRollover:()Z
ifeq 20
14: StackMap locals:
StackMap stack:
aload 2
invokestatic javax.swing.plaf.metal.MetalLookAndFeel.getWhite:()Ljavax/swing/plaf/ColorUIResource;
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
15: aload 2
iconst_1
iload 6
iconst_1
isub
iload 5
iconst_1
isub
iconst_1
invokevirtual java.awt.Graphics.fillRect:(IIII)V
16: aload 2
iload 5
iconst_1
isub
iconst_1
iconst_1
iload 6
iconst_1
isub
invokevirtual java.awt.Graphics.fillRect:(IIII)V
17: aload 2
invokestatic javax.swing.plaf.metal.MetalLookAndFeel.getControlDarkShadow:()Ljavax/swing/plaf/ColorUIResource;
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
18: aload 2
iconst_0
iconst_0
iload 5
iconst_2
isub
iload 6
iconst_2
isub
invokevirtual java.awt.Graphics.drawRect:(IIII)V
19: goto 63
20: StackMap locals:
StackMap stack:
aload 2
invokestatic javax.swing.plaf.metal.MetalLookAndFeel.getWhite:()Ljavax/swing/plaf/ColorUIResource;
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
21: aload 2
iconst_1
iconst_1
iload 5
iconst_2
isub
iload 6
iconst_2
isub
invokevirtual java.awt.Graphics.drawRect:(IIII)V
22: aload 2
23: ldc "Button.toolBarBorderBackground"
24: invokestatic javax.swing.UIManager.getColor:(Ljava/lang/Object;)Ljava/awt/Color;
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
25: aload 2
iconst_0
iconst_0
iload 5
iconst_2
isub
iload 6
iconst_2
isub
invokevirtual java.awt.Graphics.drawRect:(IIII)V
26: goto 63
27: StackMap locals:
StackMap stack:
aload 2
28: ldc "Button.disabledToolBarBorderBackground"
29: invokestatic javax.swing.UIManager.getColor:(Ljava/lang/Object;)Ljava/awt/Color;
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
30: aload 2
iconst_0
iconst_0
iload 5
iconst_2
isub
iload 6
iconst_2
isub
invokevirtual java.awt.Graphics.drawRect:(IIII)V
31: goto 63
32: StackMap locals:
StackMap stack:
aload 8
invokeinterface javax.swing.ButtonModel.isEnabled:()Z
ifeq 59
33: aload 8
invokeinterface javax.swing.ButtonModel.isPressed:()Z
istore 9
start local 9 34: aload 8
invokeinterface javax.swing.ButtonModel.isArmed:()Z
pop
35: aload 1
instanceof javax.swing.JButton
ifeq 40
aload 1
checkcast javax.swing.JButton
invokevirtual javax.swing.JButton.isDefaultButton:()Z
ifeq 40
36: aload 2
invokestatic javax.swing.plaf.metal.MetalLookAndFeel.getControlDarkShadow:()Ljavax/swing/plaf/ColorUIResource;
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
37: aload 2
iconst_0
iconst_0
iload 5
iconst_1
isub
iload 6
iconst_1
isub
invokevirtual java.awt.Graphics.drawRect:(IIII)V
38: aload 2
iconst_1
iconst_1
iload 5
iconst_3
isub
iload 6
iconst_3
isub
invokevirtual java.awt.Graphics.drawRect:(IIII)V
39: goto 63
40: StackMap locals: int
StackMap stack:
iload 9
ifeq 47
41: aload 2
invokestatic javax.swing.plaf.metal.MetalLookAndFeel.getControlDarkShadow:()Ljavax/swing/plaf/ColorUIResource;
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
42: aload 2
iconst_0
iconst_0
iload 5
iconst_2
invokevirtual java.awt.Graphics.fillRect:(IIII)V
43: aload 2
iconst_0
iconst_2
iconst_2
iload 6
iconst_2
isub
invokevirtual java.awt.Graphics.fillRect:(IIII)V
44: aload 2
iload 5
iconst_1
isub
iconst_1
iconst_1
iload 6
iconst_1
isub
invokevirtual java.awt.Graphics.fillRect:(IIII)V
45: aload 2
iconst_1
iload 6
iconst_1
isub
iload 5
iconst_2
isub
iconst_1
invokevirtual java.awt.Graphics.fillRect:(IIII)V
46: goto 63
47: StackMap locals:
StackMap stack:
aload 8
invokeinterface javax.swing.ButtonModel.isRollover:()Z
ifeq 56
aload 7
48: getstatic javax.swing.plaf.metal.MetalBorders.NO_BUTTON_ROLLOVER:Ljava/lang/Object;
49: invokevirtual javax.swing.AbstractButton.getClientProperty:(Ljava/lang/Object;)Ljava/lang/Object;
ifnonnull 56
50: aload 2
invokestatic javax.swing.plaf.metal.MetalLookAndFeel.getPrimaryControl:()Ljavax/swing/plaf/ColorUIResource;
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
51: aload 2
iconst_0
iconst_0
iload 5
iconst_1
isub
iload 6
iconst_1
isub
invokevirtual java.awt.Graphics.drawRect:(IIII)V
52: aload 2
iconst_2
iconst_2
iload 5
iconst_5
isub
iload 6
iconst_5
isub
invokevirtual java.awt.Graphics.drawRect:(IIII)V
53: aload 2
invokestatic javax.swing.plaf.metal.MetalLookAndFeel.getControlDarkShadow:()Ljavax/swing/plaf/ColorUIResource;
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
54: aload 2
iconst_1
iconst_1
iload 5
iconst_3
isub
iload 6
iconst_3
isub
invokevirtual java.awt.Graphics.drawRect:(IIII)V
55: goto 63
56: StackMap locals:
StackMap stack:
aload 2
invokestatic javax.swing.plaf.metal.MetalLookAndFeel.getControlDarkShadow:()Ljavax/swing/plaf/ColorUIResource;
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
57: aload 2
iconst_0
iconst_0
iload 5
iconst_1
isub
iload 6
iconst_1
isub
invokevirtual java.awt.Graphics.drawRect:(IIII)V
end local 9 58: goto 63
59: StackMap locals:
StackMap stack:
aload 2
invokestatic javax.swing.plaf.metal.MetalLookAndFeel.getInactiveControlTextColor:()Ljavax/swing/plaf/ColorUIResource;
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
60: aload 2
iconst_0
iconst_0
iload 5
iconst_1
isub
iload 6
iconst_1
isub
invokevirtual java.awt.Graphics.drawRect:(IIII)V
61: aload 1
instanceof javax.swing.JButton
ifeq 63
aload 1
checkcast javax.swing.JButton
invokevirtual javax.swing.JButton.isDefaultButton:()Z
ifeq 63
62: aload 2
iconst_1
iconst_1
iload 5
iconst_3
isub
iload 6
iconst_3
isub
invokevirtual java.awt.Graphics.drawRect:(IIII)V
63: StackMap locals:
StackMap stack:
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 64 0 this Ljavax/swing/plaf/metal/MetalBorders$ButtonBorder;
0 64 1 c Ljava/awt/Component;
0 64 2 g Ljava/awt/Graphics;
0 64 3 x I
0 64 4 y I
0 64 5 w I
0 64 6 h I
1 64 7 button Ljavax/swing/AbstractButton;
2 64 8 model Ljavax/swing/ButtonModel;
34 58 9 pressed Z
MethodParameters:
Name Flags
c
g
x
y
w
h
public java.awt.Insets getBorderInsets(java.awt.Component);
descriptor: (Ljava/awt/Component;)Ljava/awt/Insets;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=2, args_size=2
start local 0 start local 1 0: new java.awt.Insets
dup
iconst_3
iconst_3
iconst_3
iconst_3
invokespecial java.awt.Insets.<init>:(IIII)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/plaf/metal/MetalBorders$ButtonBorder;
0 1 1 c Ljava/awt/Component;
MethodParameters:
Name Flags
c
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=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 2
iconst_3
putfield java.awt.Insets.top:I
1: aload 2
iconst_3
putfield java.awt.Insets.left:I
2: aload 2
iconst_3
putfield java.awt.Insets.bottom:I
3: aload 2
iconst_3
putfield java.awt.Insets.right:I
4: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljavax/swing/plaf/metal/MetalBorders$ButtonBorder;
0 5 1 c Ljava/awt/Component;
0 5 2 newInsets Ljava/awt/Insets;
MethodParameters:
Name Flags
c
newInsets
}
SourceFile: "MetalBorders.java"
NestHost: javax.swing.plaf.metal.MetalBorders
InnerClasses:
public ButtonBorder = javax.swing.plaf.metal.MetalBorders$ButtonBorder of javax.swing.plaf.metal.MetalBorders