public class javax.swing.plaf.basic.BasicComboBoxEditor implements javax.swing.ComboBoxEditor, java.awt.event.FocusListener
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: javax.swing.plaf.basic.BasicComboBoxEditor
super_class: java.lang.Object
{
protected javax.swing.JTextField editor;
descriptor: Ljavax/swing/JTextField;
flags: (0x0004) ACC_PROTECTED
private java.lang.Object oldValue;
descriptor: Ljava/lang/Object;
flags: (0x0002) ACC_PRIVATE
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 0
invokevirtual javax.swing.plaf.basic.BasicComboBoxEditor.createEditorComponent:()Ljavax/swing/JTextField;
putfield javax.swing.plaf.basic.BasicComboBoxEditor.editor:Ljavax/swing/JTextField;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/swing/plaf/basic/BasicComboBoxEditor;
public java.awt.Component getEditorComponent();
descriptor: ()Ljava/awt/Component;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.plaf.basic.BasicComboBoxEditor.editor:Ljavax/swing/JTextField;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/plaf/basic/BasicComboBoxEditor;
protected javax.swing.JTextField createEditorComponent();
descriptor: ()Ljavax/swing/JTextField;
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=2, args_size=1
start local 0 0: new javax.swing.plaf.basic.BasicComboBoxEditor$BorderlessTextField
dup
ldc ""
bipush 9
invokespecial javax.swing.plaf.basic.BasicComboBoxEditor$BorderlessTextField.<init>:(Ljava/lang/String;I)V
astore 1
start local 1 1: aload 1
aconst_null
invokevirtual javax.swing.JTextField.setBorder:(Ljavax/swing/border/Border;)V
2: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/swing/plaf/basic/BasicComboBoxEditor;
1 3 1 editor Ljavax/swing/JTextField;
public void setItem(java.lang.Object);
descriptor: (Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnull 4
1: aload 0
getfield javax.swing.plaf.basic.BasicComboBoxEditor.editor:Ljavax/swing/JTextField;
aload 1
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
invokevirtual javax.swing.JTextField.setText:(Ljava/lang/String;)V
2: aload 0
aload 1
putfield javax.swing.plaf.basic.BasicComboBoxEditor.oldValue:Ljava/lang/Object;
3: goto 5
4: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.plaf.basic.BasicComboBoxEditor.editor:Ljavax/swing/JTextField;
ldc ""
invokevirtual javax.swing.JTextField.setText:(Ljava/lang/String;)V
5: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljavax/swing/plaf/basic/BasicComboBoxEditor;
0 6 1 anObject Ljava/lang/Object;
MethodParameters:
Name Flags
anObject
public java.lang.Object getItem();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=4, args_size=1
start local 0 0: aload 0
getfield javax.swing.plaf.basic.BasicComboBoxEditor.editor:Ljavax/swing/JTextField;
invokevirtual javax.swing.JTextField.getText:()Ljava/lang/String;
astore 1
start local 1 1: aload 0
getfield javax.swing.plaf.basic.BasicComboBoxEditor.oldValue:Ljava/lang/Object;
ifnull 9
aload 0
getfield javax.swing.plaf.basic.BasicComboBoxEditor.oldValue:Ljava/lang/Object;
instanceof java.lang.String
ifne 9
2: aload 1
aload 0
getfield javax.swing.plaf.basic.BasicComboBoxEditor.oldValue:Ljava/lang/Object;
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 4
3: aload 0
getfield javax.swing.plaf.basic.BasicComboBoxEditor.oldValue:Ljava/lang/Object;
areturn
4: StackMap locals: java.lang.Object
StackMap stack:
aload 0
getfield javax.swing.plaf.basic.BasicComboBoxEditor.oldValue:Ljava/lang/Object;
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
astore 2
start local 2 5: aload 2
ldc "valueOf"
iconst_1
anewarray java.lang.Class
dup
iconst_0
ldc Ljava/lang/String;
aastore
invokevirtual java.lang.Class.getMethod:(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
astore 3
start local 3 6: aload 3
aload 0
getfield javax.swing.plaf.basic.BasicComboBoxEditor.oldValue:Ljava/lang/Object;
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield javax.swing.plaf.basic.BasicComboBoxEditor.editor:Ljavax/swing/JTextField;
invokevirtual javax.swing.JTextField.getText:()Ljava/lang/String;
aastore
invokevirtual java.lang.reflect.Method.invoke:(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
astore 1
end local 3 7: goto 9
StackMap locals: javax.swing.plaf.basic.BasicComboBoxEditor java.lang.Object java.lang.Class
StackMap stack: java.lang.Exception
8: pop
end local 2 9: StackMap locals:
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Ljavax/swing/plaf/basic/BasicComboBoxEditor;
1 10 1 newValue Ljava/lang/Object;
5 9 2 cls Ljava/lang/Class<*>;
6 7 3 method Ljava/lang/reflect/Method;
Exception table:
from to target type
5 7 8 Class java.lang.Exception
public void selectAll();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.plaf.basic.BasicComboBoxEditor.editor:Ljavax/swing/JTextField;
invokevirtual javax.swing.JTextField.selectAll:()V
1: aload 0
getfield javax.swing.plaf.basic.BasicComboBoxEditor.editor:Ljavax/swing/JTextField;
invokevirtual javax.swing.JTextField.requestFocus:()V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/swing/plaf/basic/BasicComboBoxEditor;
public void focusGained(java.awt.event.FocusEvent);
descriptor: (Ljava/awt/event/FocusEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=2, args_size=2
start local 0 start local 1 0: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/plaf/basic/BasicComboBoxEditor;
0 1 1 e Ljava/awt/event/FocusEvent;
MethodParameters:
Name Flags
e
public void focusLost(java.awt.event.FocusEvent);
descriptor: (Ljava/awt/event/FocusEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=2, args_size=2
start local 0 start local 1 0: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/plaf/basic/BasicComboBoxEditor;
0 1 1 e Ljava/awt/event/FocusEvent;
MethodParameters:
Name Flags
e
public void addActionListener(java.awt.event.ActionListener);
descriptor: (Ljava/awt/event/ActionListener;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.swing.plaf.basic.BasicComboBoxEditor.editor:Ljavax/swing/JTextField;
aload 1
invokevirtual javax.swing.JTextField.addActionListener:(Ljava/awt/event/ActionListener;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/plaf/basic/BasicComboBoxEditor;
0 2 1 l Ljava/awt/event/ActionListener;
MethodParameters:
Name Flags
l
public void removeActionListener(java.awt.event.ActionListener);
descriptor: (Ljava/awt/event/ActionListener;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.swing.plaf.basic.BasicComboBoxEditor.editor:Ljavax/swing/JTextField;
aload 1
invokevirtual javax.swing.JTextField.removeActionListener:(Ljava/awt/event/ActionListener;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/plaf/basic/BasicComboBoxEditor;
0 2 1 l Ljava/awt/event/ActionListener;
MethodParameters:
Name Flags
l
}
SourceFile: "BasicComboBoxEditor.java"
NestMembers:
javax.swing.plaf.basic.BasicComboBoxEditor$BorderlessTextField javax.swing.plaf.basic.BasicComboBoxEditor$UIResource
InnerClasses:
BorderlessTextField = javax.swing.plaf.basic.BasicComboBoxEditor$BorderlessTextField of javax.swing.plaf.basic.BasicComboBoxEditor
public UIResource = javax.swing.plaf.basic.BasicComboBoxEditor$UIResource of javax.swing.plaf.basic.BasicComboBoxEditor