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: aload 1
instanceof javax.swing.AbstractButton
ifne 2
1: return
2: StackMap locals:
StackMap stack:
invokestatic javax.swing.plaf.metal.MetalLookAndFeel.usingOcean:()Z
ifeq 5
3: 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
4: return
5: StackMap locals:
StackMap stack:
aload 1
checkcast javax.swing.AbstractButton
astore 7
start local 7 6: aload 7
invokevirtual javax.swing.AbstractButton.getModel:()Ljavax/swing/ButtonModel;
astore 8
start local 8 7: aload 8
invokeinterface javax.swing.ButtonModel.isEnabled:()Z
ifeq 25
8: aload 8
invokeinterface javax.swing.ButtonModel.isPressed:()Z
ifeq 9
aload 8
invokeinterface javax.swing.ButtonModel.isArmed:()Z
ifeq 9
iconst_1
goto 10
StackMap locals: javax.swing.AbstractButton javax.swing.ButtonModel
StackMap stack:
9: iconst_0
StackMap locals:
StackMap stack: int
10: istore 9
start local 9 11: aload 7
instanceof javax.swing.JButton
ifeq 12
aload 7
checkcast javax.swing.JButton
invokevirtual javax.swing.JButton.isDefaultButton:()Z
ifeq 12
iconst_1
goto 13
StackMap locals: int
StackMap stack:
12: iconst_0
StackMap locals:
StackMap stack: int
13: istore 10
start local 10 14: iload 9
ifeq 17
iload 10
ifeq 17
15: aload 2
iload 3
iload 4
iload 5
iload 6
invokestatic javax.swing.plaf.metal.MetalUtils.drawDefaultButtonPressedBorder:(Ljava/awt/Graphics;IIII)V
16: goto 26
StackMap locals: int
StackMap stack:
17: iload 9
ifeq 20
18: aload 2
iload 3
iload 4
iload 5
iload 6
invokestatic javax.swing.plaf.metal.MetalUtils.drawPressed3DBorder:(Ljava/awt/Graphics;IIII)V
19: goto 26
StackMap locals:
StackMap stack:
20: iload 10
ifeq 23
21: aload 2
iload 3
iload 4
iload 5
iload 6
iconst_0
invokestatic javax.swing.plaf.metal.MetalUtils.drawDefaultButtonBorder:(Ljava/awt/Graphics;IIIIZ)V
22: goto 26
23: 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 24: goto 26
25: 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
26: 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 27 0 this Ljavax/swing/plaf/metal/MetalBorders$ButtonBorder;
0 27 1 c Ljava/awt/Component;
0 27 2 g Ljava/awt/Graphics;
0 27 3 x I
0 27 4 y I
0 27 5 w I
0 27 6 h I
6 27 7 button Ljavax/swing/AbstractButton;
7 27 8 model Ljavax/swing/ButtonModel;
11 24 9 isPressed Z
14 24 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, 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_3
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/metal/MetalBorders$ButtonBorder;
0 2 1 c Ljava/awt/Component;
0 2 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