final class sun.lwawt.LWTextFieldPeer extends sun.lwawt.LWTextComponentPeer<java.awt.TextField, javax.swing.JPasswordField> implements java.awt.peer.TextFieldPeer, java.awt.event.ActionListener
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: sun.lwawt.LWTextFieldPeer
super_class: sun.lwawt.LWTextComponentPeer
{
void <init>(java.awt.TextField, sun.lwawt.PlatformComponent);
descriptor: (Ljava/awt/TextField;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.LWTextComponentPeer.<init>:(Ljava/awt/TextComponent;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/LWTextFieldPeer;
0 2 1 target Ljava/awt/TextField;
0 2 2 platformComponent Lsun/lwawt/PlatformComponent;
MethodParameters:
Name Flags
target final
platformComponent final
javax.swing.JPasswordField createDelegate();
descriptor: ()Ljavax/swing/JPasswordField;
flags: (0x0000)
Code:
stack=3, locals=1, args_size=1
start local 0 0: new sun.lwawt.LWTextFieldPeer$JPasswordFieldDelegate
dup
aload 0
invokespecial sun.lwawt.LWTextFieldPeer$JPasswordFieldDelegate.<init>:(Lsun/lwawt/LWTextFieldPeer;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/lwawt/LWTextFieldPeer;
void initializeImpl();
descriptor: ()V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokespecial sun.lwawt.LWTextComponentPeer.initializeImpl:()V
1: aload 0
aload 0
invokevirtual sun.lwawt.LWTextFieldPeer.getTarget:()Ljava/awt/Component;
checkcast java.awt.TextField
invokevirtual java.awt.TextField.getEchoChar:()C
invokevirtual sun.lwawt.LWTextFieldPeer.setEchoChar:(C)V
2: aload 0
invokevirtual sun.lwawt.LWTextFieldPeer.getDelegateLock:()Ljava/lang/Object;
dup
astore 1
monitorenter
3: aload 0
invokevirtual sun.lwawt.LWTextFieldPeer.getDelegate:()Ljavax/swing/JComponent;
checkcast javax.swing.JPasswordField
aload 0
invokevirtual javax.swing.JPasswordField.addActionListener:(Ljava/awt/event/ActionListener;)V
4: aload 1
monitorexit
5: goto 8
StackMap locals: sun.lwawt.LWTextFieldPeer 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/LWTextFieldPeer;
Exception table:
from to target type
3 5 6 any
6 7 6 any
public javax.swing.text.JTextComponent getTextComponent();
descriptor: ()Ljavax/swing/text/JTextComponent;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual sun.lwawt.LWTextFieldPeer.getDelegate:()Ljavax/swing/JComponent;
checkcast javax.swing.text.JTextComponent
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/lwawt/LWTextFieldPeer;
public void setEchoChar(char);
descriptor: (C)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=6, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual sun.lwawt.LWTextFieldPeer.getDelegateLock:()Ljava/lang/Object;
dup
astore 2
monitorenter
1: aload 0
invokevirtual sun.lwawt.LWTextFieldPeer.getDelegate:()Ljavax/swing/JComponent;
checkcast javax.swing.JPasswordField
iload 1
invokevirtual javax.swing.JPasswordField.setEchoChar:(C)V
2: iload 1
ifeq 6
3: iconst_0
istore 3
start local 3 4: ldc "PasswordField.focusInputMap"
astore 4
start local 4 5: goto 8
end local 4 end local 3 6: StackMap locals: java.lang.Object
StackMap stack:
iconst_1
istore 3
start local 3 7: ldc "TextField.focusInputMap"
astore 4
start local 4 8: StackMap locals: int java.lang.String
StackMap stack:
aload 0
invokevirtual sun.lwawt.LWTextFieldPeer.getDelegate:()Ljavax/swing/JComponent;
checkcast javax.swing.JPasswordField
ldc "JPasswordField.cutCopyAllowed"
iload 3
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
invokevirtual javax.swing.JPasswordField.putClientProperty:(Ljava/lang/Object;Ljava/lang/Object;)V
9: aload 4
invokestatic javax.swing.UIManager.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast javax.swing.InputMap
astore 5
start local 5 10: aload 0
invokevirtual sun.lwawt.LWTextFieldPeer.getDelegate:()Ljavax/swing/JComponent;
iconst_0
aload 5
invokestatic javax.swing.SwingUtilities.replaceUIInputMap:(Ljavax/swing/JComponent;ILjavax/swing/InputMap;)V
end local 5 end local 4 end local 3 11: aload 2
monitorexit
12: goto 15
StackMap locals: sun.lwawt.LWTextFieldPeer int java.lang.Object
StackMap stack: java.lang.Throwable
13: aload 2
monitorexit
14: athrow
15: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lsun/lwawt/LWTextFieldPeer;
0 16 1 echoChar C
4 6 3 cutCopyAllowed Z
7 11 3 cutCopyAllowed Z
5 6 4 focusInputMapKey Ljava/lang/String;
8 11 4 focusInputMapKey Ljava/lang/String;
10 11 5 inputMap Ljavax/swing/InputMap;
Exception table:
from to target type
1 12 13 any
13 14 13 any
MethodParameters:
Name Flags
echoChar final
public java.awt.Dimension getPreferredSize(int);
descriptor: (I)Ljava/awt/Dimension;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
invokevirtual sun.lwawt.LWTextFieldPeer.getMinimumSize:(I)Ljava/awt/Dimension;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/lwawt/LWTextFieldPeer;
0 1 1 columns I
MethodParameters:
Name Flags
columns final
public java.awt.Dimension getMinimumSize(int);
descriptor: (I)Ljava/awt/Dimension;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iconst_1
iload 1
invokevirtual sun.lwawt.LWTextFieldPeer.getMinimumSize:(II)Ljava/awt/Dimension;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/lwawt/LWTextFieldPeer;
0 1 1 columns I
MethodParameters:
Name Flags
columns final
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.LWTextFieldPeer.getTarget:()Ljava/awt/Component;
sipush 1001
1: aload 0
invokevirtual sun.lwawt.LWTextFieldPeer.getText:()Ljava/lang/String;
aload 1
invokevirtual java.awt.event.ActionEvent.getWhen:()J
aload 1
invokevirtual java.awt.event.ActionEvent.getModifiers:()I
invokespecial java.awt.event.ActionEvent.<init>:(Ljava/lang/Object;ILjava/lang/String;JI)V
2: invokevirtual sun.lwawt.LWTextFieldPeer.postEvent:(Ljava/awt/AWTEvent;)V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/lwawt/LWTextFieldPeer;
0 4 1 e Ljava/awt/event/ActionEvent;
MethodParameters:
Name Flags
e final
void handleJavaFocusEvent(java.awt.event.FocusEvent);
descriptor: (Ljava/awt/event/FocusEvent;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.awt.event.FocusEvent.getID:()I
sipush 1005
if_icmpne 2
1: aload 0
iconst_0
invokevirtual sun.lwawt.LWTextFieldPeer.setCaretPosition:(I)V
2: StackMap locals:
StackMap stack:
aload 0
aload 1
invokespecial sun.lwawt.LWTextComponentPeer.handleJavaFocusEvent:(Ljava/awt/event/FocusEvent;)V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/lwawt/LWTextFieldPeer;
0 4 1 e Ljava/awt/event/FocusEvent;
MethodParameters:
Name Flags
e final
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.LWTextFieldPeer.createDelegate:()Ljavax/swing/JPasswordField;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Lsun/lwawt/LWTextComponentPeer<Ljava/awt/TextField;Ljavax/swing/JPasswordField;>;Ljava/awt/peer/TextFieldPeer;Ljava/awt/event/ActionListener;
SourceFile: "LWTextFieldPeer.java"
NestMembers:
sun.lwawt.LWTextFieldPeer$JPasswordFieldDelegate
InnerClasses:
private final JPasswordFieldDelegate = sun.lwawt.LWTextFieldPeer$JPasswordFieldDelegate of sun.lwawt.LWTextFieldPeer