abstract class sun.awt.windows.WTextComponentPeer extends sun.awt.windows.WComponentPeer implements java.awt.peer.TextComponentPeer
minor version: 0
major version: 59
flags: flags: (0x0420) ACC_SUPER, ACC_ABSTRACT
this_class: sun.awt.windows.WTextComponentPeer
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.WTextComponentPeer.initIDs:()V
1: return
LocalVariableTable:
Start End Slot Name Signature
public void setEditable(boolean);
descriptor: (Z)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.WTextComponentPeer.enableEditing:(Z)V
1: aload 0
aload 0
getfield sun.awt.windows.WTextComponentPeer.target:Ljava/lang/Object;
checkcast java.awt.TextComponent
invokevirtual java.awt.TextComponent.getBackground:()Ljava/awt/Color;
invokevirtual sun.awt.windows.WTextComponentPeer.setBackground:(Ljava/awt/Color;)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/awt/windows/WTextComponentPeer;
0 3 1 editable Z
MethodParameters:
Name Flags
editable
public native java.lang.String getText();
descriptor: ()Ljava/lang/String;
flags: (0x0101) ACC_PUBLIC, ACC_NATIVE
public native void setText(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0101) ACC_PUBLIC, ACC_NATIVE
MethodParameters:
Name Flags
text
public native int getSelectionStart();
descriptor: ()I
flags: (0x0101) ACC_PUBLIC, ACC_NATIVE
public native int getSelectionEnd();
descriptor: ()I
flags: (0x0101) ACC_PUBLIC, ACC_NATIVE
public native void select(int, int);
descriptor: (II)V
flags: (0x0101) ACC_PUBLIC, ACC_NATIVE
MethodParameters:
Name Flags
selStart
selEnd
void <init>(java.awt.TextComponent);
descriptor: (Ljava/awt/TextComponent;)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/WTextComponentPeer;
0 2 1 target Ljava/awt/TextComponent;
MethodParameters:
Name Flags
target
void initialize();
descriptor: ()V
flags: (0x0000)
Code:
stack=3, locals=3, args_size=1
start local 0 0: aload 0
getfield sun.awt.windows.WTextComponentPeer.target:Ljava/lang/Object;
checkcast java.awt.TextComponent
astore 1
start local 1 1: aload 1
invokevirtual java.awt.TextComponent.getText:()Ljava/lang/String;
astore 2
start local 2 2: aload 2
ifnull 4
3: aload 0
aload 2
invokevirtual sun.awt.windows.WTextComponentPeer.setText:(Ljava/lang/String;)V
4: StackMap locals: java.awt.TextComponent java.lang.String
StackMap stack:
aload 0
aload 1
invokevirtual java.awt.TextComponent.getSelectionStart:()I
aload 1
invokevirtual java.awt.TextComponent.getSelectionEnd:()I
invokevirtual sun.awt.windows.WTextComponentPeer.select:(II)V
5: aload 0
aload 1
invokevirtual java.awt.TextComponent.isEditable:()Z
invokevirtual sun.awt.windows.WTextComponentPeer.setEditable:(Z)V
6: 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/WTextComponentPeer;
1 8 1 tc Ljava/awt/TextComponent;
2 8 2 text Ljava/lang/String;
native void enableEditing(boolean);
descriptor: (Z)V
flags: (0x0100) ACC_NATIVE
MethodParameters:
Name Flags
e
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/WTextComponentPeer;
public void setCaretPosition(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
iload 1
invokevirtual sun.awt.windows.WTextComponentPeer.select:(II)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/awt/windows/WTextComponentPeer;
0 2 1 pos I
MethodParameters:
Name Flags
pos
public int getCaretPosition();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual sun.awt.windows.WTextComponentPeer.getSelectionStart:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/windows/WTextComponentPeer;
public void valueChanged();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
new java.awt.event.TextEvent
dup
aload 0
getfield sun.awt.windows.WTextComponentPeer.target:Ljava/lang/Object;
sipush 900
invokespecial java.awt.event.TextEvent.<init>:(Ljava/lang/Object;I)V
invokevirtual sun.awt.windows.WTextComponentPeer.postEvent:(Ljava/awt/AWTEvent;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/awt/windows/WTextComponentPeer;
private static native void initIDs();
descriptor: ()V
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
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/WTextComponentPeer;
}
SourceFile: "WTextComponentPeer.java"