class sun.awt.windows.WTextFieldPeer extends sun.awt.windows.WTextComponentPeer implements java.awt.peer.TextFieldPeer
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: sun.awt.windows.WTextFieldPeer
super_class: sun.awt.windows.WTextComponentPeer
{
public java.awt.Dimension getMinimumSize();
descriptor: ()Ljava/awt/Dimension;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: aload 0
aload 0
getfield sun.awt.windows.WTextFieldPeer.target:Ljava/lang/Object;
checkcast java.awt.TextField
invokevirtual java.awt.TextField.getFont:()Ljava/awt/Font;
invokevirtual sun.awt.windows.WTextFieldPeer.getFontMetrics:(Ljava/awt/Font;)Ljava/awt/FontMetrics;
astore 1
start local 1 1: new java.awt.Dimension
dup
aload 1
aload 0
invokevirtual sun.awt.windows.WTextFieldPeer.getText:()Ljava/lang/String;
invokevirtual java.awt.FontMetrics.stringWidth:(Ljava/lang/String;)I
bipush 24
iadd
2: aload 1
invokevirtual java.awt.FontMetrics.getHeight:()I
bipush 8
iadd
3: invokespecial java.awt.Dimension.<init>:(II)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/awt/windows/WTextFieldPeer;
1 4 1 fm Ljava/awt/FontMetrics;
public boolean handleJavaKeyEvent(java.awt.event.KeyEvent);
descriptor: (Ljava/awt/event/KeyEvent;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=9, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.awt.event.KeyEvent.getID:()I
tableswitch { // 400 - 400
400: 1
default: 6
}
1: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.awt.event.KeyEvent.getKeyChar:()C
bipush 10
if_icmpne 6
aload 1
invokevirtual java.awt.event.KeyEvent.isAltDown:()Z
ifne 6
aload 1
invokevirtual java.awt.event.KeyEvent.isControlDown:()Z
ifne 6
2: aload 0
new java.awt.event.ActionEvent
dup
aload 0
getfield sun.awt.windows.WTextFieldPeer.target:Ljava/lang/Object;
sipush 1001
3: aload 0
invokevirtual sun.awt.windows.WTextFieldPeer.getText:()Ljava/lang/String;
aload 1
invokevirtual java.awt.event.KeyEvent.getWhen:()J
aload 1
invokevirtual java.awt.event.KeyEvent.getModifiers:()I
invokespecial java.awt.event.ActionEvent.<init>:(Ljava/lang/Object;ILjava/lang/String;JI)V
4: invokevirtual sun.awt.windows.WTextFieldPeer.postEvent:(Ljava/awt/AWTEvent;)V
5: iconst_1
ireturn
6: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/awt/windows/WTextFieldPeer;
0 7 1 e Ljava/awt/event/KeyEvent;
MethodParameters:
Name Flags
e
public void setEchoChar(char);
descriptor: (C)V
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.awt.windows.WTextFieldPeer.setEchoCharacter:(C)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/awt/windows/WTextFieldPeer;
0 2 1 c C
MethodParameters:
Name Flags
c
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.awt.windows.WTextFieldPeer.getMinimumSize:(I)Ljava/awt/Dimension;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/windows/WTextFieldPeer;
0 1 1 cols I
MethodParameters:
Name Flags
cols
public java.awt.Dimension getMinimumSize(int);
descriptor: (I)Ljava/awt/Dimension;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 0
getfield sun.awt.windows.WTextFieldPeer.target:Ljava/lang/Object;
checkcast java.awt.TextField
invokevirtual java.awt.TextField.getFont:()Ljava/awt/Font;
invokevirtual sun.awt.windows.WTextFieldPeer.getFontMetrics:(Ljava/awt/Font;)Ljava/awt/FontMetrics;
astore 2
start local 2 1: new java.awt.Dimension
dup
aload 2
bipush 48
invokevirtual java.awt.FontMetrics.charWidth:(C)I
iload 1
imul
bipush 24
iadd
aload 2
invokevirtual java.awt.FontMetrics.getHeight:()I
bipush 8
iadd
invokespecial java.awt.Dimension.<init>:(II)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/awt/windows/WTextFieldPeer;
0 2 1 cols I
1 2 2 fm Ljava/awt/FontMetrics;
MethodParameters:
Name Flags
cols
public java.awt.im.InputMethodRequests getInputMethodRequests();
descriptor: ()Ljava/awt/im/InputMethodRequests;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/windows/WTextFieldPeer;
void <init>(java.awt.TextField);
descriptor: (Ljava/awt/TextField;)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.WTextComponentPeer.<init>:(Ljava/awt/TextComponent;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/awt/windows/WTextFieldPeer;
0 2 1 target Ljava/awt/TextField;
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=2, args_size=1
start local 0 0: aload 0
getfield sun.awt.windows.WTextFieldPeer.target:Ljava/lang/Object;
checkcast java.awt.TextField
astore 1
start local 1 1: aload 1
invokevirtual java.awt.TextField.echoCharIsSet:()Z
ifeq 3
2: aload 0
aload 1
invokevirtual java.awt.TextField.getEchoChar:()C
invokevirtual sun.awt.windows.WTextFieldPeer.setEchoChar:(C)V
3: StackMap locals: java.awt.TextField
StackMap stack:
aload 0
invokespecial sun.awt.windows.WTextComponentPeer.initialize:()V
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/awt/windows/WTextFieldPeer;
1 5 1 tf Ljava/awt/TextField;
public native void setEchoCharacter(char);
descriptor: (C)V
flags: (0x0101) ACC_PUBLIC, ACC_NATIVE
MethodParameters:
Name Flags
c
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.WTextFieldPeer.getMinimumSize:()Ljava/awt/Dimension;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/windows/WTextFieldPeer;
public java.awt.Dimension minimumSize(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.awt.windows.WTextFieldPeer.getMinimumSize:(I)Ljava/awt/Dimension;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/windows/WTextFieldPeer;
0 1 1 cols I
MethodParameters:
Name Flags
cols
public java.awt.Dimension preferredSize(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.awt.windows.WTextFieldPeer.getPreferredSize:(I)Ljava/awt/Dimension;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/windows/WTextFieldPeer;
0 1 1 cols I
MethodParameters:
Name Flags
cols
}
SourceFile: "WTextFieldPeer.java"