public class sun.awt.windows.WCheckboxPeer extends sun.awt.windows.WComponentPeer implements java.awt.peer.CheckboxPeer
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.awt.windows.WCheckboxPeer
super_class: sun.awt.windows.WComponentPeer
{
public native void setState(boolean);
descriptor: (Z)V
flags: (0x0101) ACC_PUBLIC, ACC_NATIVE
MethodParameters:
Name Flags
state
public native void setCheckboxGroup(java.awt.CheckboxGroup);
descriptor: (Ljava/awt/CheckboxGroup;)V
flags: (0x0101) ACC_PUBLIC, ACC_NATIVE
MethodParameters:
Name Flags
g
public native void setLabel(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0101) ACC_PUBLIC, ACC_NATIVE
MethodParameters:
Name Flags
label
private static native int getCheckMarkSize();
descriptor: ()I
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
public java.awt.Dimension getMinimumSize();
descriptor: ()Ljava/awt/Dimension;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=1
start local 0 0: aload 0
getfield sun.awt.windows.WCheckboxPeer.target:Ljava/lang/Object;
checkcast java.awt.Checkbox
invokevirtual java.awt.Checkbox.getLabel:()Ljava/lang/String;
astore 1
start local 1 1: invokestatic sun.awt.windows.WCheckboxPeer.getCheckMarkSize:()I
istore 2
start local 2 2: aload 1
ifnonnull 4
3: ldc ""
astore 1
4: StackMap locals: java.lang.String int
StackMap stack:
aload 0
aload 0
getfield sun.awt.windows.WCheckboxPeer.target:Ljava/lang/Object;
checkcast java.awt.Checkbox
invokevirtual java.awt.Checkbox.getFont:()Ljava/awt/Font;
invokevirtual sun.awt.windows.WCheckboxPeer.getFontMetrics:(Ljava/awt/Font;)Ljava/awt/FontMetrics;
astore 3
start local 3 5: new java.awt.Dimension
dup
aload 3
aload 1
invokevirtual java.awt.FontMetrics.stringWidth:(Ljava/lang/String;)I
iload 2
iconst_2
idiv
iadd
iload 2
iadd
6: aload 3
invokevirtual java.awt.FontMetrics.getHeight:()I
bipush 8
iadd
iload 2
invokestatic java.lang.Math.max:(II)I
7: invokespecial java.awt.Dimension.<init>:(II)V
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lsun/awt/windows/WCheckboxPeer;
1 8 1 lbl Ljava/lang/String;
2 8 2 marksize I
5 8 3 fm Ljava/awt/FontMetrics;
public boolean isFocusable();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/windows/WCheckboxPeer;
void <init>(java.awt.Checkbox);
descriptor: (Ljava/awt/Checkbox;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial sun.awt.windows.WComponentPeer.<init>:(Ljava/awt/Component;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/awt/windows/WCheckboxPeer;
0 2 1 target Ljava/awt/Checkbox;
MethodParameters:
Name Flags
target
native void create(sun.awt.windows.WComponentPeer);
descriptor: (Lsun/awt/windows/WComponentPeer;)V
flags: (0x0100) ACC_NATIVE
MethodParameters:
Name Flags
parent
void initialize();
descriptor: ()V
flags: (0x0000)
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
getfield sun.awt.windows.WCheckboxPeer.target:Ljava/lang/Object;
checkcast java.awt.Checkbox
astore 1
start local 1 1: aload 0
aload 1
invokevirtual java.awt.Checkbox.getState:()Z
invokevirtual sun.awt.windows.WCheckboxPeer.setState:(Z)V
2: aload 0
aload 1
invokevirtual java.awt.Checkbox.getCheckboxGroup:()Ljava/awt/CheckboxGroup;
invokevirtual sun.awt.windows.WCheckboxPeer.setCheckboxGroup:(Ljava/awt/CheckboxGroup;)V
3: aload 0
getfield sun.awt.windows.WCheckboxPeer.target:Ljava/lang/Object;
checkcast java.awt.Component
invokevirtual java.awt.Component.getBackground:()Ljava/awt/Color;
astore 2
start local 2 4: aload 2
ifnull 6
5: aload 0
aload 2
invokevirtual sun.awt.windows.WCheckboxPeer.setBackground:(Ljava/awt/Color;)V
6: StackMap locals: java.awt.Checkbox java.awt.Color
StackMap stack:
aload 0
invokespecial sun.awt.windows.WComponentPeer.initialize:()V
7: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lsun/awt/windows/WCheckboxPeer;
1 8 1 t Ljava/awt/Checkbox;
4 8 2 bg Ljava/awt/Color;
public boolean shouldClearRectBeforePaint();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/windows/WCheckboxPeer;
void handleAction(boolean);
descriptor: (Z)V
flags: (0x0000)
Code:
stack=6, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.awt.windows.WCheckboxPeer.target:Ljava/lang/Object;
checkcast java.awt.Checkbox
astore 2
start local 2 1: aload 2
new sun.awt.windows.WCheckboxPeer$1
dup
aload 0
aload 2
iload 1
invokespecial sun.awt.windows.WCheckboxPeer$1.<init>:(Lsun/awt/windows/WCheckboxPeer;Ljava/awt/Checkbox;Z)V
invokestatic sun.awt.windows.WToolkit.executeOnEventHandlerThread:(Ljava/lang/Object;Ljava/lang/Runnable;)V
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/awt/windows/WCheckboxPeer;
0 3 1 state Z
1 3 2 cb Ljava/awt/Checkbox;
MethodParameters:
Name Flags
state final
public java.awt.Dimension minimumSize();
descriptor: ()Ljava/awt/Dimension;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual sun.awt.windows.WCheckboxPeer.getMinimumSize:()Ljava/awt/Dimension;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/windows/WCheckboxPeer;
public long getData();
descriptor: ()J
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=1, args_size=1
0: aload 0
invokespecial sun.awt.windows.WComponentPeer.getData:()J
lreturn
LocalVariableTable:
Start End Slot Name Signature
public java.lang.Object getTarget();
descriptor: ()Ljava/lang/Object;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokespecial sun.awt.windows.WComponentPeer.getTarget:()Ljava/lang/Object;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "WCheckboxPeer.java"
NestMembers:
sun.awt.windows.WCheckboxPeer$1
InnerClasses:
sun.awt.windows.WCheckboxPeer$1