public class javax.swing.plaf.metal.MetalCheckBoxIcon implements javax.swing.Icon, javax.swing.plaf.UIResource, java.io.Serializable
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: javax.swing.plaf.metal.MetalCheckBoxIcon
super_class: java.lang.Object
{
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/plaf/metal/MetalCheckBoxIcon;
protected int getControlSize();
descriptor: ()I
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: bipush 13
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/plaf/metal/MetalCheckBoxIcon;
public void paintIcon(java.awt.Component, java.awt.Graphics, int, int);
descriptor: (Ljava/awt/Component;Ljava/awt/Graphics;II)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=9, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 1
checkcast javax.swing.JCheckBox
astore 5
start local 5 1: aload 5
invokevirtual javax.swing.JCheckBox.getModel:()Ljavax/swing/ButtonModel;
astore 6
start local 6 2: aload 0
invokevirtual javax.swing.plaf.metal.MetalCheckBoxIcon.getControlSize:()I
istore 7
start local 7 3: aload 6
invokeinterface javax.swing.ButtonModel.isSelected:()Z
istore 8
start local 8 4: aload 6
invokeinterface javax.swing.ButtonModel.isEnabled:()Z
ifeq 21
5: aload 5
invokevirtual javax.swing.JCheckBox.isBorderPaintedFlat:()Z
ifeq 8
6: aload 2
invokestatic javax.swing.plaf.metal.MetalLookAndFeel.getControlDarkShadow:()Ljavax/swing/plaf/ColorUIResource;
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
7: aload 2
iload 3
iconst_1
iadd
iload 4
iload 7
iconst_1
isub
iload 7
iconst_1
isub
invokevirtual java.awt.Graphics.drawRect:(IIII)V
8: StackMap locals: javax.swing.plaf.metal.MetalCheckBoxIcon java.awt.Component java.awt.Graphics int int javax.swing.JCheckBox javax.swing.ButtonModel int int
StackMap stack:
aload 6
invokeinterface javax.swing.ButtonModel.isPressed:()Z
ifeq 17
aload 6
invokeinterface javax.swing.ButtonModel.isArmed:()Z
ifeq 17
9: aload 5
invokevirtual javax.swing.JCheckBox.isBorderPaintedFlat:()Z
ifeq 13
10: aload 2
invokestatic javax.swing.plaf.metal.MetalLookAndFeel.getControlShadow:()Ljavax/swing/plaf/ColorUIResource;
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
11: aload 2
iload 3
iconst_2
iadd
iload 4
iconst_1
iadd
iload 7
iconst_2
isub
iload 7
iconst_2
isub
invokevirtual java.awt.Graphics.fillRect:(IIII)V
12: goto 19
13: StackMap locals:
StackMap stack:
aload 2
invokestatic javax.swing.plaf.metal.MetalLookAndFeel.getControlShadow:()Ljavax/swing/plaf/ColorUIResource;
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
14: aload 2
iload 3
iload 4
iload 7
iconst_1
isub
iload 7
iconst_1
isub
invokevirtual java.awt.Graphics.fillRect:(IIII)V
15: aload 2
iload 3
iload 4
iload 7
iload 7
invokestatic javax.swing.plaf.metal.MetalUtils.drawPressed3DBorder:(Ljava/awt/Graphics;IIII)V
16: goto 19
StackMap locals:
StackMap stack:
17: aload 5
invokevirtual javax.swing.JCheckBox.isBorderPaintedFlat:()Z
ifne 19
18: aload 2
iload 3
iload 4
iload 7
iload 7
invokestatic javax.swing.plaf.metal.MetalUtils.drawFlush3DBorder:(Ljava/awt/Graphics;IIII)V
19: StackMap locals:
StackMap stack:
aload 2
invokestatic javax.swing.plaf.metal.MetalLookAndFeel.getControlInfo:()Ljavax/swing/plaf/ColorUIResource;
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
20: goto 23
21: StackMap locals:
StackMap stack:
aload 2
invokestatic javax.swing.plaf.metal.MetalLookAndFeel.getControlShadow:()Ljavax/swing/plaf/ColorUIResource;
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
22: aload 2
iload 3
iload 4
iload 7
iconst_1
isub
iload 7
iconst_1
isub
invokevirtual java.awt.Graphics.drawRect:(IIII)V
23: StackMap locals:
StackMap stack:
iload 8
ifeq 27
24: aload 5
invokevirtual javax.swing.JCheckBox.isBorderPaintedFlat:()Z
ifeq 26
25: iinc 3 1
26: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
iload 3
iload 4
invokevirtual javax.swing.plaf.metal.MetalCheckBoxIcon.drawCheck:(Ljava/awt/Component;Ljava/awt/Graphics;II)V
27: 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 28 0 this Ljavax/swing/plaf/metal/MetalCheckBoxIcon;
0 28 1 c Ljava/awt/Component;
0 28 2 g Ljava/awt/Graphics;
0 28 3 x I
0 28 4 y I
1 28 5 cb Ljavax/swing/JCheckBox;
2 28 6 model Ljavax/swing/ButtonModel;
3 28 7 controlSize I
4 28 8 drawCheck Z
MethodParameters:
Name Flags
c
g
x
y
protected void drawCheck(java.awt.Component, java.awt.Graphics, int, int);
descriptor: (Ljava/awt/Component;Ljava/awt/Graphics;II)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=7, locals=6, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
invokevirtual javax.swing.plaf.metal.MetalCheckBoxIcon.getControlSize:()I
istore 5
start local 5 1: aload 2
iload 3
iconst_3
iadd
iload 4
iconst_5
iadd
iconst_2
iload 5
bipush 8
isub
invokevirtual java.awt.Graphics.fillRect:(IIII)V
2: aload 2
iload 3
iload 5
iconst_4
isub
iadd
iload 4
iconst_3
iadd
iload 3
iconst_5
iadd
iload 4
iload 5
bipush 6
isub
iadd
invokevirtual java.awt.Graphics.drawLine:(IIII)V
3: aload 2
iload 3
iload 5
iconst_4
isub
iadd
iload 4
iconst_4
iadd
iload 3
iconst_5
iadd
iload 4
iload 5
iconst_5
isub
iadd
invokevirtual java.awt.Graphics.drawLine:(IIII)V
4: 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/metal/MetalCheckBoxIcon;
0 5 1 c Ljava/awt/Component;
0 5 2 g Ljava/awt/Graphics;
0 5 3 x I
0 5 4 y I
1 5 5 controlSize I
MethodParameters:
Name Flags
c
g
x
y
public int getIconWidth();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual javax.swing.plaf.metal.MetalCheckBoxIcon.getControlSize:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/plaf/metal/MetalCheckBoxIcon;
public int getIconHeight();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual javax.swing.plaf.metal.MetalCheckBoxIcon.getControlSize:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/plaf/metal/MetalCheckBoxIcon;
}
SourceFile: "MetalCheckBoxIcon.java"