class sun.awt.windows.WButtonPeer extends sun.awt.windows.WComponentPeer implements java.awt.peer.ButtonPeer
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: sun.awt.windows.WButtonPeer
super_class: sun.awt.windows.WComponentPeer
{
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=0, locals=0, args_size=0
0: invokestatic sun.awt.windows.WButtonPeer.initIDs:()V
1: return
LocalVariableTable:
Start End Slot Name Signature
public java.awt.Dimension getMinimumSize();
descriptor: ()Ljava/awt/Dimension;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=1
start local 0 0: aload 0
aload 0
getfield sun.awt.windows.WButtonPeer.target:Ljava/lang/Object;
checkcast java.awt.Button
invokevirtual java.awt.Button.getFont:()Ljava/awt/Font;
invokevirtual sun.awt.windows.WButtonPeer.getFontMetrics:(Ljava/awt/Font;)Ljava/awt/FontMetrics;
astore 1
start local 1 1: aload 0
getfield sun.awt.windows.WButtonPeer.target:Ljava/lang/Object;
checkcast java.awt.Button
invokevirtual java.awt.Button.getLabel:()Ljava/lang/String;
astore 2
start local 2 2: aload 2
ifnonnull 4
3: ldc ""
astore 2
4: StackMap locals: java.awt.FontMetrics java.lang.String
StackMap stack:
new java.awt.Dimension
dup
aload 1
aload 2
invokevirtual java.awt.FontMetrics.stringWidth:(Ljava/lang/String;)I
bipush 14
iadd
5: aload 1
invokevirtual java.awt.FontMetrics.getHeight:()I
bipush 8
iadd
6: invokespecial java.awt.Dimension.<init>:(II)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/awt/windows/WButtonPeer;
1 7 1 fm Ljava/awt/FontMetrics;
2 7 2 label Ljava/lang/String;
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/WButtonPeer;
public native void setLabel(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0101) ACC_PUBLIC, ACC_NATIVE
MethodParameters:
Name Flags
label
void <init>(java.awt.Button);
descriptor: (Ljava/awt/Button;)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/WButtonPeer;
0 2 1 target Ljava/awt/Button;
MethodParameters:
Name Flags
target
native void create(sun.awt.windows.WComponentPeer);
descriptor: (Lsun/awt/windows/WComponentPeer;)V
flags: (0x0100) ACC_NATIVE
MethodParameters:
Name Flags
peer
public void handleAction(long, int);
descriptor: (JI)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=4, args_size=3
start local 0 start local 1 start local 3 0: aload 0
getfield sun.awt.windows.WButtonPeer.target:Ljava/lang/Object;
new sun.awt.windows.WButtonPeer$1
dup
aload 0
lload 1
iload 3
invokespecial sun.awt.windows.WButtonPeer$1.<init>:(Lsun/awt/windows/WButtonPeer;JI)V
1: lload 1
2: invokestatic sun.awt.windows.WToolkit.executeOnEventHandlerThread:(Ljava/lang/Object;Ljava/lang/Runnable;J)V
3: return
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/awt/windows/WButtonPeer;
0 4 1 when J
0 4 3 modifiers I
MethodParameters:
Name Flags
when final
modifiers final
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/WButtonPeer;
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.WButtonPeer.getMinimumSize:()Ljava/awt/Dimension;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/windows/WButtonPeer;
private static native void initIDs();
descriptor: ()V
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
public boolean handleJavaKeyEvent(java.awt.event.KeyEvent);
descriptor: (Ljava/awt/event/KeyEvent;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.awt.event.KeyEvent.getID:()I
tableswitch { // 402 - 402
402: 1
default: 3
}
1: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.awt.event.KeyEvent.getKeyCode:()I
bipush 32
if_icmpne 3
2: aload 0
aload 1
invokevirtual java.awt.event.KeyEvent.getWhen:()J
aload 1
invokevirtual java.awt.event.KeyEvent.getModifiers:()I
invokevirtual sun.awt.windows.WButtonPeer.handleAction:(JI)V
3: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/awt/windows/WButtonPeer;
0 4 1 e Ljava/awt/event/KeyEvent;
MethodParameters:
Name Flags
e
}
SourceFile: "WButtonPeer.java"
NestMembers:
sun.awt.windows.WButtonPeer$1
InnerClasses:
sun.awt.windows.WButtonPeer$1