public class sun.tools.jconsole.inspector.XTextField extends javax.swing.JPanel implements javax.swing.event.DocumentListener, java.awt.event.ActionListener
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.tools.jconsole.inspector.XTextField
super_class: javax.swing.JPanel
{
private sun.tools.jconsole.inspector.XObject selectedObject;
descriptor: Lsun/tools/jconsole/inspector/XObject;
flags: (0x0002) ACC_PRIVATE
protected javax.swing.JTextField textField;
descriptor: Ljavax/swing/JTextField;
flags: (0x0004) ACC_PROTECTED
private static boolean allowNullSelection;
descriptor: Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
protected static final int COMPATIBLE_VALUE;
descriptor: I
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
ConstantValue: 1
protected static final int CURRENT_VALUE;
descriptor: I
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
ConstantValue: 2
protected static final int NULL_VALUE;
descriptor: I
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
ConstantValue: 3
private javax.swing.JButton button;
descriptor: Ljavax/swing/JButton;
flags: (0x0002) ACC_PRIVATE
private sun.tools.jconsole.inspector.XOperations operation;
descriptor: Lsun/tools/jconsole/inspector/XOperations;
flags: (0x0002) ACC_PRIVATE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: iconst_0
putstatic sun.tools.jconsole.inspector.XTextField.allowNullSelection:Z
1: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
new java.awt.BorderLayout
dup
invokespecial java.awt.BorderLayout.<init>:()V
invokespecial javax.swing.JPanel.<init>:(Ljava/awt/LayoutManager;)V
1: aload 0
aload 0
new javax.swing.JTextField
dup
invokespecial javax.swing.JTextField.<init>:()V
dup_x1
putfield sun.tools.jconsole.inspector.XTextField.textField:Ljavax/swing/JTextField;
ldc "Center"
invokevirtual sun.tools.jconsole.inspector.XTextField.add:(Ljava/awt/Component;Ljava/lang/Object;)V
2: aload 0
getfield sun.tools.jconsole.inspector.XTextField.textField:Ljavax/swing/JTextField;
aload 0
invokevirtual javax.swing.JTextField.addActionListener:(Ljava/awt/event/ActionListener;)V
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/tools/jconsole/inspector/XTextField;
public void <init>(java.lang.Object);
descriptor: (Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
aload 1
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
invokevirtual java.lang.String.length:()I
invokespecial sun.tools.jconsole.inspector.XTextField.<init>:(Ljava/lang/Object;I)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/tools/jconsole/inspector/XTextField;
0 2 1 value Ljava/lang/Object;
MethodParameters:
Name Flags
value
public void <init>(java.lang.Object, int);
descriptor: (Ljava/lang/Object;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
iload 2
iconst_1
aconst_null
aconst_null
invokespecial sun.tools.jconsole.inspector.XTextField.<init>:(Ljava/lang/Object;Ljava/lang/Class;IZLjavax/swing/JButton;Lsun/tools/jconsole/inspector/XOperations;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/tools/jconsole/inspector/XTextField;
0 2 1 value Ljava/lang/Object;
0 2 2 colWidth I
MethodParameters:
Name Flags
value
colWidth
public void <init>(, java.lang.Class<?>, int, boolean, javax.swing.JButton, sun.tools.jconsole.inspector.XOperations);
descriptor: (Ljava/lang/Object;Ljava/lang/Class;IZLjavax/swing/JButton;Lsun/tools/jconsole/inspector/XOperations;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=8, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: aload 0
new java.awt.BorderLayout
dup
invokespecial java.awt.BorderLayout.<init>:()V
invokespecial javax.swing.JPanel.<init>:(Ljava/awt/LayoutManager;)V
1: aload 0
aload 5
putfield sun.tools.jconsole.inspector.XTextField.button:Ljavax/swing/JButton;
2: aload 0
aload 6
putfield sun.tools.jconsole.inspector.XTextField.operation:Lsun/tools/jconsole/inspector/XOperations;
3: aload 0
aload 0
new javax.swing.JTextField
dup
aload 1
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
iload 3
invokespecial javax.swing.JTextField.<init>:(Ljava/lang/String;I)V
dup_x1
putfield sun.tools.jconsole.inspector.XTextField.textField:Ljavax/swing/JTextField;
4: ldc "Center"
5: invokevirtual sun.tools.jconsole.inspector.XTextField.add:(Ljava/awt/Component;Ljava/lang/Object;)V
6: iload 4
ifeq 8
7: aload 0
getfield sun.tools.jconsole.inspector.XTextField.textField:Ljavax/swing/JTextField;
aload 0
invokevirtual javax.swing.JTextField.addActionListener:(Ljava/awt/event/ActionListener;)V
8: StackMap locals: sun.tools.jconsole.inspector.XTextField java.lang.Object java.lang.Class int int javax.swing.JButton sun.tools.jconsole.inspector.XOperations
StackMap stack:
aload 2
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokestatic sun.tools.jconsole.inspector.Utils.isEditableType:(Ljava/lang/String;)Z
istore 7
start local 7 9: iload 7
ifeq 12
iload 4
ifeq 12
10: aload 0
getfield sun.tools.jconsole.inspector.XTextField.textField:Ljavax/swing/JTextField;
iconst_1
invokevirtual javax.swing.JTextField.setEditable:(Z)V
11: goto 13
12: StackMap locals: int
StackMap stack:
aload 0
getfield sun.tools.jconsole.inspector.XTextField.textField:Ljavax/swing/JTextField;
iconst_0
invokevirtual javax.swing.JTextField.setEditable:(Z)V
13: StackMap locals:
StackMap stack:
return
end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lsun/tools/jconsole/inspector/XTextField;
0 14 1 value Ljava/lang/Object;
0 14 2 expectedClass Ljava/lang/Class<*>;
0 14 3 colWidth I
0 14 4 isCallable Z
0 14 5 button Ljavax/swing/JButton;
0 14 6 operation Lsun/tools/jconsole/inspector/XOperations;
9 14 7 fieldEditable Z
Signature: (Ljava/lang/Object;Ljava/lang/Class<*>;IZLjavax/swing/JButton;Lsun/tools/jconsole/inspector/XOperations;)V
MethodParameters:
Name Flags
value
expectedClass
colWidth
isCallable
button
operation
public static void setNullSelectionAllowed(boolean);
descriptor: (Z)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iload 0
putstatic sun.tools.jconsole.inspector.XTextField.allowNullSelection:Z
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 allowNullSelection Z
MethodParameters:
Name Flags
allowNullSelection
public static boolean getNullSelectionAllowed();
descriptor: ()Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic sun.tools.jconsole.inspector.XTextField.allowNullSelection:Z
ireturn
LocalVariableTable:
Start End Slot Name Signature
protected void init(, java.lang.Class<?>);
descriptor: (Ljava/lang/Object;Ljava/lang/Class;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 2
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokestatic sun.tools.jconsole.inspector.Utils.isEditableType:(Ljava/lang/String;)Z
istore 3
start local 3 1: aload 0
invokevirtual sun.tools.jconsole.inspector.XTextField.clearObject:()V
2: aload 1
ifnull 5
3: aload 0
getfield sun.tools.jconsole.inspector.XTextField.textField:Ljavax/swing/JTextField;
aload 1
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
invokevirtual javax.swing.JTextField.setText:(Ljava/lang/String;)V
4: goto 6
5: StackMap locals: int
StackMap stack:
aload 0
getfield sun.tools.jconsole.inspector.XTextField.textField:Ljavax/swing/JTextField;
ldc ""
invokevirtual javax.swing.JTextField.setText:(Ljava/lang/String;)V
6: StackMap locals:
StackMap stack:
aload 0
getfield sun.tools.jconsole.inspector.XTextField.textField:Ljavax/swing/JTextField;
aconst_null
invokevirtual javax.swing.JTextField.setToolTipText:(Ljava/lang/String;)V
7: iload 3
ifeq 11
8: aload 0
getfield sun.tools.jconsole.inspector.XTextField.textField:Ljavax/swing/JTextField;
invokevirtual javax.swing.JTextField.isEditable:()Z
ifne 13
9: aload 0
getfield sun.tools.jconsole.inspector.XTextField.textField:Ljavax/swing/JTextField;
iconst_1
invokevirtual javax.swing.JTextField.setEditable:(Z)V
10: goto 13
11: StackMap locals:
StackMap stack:
aload 0
getfield sun.tools.jconsole.inspector.XTextField.textField:Ljavax/swing/JTextField;
invokevirtual javax.swing.JTextField.isEditable:()Z
ifeq 13
12: aload 0
getfield sun.tools.jconsole.inspector.XTextField.textField:Ljavax/swing/JTextField;
iconst_0
invokevirtual javax.swing.JTextField.setEditable:(Z)V
13: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lsun/tools/jconsole/inspector/XTextField;
0 14 1 value Ljava/lang/Object;
0 14 2 expectedClass Ljava/lang/Class<*>;
1 14 3 fieldEditable Z
Signature: (Ljava/lang/Object;Ljava/lang/Class<*>;)V
MethodParameters:
Name Flags
value
expectedClass
private synchronized void clearObject();
descriptor: ()V
flags: (0x0022) ACC_PRIVATE, ACC_SYNCHRONIZED
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.tools.jconsole.inspector.XTextField.textField:Ljavax/swing/JTextField;
invokevirtual javax.swing.JTextField.getDocument:()Ljavax/swing/text/Document;
aload 0
invokeinterface javax.swing.text.Document.removeDocumentListener:(Ljavax/swing/event/DocumentListener;)V
1: aload 0
aconst_null
putfield sun.tools.jconsole.inspector.XTextField.selectedObject:Lsun/tools/jconsole/inspector/XObject;
2: aload 0
invokevirtual sun.tools.jconsole.inspector.XTextField.setDefaultColors:()V
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/tools/jconsole/inspector/XTextField;
private synchronized void setDefaultColors();
descriptor: ()V
flags: (0x0022) ACC_PRIVATE, ACC_SYNCHRONIZED
Code:
stack=0, locals=1, args_size=1
start local 0 0: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/tools/jconsole/inspector/XTextField;
public void setHorizontalAlignment(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.tools.jconsole.inspector.XTextField.textField:Ljavax/swing/JTextField;
iload 1
invokevirtual javax.swing.JTextField.setHorizontalAlignment:(I)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/tools/jconsole/inspector/XTextField;
0 2 1 h I
MethodParameters:
Name Flags
h
protected javax.swing.JMenuItem (sun.tools.jconsole.inspector.XObject, int);
descriptor: (Lsun/tools/jconsole/inspector/XObject;I)Ljavax/swing/JMenuItem;
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: iload 2
iconst_1
if_icmpne 2
1: new javax.swing.JMenuItem
dup
aload 1
invokevirtual sun.tools.jconsole.inspector.XObject.getText:()Ljava/lang/String;
invokespecial javax.swing.JMenuItem.<init>:(Ljava/lang/String;)V
areturn
2: StackMap locals:
StackMap stack:
iload 2
iconst_2
if_icmpne 4
3: new javax.swing.JMenuItem
dup
new java.lang.StringBuilder
dup
ldc "> "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual sun.tools.jconsole.inspector.XObject.getText:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial javax.swing.JMenuItem.<init>:(Ljava/lang/String;)V
areturn
4: StackMap locals:
StackMap stack:
iload 2
iconst_3
if_icmpne 6
5: new javax.swing.JMenuItem
dup
ldc "null"
invokespecial javax.swing.JMenuItem.<init>:(Ljava/lang/String;)V
areturn
6: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/tools/jconsole/inspector/XTextField;
0 7 1 xobject Lsun/tools/jconsole/inspector/XObject;
0 7 2 valueType I
MethodParameters:
Name Flags
xobject
valueType
public void actionPerformed(java.awt.event.ActionEvent);
descriptor: (Ljava/awt/event/ActionEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.awt.event.ActionEvent.getSource:()Ljava/lang/Object;
instanceof javax.swing.JTextField
ifeq 3
1: aload 0
getfield sun.tools.jconsole.inspector.XTextField.operation:Lsun/tools/jconsole/inspector/XOperations;
ifnull 3
2: aload 0
getfield sun.tools.jconsole.inspector.XTextField.operation:Lsun/tools/jconsole/inspector/XOperations;
aload 0
getfield sun.tools.jconsole.inspector.XTextField.button:Ljavax/swing/JButton;
invokevirtual sun.tools.jconsole.inspector.XOperations.performInvokeRequest:(Ljavax/swing/JButton;)V
3: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/tools/jconsole/inspector/XTextField;
0 4 1 e Ljava/awt/event/ActionEvent;
MethodParameters:
Name Flags
e
public java.lang.Object getValue();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.tools.jconsole.inspector.XTextField.selectedObject:Lsun/tools/jconsole/inspector/XObject;
ifnull 4
1: aload 0
getfield sun.tools.jconsole.inspector.XTextField.selectedObject:Lsun/tools/jconsole/inspector/XObject;
getstatic sun.tools.jconsole.inspector.XObject.NULL_OBJECT:Lsun/tools/jconsole/inspector/XObject;
if_acmpne 3
2: aconst_null
areturn
3: StackMap locals:
StackMap stack:
aload 0
getfield sun.tools.jconsole.inspector.XTextField.selectedObject:Lsun/tools/jconsole/inspector/XObject;
areturn
4: StackMap locals:
StackMap stack:
aload 0
getfield sun.tools.jconsole.inspector.XTextField.textField:Ljavax/swing/JTextField;
invokevirtual javax.swing.JTextField.getText:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/tools/jconsole/inspector/XTextField;
public void changedUpdate(javax.swing.event.DocumentEvent);
descriptor: (Ljavax/swing/event/DocumentEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual sun.tools.jconsole.inspector.XTextField.clearObject:()V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/tools/jconsole/inspector/XTextField;
0 2 1 e Ljavax/swing/event/DocumentEvent;
MethodParameters:
Name Flags
e
public void removeUpdate(javax.swing.event.DocumentEvent);
descriptor: (Ljavax/swing/event/DocumentEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual sun.tools.jconsole.inspector.XTextField.clearObject:()V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/tools/jconsole/inspector/XTextField;
0 2 1 e Ljavax/swing/event/DocumentEvent;
MethodParameters:
Name Flags
e
public void insertUpdate(javax.swing.event.DocumentEvent);
descriptor: (Ljavax/swing/event/DocumentEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual sun.tools.jconsole.inspector.XTextField.clearObject:()V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/tools/jconsole/inspector/XTextField;
0 2 1 e Ljavax/swing/event/DocumentEvent;
MethodParameters:
Name Flags
e
}
SourceFile: "XTextField.java"