final class sun.lwawt.LWButtonPeer extends sun.lwawt.LWComponentPeer<java.awt.Button, javax.swing.JButton> implements java.awt.peer.ButtonPeer, java.awt.event.ActionListener
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: sun.lwawt.LWButtonPeer
super_class: sun.lwawt.LWComponentPeer
{
void <init>(java.awt.Button, sun.lwawt.PlatformComponent);
descriptor: (Ljava/awt/Button;Lsun/lwawt/PlatformComponent;)V
flags: (0x0000)
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokespecial sun.lwawt.LWComponentPeer.<init>:(Ljava/awt/Component;Lsun/lwawt/PlatformComponent;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/lwawt/LWButtonPeer;
0 2 1 target Ljava/awt/Button;
0 2 2 platformComponent Lsun/lwawt/PlatformComponent;
MethodParameters:
Name Flags
target final
platformComponent final
javax.swing.JButton createDelegate();
descriptor: ()Ljavax/swing/JButton;
flags: (0x0000)
Code:
stack=3, locals=1, args_size=1
start local 0 0: new sun.lwawt.LWButtonPeer$JButtonDelegate
dup
aload 0
invokespecial sun.lwawt.LWButtonPeer$JButtonDelegate.<init>:(Lsun/lwawt/LWButtonPeer;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/lwawt/LWButtonPeer;
void initializeImpl();
descriptor: ()V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokespecial sun.lwawt.LWComponentPeer.initializeImpl:()V
1: aload 0
aload 0
invokevirtual sun.lwawt.LWButtonPeer.getTarget:()Ljava/awt/Component;
checkcast java.awt.Button
invokevirtual java.awt.Button.getLabel:()Ljava/lang/String;
invokevirtual sun.lwawt.LWButtonPeer.setLabel:(Ljava/lang/String;)V
2: aload 0
invokevirtual sun.lwawt.LWButtonPeer.getDelegateLock:()Ljava/lang/Object;
dup
astore 1
monitorenter
3: aload 0
invokevirtual sun.lwawt.LWButtonPeer.getDelegate:()Ljavax/swing/JComponent;
checkcast javax.swing.JButton
aload 0
invokevirtual javax.swing.JButton.addActionListener:(Ljava/awt/event/ActionListener;)V
4: aload 1
monitorexit
5: goto 8
StackMap locals: sun.lwawt.LWButtonPeer java.lang.Object
StackMap stack: java.lang.Throwable
6: aload 1
monitorexit
7: athrow
8: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lsun/lwawt/LWButtonPeer;
Exception table:
from to target type
3 5 6 any
6 7 6 any
public void actionPerformed(java.awt.event.ActionEvent);
descriptor: (Ljava/awt/event/ActionEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=9, locals=2, args_size=2
start local 0 start local 1 0: aload 0
new java.awt.event.ActionEvent
dup
aload 0
invokevirtual sun.lwawt.LWButtonPeer.getTarget:()Ljava/awt/Component;
sipush 1001
1: aload 0
invokevirtual sun.lwawt.LWButtonPeer.getTarget:()Ljava/awt/Component;
checkcast java.awt.Button
invokevirtual java.awt.Button.getActionCommand:()Ljava/lang/String;
aload 1
invokevirtual java.awt.event.ActionEvent.getWhen:()J
2: aload 1
invokevirtual java.awt.event.ActionEvent.getModifiers:()I
invokespecial java.awt.event.ActionEvent.<init>:(Ljava/lang/Object;ILjava/lang/String;JI)V
3: invokevirtual sun.lwawt.LWButtonPeer.postEvent:(Ljava/awt/AWTEvent;)V
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/lwawt/LWButtonPeer;
0 5 1 e Ljava/awt/event/ActionEvent;
MethodParameters:
Name Flags
e final
public void setLabel(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual sun.lwawt.LWButtonPeer.getDelegateLock:()Ljava/lang/Object;
dup
astore 2
monitorenter
1: aload 0
invokevirtual sun.lwawt.LWButtonPeer.getDelegate:()Ljavax/swing/JComponent;
checkcast javax.swing.JButton
aload 1
invokevirtual javax.swing.JButton.setText:(Ljava/lang/String;)V
2: aload 2
monitorexit
3: goto 6
StackMap locals: sun.lwawt.LWButtonPeer java.lang.String java.lang.Object
StackMap stack: java.lang.Throwable
4: aload 2
monitorexit
5: athrow
6: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/lwawt/LWButtonPeer;
0 7 1 label Ljava/lang/String;
Exception table:
from to target type
1 3 4 any
4 5 4 any
MethodParameters:
Name Flags
label final
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/lwawt/LWButtonPeer;
javax.swing.JComponent createDelegate();
descriptor: ()Ljavax/swing/JComponent;
flags: (0x1040) ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokevirtual sun.lwawt.LWButtonPeer.createDelegate:()Ljavax/swing/JButton;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Lsun/lwawt/LWComponentPeer<Ljava/awt/Button;Ljavax/swing/JButton;>;Ljava/awt/peer/ButtonPeer;Ljava/awt/event/ActionListener;
SourceFile: "LWButtonPeer.java"
NestMembers:
sun.lwawt.LWButtonPeer$JButtonDelegate
InnerClasses:
private final JButtonDelegate = sun.lwawt.LWButtonPeer$JButtonDelegate of sun.lwawt.LWButtonPeer