class javax.swing.plaf.basic.BasicComboBoxUI$Actions extends sun.swing.UIAction
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: javax.swing.plaf.basic.BasicComboBoxUI$Actions
super_class: sun.swing.UIAction
{
private static final java.lang.String HIDE;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "hidePopup"
private static final java.lang.String DOWN;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "selectNext"
private static final java.lang.String DOWN_2;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "selectNext2"
private static final java.lang.String TOGGLE;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "togglePopup"
private static final java.lang.String TOGGLE_2;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "spacePopup"
private static final java.lang.String UP;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "selectPrevious"
private static final java.lang.String UP_2;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "selectPrevious2"
private static final java.lang.String ENTER;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "enterPressed"
private static final java.lang.String PAGE_DOWN;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "pageDownPassThrough"
private static final java.lang.String PAGE_UP;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "pageUpPassThrough"
private static final java.lang.String HOME;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "homePassThrough"
private static final java.lang.String END;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "endPassThrough"
void <init>(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial sun.swing.UIAction.<init>:(Ljava/lang/String;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/plaf/basic/BasicComboBoxUI$Actions;
0 2 1 name Ljava/lang/String;
MethodParameters:
Name Flags
name
public void actionPerformed(java.awt.event.ActionEvent);
descriptor: (Ljava/awt/event/ActionEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=9, locals=10, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual javax.swing.plaf.basic.BasicComboBoxUI$Actions.getName:()Ljava/lang/String;
astore 2
start local 2 1: aload 1
invokevirtual java.awt.event.ActionEvent.getSource:()Ljava/lang/Object;
checkcast javax.swing.JComboBox
astore 3
start local 3 2: aload 3
invokevirtual javax.swing.JComboBox.getUI:()Ljavax/swing/plaf/ComboBoxUI;
ldc Ljavax/swing/plaf/basic/BasicComboBoxUI;
3: invokestatic javax.swing.plaf.basic.BasicLookAndFeel.getUIOfType:(Ljavax/swing/plaf/ComponentUI;Ljava/lang/Class;)Ljava/lang/Object;
checkcast javax.swing.plaf.basic.BasicComboBoxUI
astore 4
start local 4 4: aload 2
ldc "hidePopup"
if_acmpne 8
5: aload 3
invokevirtual javax.swing.JComboBox.firePopupMenuCanceled:()V
6: aload 3
iconst_0
invokevirtual javax.swing.JComboBox.setPopupVisible:(Z)V
7: goto 100
8: StackMap locals: java.lang.String javax.swing.JComboBox javax.swing.plaf.basic.BasicComboBoxUI
StackMap stack:
aload 2
ldc "pageDownPassThrough"
if_acmpeq 10
aload 2
ldc "pageUpPassThrough"
if_acmpeq 10
9: aload 2
ldc "homePassThrough"
if_acmpeq 10
aload 2
ldc "endPassThrough"
if_acmpne 19
10: StackMap locals:
StackMap stack:
aload 0
aload 3
aload 2
invokevirtual javax.swing.plaf.basic.BasicComboBoxUI$Actions.getNextIndex:(Ljavax/swing/JComboBox;Ljava/lang/String;)I
istore 5
start local 5 11: iload 5
iflt 100
iload 5
aload 3
invokevirtual javax.swing.JComboBox.getItemCount:()I
if_icmpge 100
12: ldc "ComboBox.noActionOnKeyNavigation"
invokestatic javax.swing.UIManager.getBoolean:(Ljava/lang/Object;)Z
ifeq 17
aload 3
invokevirtual javax.swing.JComboBox.isPopupVisible:()Z
ifeq 17
13: aload 4
getfield javax.swing.plaf.basic.BasicComboBoxUI.listBox:Ljavax/swing/JList;
iload 5
invokevirtual javax.swing.JList.setSelectedIndex:(I)V
14: aload 4
getfield javax.swing.plaf.basic.BasicComboBoxUI.listBox:Ljavax/swing/JList;
iload 5
invokevirtual javax.swing.JList.ensureIndexIsVisible:(I)V
15: aload 3
invokevirtual javax.swing.JComboBox.repaint:()V
16: goto 100
17: StackMap locals: int
StackMap stack:
aload 3
iload 5
invokevirtual javax.swing.JComboBox.setSelectedIndex:(I)V
end local 5 18: goto 100
19: StackMap locals:
StackMap stack:
aload 2
ldc "selectNext"
if_acmpne 27
20: aload 3
invokevirtual javax.swing.JComboBox.isShowing:()Z
ifeq 100
21: aload 3
invokevirtual javax.swing.JComboBox.isPopupVisible:()Z
ifeq 25
22: aload 4
ifnull 100
23: aload 4
invokevirtual javax.swing.plaf.basic.BasicComboBoxUI.selectNextPossibleValue:()V
24: goto 100
25: StackMap locals:
StackMap stack:
aload 3
iconst_1
invokevirtual javax.swing.JComboBox.setPopupVisible:(Z)V
26: goto 100
27: StackMap locals:
StackMap stack:
aload 2
ldc "selectNext2"
if_acmpne 37
28: aload 3
invokevirtual javax.swing.JComboBox.isShowing:()Z
ifeq 100
29: aload 3
invokevirtual javax.swing.JComboBox.isEditable:()Z
ifne 31
30: aload 4
ifnull 34
aload 4
invokevirtual javax.swing.plaf.basic.BasicComboBoxUI.isTableCellEditor:()Z
ifeq 34
31: StackMap locals:
StackMap stack:
aload 3
invokevirtual javax.swing.JComboBox.isPopupVisible:()Z
ifne 34
32: aload 3
iconst_1
invokevirtual javax.swing.JComboBox.setPopupVisible:(Z)V
33: goto 100
34: StackMap locals:
StackMap stack:
aload 4
ifnull 100
35: aload 4
invokevirtual javax.swing.plaf.basic.BasicComboBoxUI.selectNextPossibleValue:()V
36: goto 100
37: StackMap locals:
StackMap stack:
aload 2
ldc "togglePopup"
if_acmpeq 38
aload 2
ldc "spacePopup"
if_acmpne 48
38: StackMap locals:
StackMap stack:
aload 4
ifnull 100
aload 2
ldc "togglePopup"
if_acmpeq 39
aload 3
invokevirtual javax.swing.JComboBox.isEditable:()Z
ifne 100
39: StackMap locals:
StackMap stack:
aload 4
invokevirtual javax.swing.plaf.basic.BasicComboBoxUI.isTableCellEditor:()Z
ifeq 44
40: aload 3
aload 4
getfield javax.swing.plaf.basic.BasicComboBoxUI.popup:Ljavax/swing/plaf/basic/ComboPopup;
invokeinterface javax.swing.plaf.basic.ComboPopup.getList:()Ljavax/swing/JList;
41: invokevirtual javax.swing.JList.getSelectedIndex:()I
42: invokevirtual javax.swing.JComboBox.setSelectedIndex:(I)V
43: goto 100
44: StackMap locals:
StackMap stack:
aload 3
aload 3
invokevirtual javax.swing.JComboBox.isPopupVisible:()Z
ifeq 45
iconst_0
goto 46
StackMap locals:
StackMap stack: javax.swing.JComboBox
45: iconst_1
StackMap locals: javax.swing.plaf.basic.BasicComboBoxUI$Actions java.awt.event.ActionEvent java.lang.String javax.swing.JComboBox javax.swing.plaf.basic.BasicComboBoxUI
StackMap stack: javax.swing.JComboBox int
46: invokevirtual javax.swing.JComboBox.setPopupVisible:(Z)V
47: goto 100
48: StackMap locals:
StackMap stack:
aload 2
ldc "selectPrevious"
if_acmpne 59
49: aload 4
ifnull 100
50: aload 4
aload 3
invokevirtual javax.swing.plaf.basic.BasicComboBoxUI.isPopupVisible:(Ljavax/swing/JComboBox;)Z
ifeq 53
51: aload 4
invokevirtual javax.swing.plaf.basic.BasicComboBoxUI.selectPreviousPossibleValue:()V
52: goto 100
53: StackMap locals:
StackMap stack:
aload 3
aload 4
54: ldc "ComboBox.showPopupOnNavigation"
iconst_0
55: invokestatic sun.swing.DefaultLookup.getBoolean:(Ljavax/swing/JComponent;Ljavax/swing/plaf/ComponentUI;Ljava/lang/String;Z)Z
56: ifeq 100
57: aload 4
aload 3
iconst_1
invokevirtual javax.swing.plaf.basic.BasicComboBoxUI.setPopupVisible:(Ljavax/swing/JComboBox;Z)V
58: goto 100
59: StackMap locals:
StackMap stack:
aload 2
ldc "selectPrevious2"
if_acmpne 66
60: aload 3
invokevirtual javax.swing.JComboBox.isShowing:()Z
ifeq 100
aload 4
ifnull 100
61: aload 3
invokevirtual javax.swing.JComboBox.isEditable:()Z
ifeq 64
aload 3
invokevirtual javax.swing.JComboBox.isPopupVisible:()Z
ifne 64
62: aload 3
iconst_1
invokevirtual javax.swing.JComboBox.setPopupVisible:(Z)V
63: goto 100
64: StackMap locals:
StackMap stack:
aload 4
invokevirtual javax.swing.plaf.basic.BasicComboBoxUI.selectPreviousPossibleValue:()V
65: goto 100
66: StackMap locals:
StackMap stack:
aload 2
ldc "enterPressed"
if_acmpne 100
67: aload 3
invokevirtual javax.swing.JComboBox.isPopupVisible:()Z
ifeq 85
68: ldc "ComboBox.noActionOnKeyNavigation"
invokestatic javax.swing.UIManager.getBoolean:(Ljava/lang/Object;)Z
ifeq 75
69: aload 4
getfield javax.swing.plaf.basic.BasicComboBoxUI.popup:Ljavax/swing/plaf/basic/ComboPopup;
invokeinterface javax.swing.plaf.basic.ComboPopup.getList:()Ljavax/swing/JList;
invokevirtual javax.swing.JList.getSelectedValue:()Ljava/lang/Object;
astore 5
start local 5 70: aload 5
ifnull 73
71: aload 3
invokevirtual javax.swing.JComboBox.getEditor:()Ljavax/swing/ComboBoxEditor;
aload 5
invokeinterface javax.swing.ComboBoxEditor.setItem:(Ljava/lang/Object;)V
72: aload 3
aload 5
invokevirtual javax.swing.JComboBox.setSelectedItem:(Ljava/lang/Object;)V
73: StackMap locals: java.lang.Object
StackMap stack:
aload 3
iconst_0
invokevirtual javax.swing.JComboBox.setPopupVisible:(Z)V
end local 5 74: goto 100
75: StackMap locals:
StackMap stack:
ldc "ComboBox.isEnterSelectablePopup"
invokestatic javax.swing.UIManager.getBoolean:(Ljava/lang/Object;)Z
76: istore 5
start local 5 77: aload 3
invokevirtual javax.swing.JComboBox.isEditable:()Z
ifeq 79
iload 5
ifne 79
78: aload 4
getfield javax.swing.plaf.basic.BasicComboBoxUI.isTableCellEditor:Z
ifeq 83
79: StackMap locals: int
StackMap stack:
aload 4
getfield javax.swing.plaf.basic.BasicComboBoxUI.popup:Ljavax/swing/plaf/basic/ComboPopup;
invokeinterface javax.swing.plaf.basic.ComboPopup.getList:()Ljavax/swing/JList;
invokevirtual javax.swing.JList.getSelectedValue:()Ljava/lang/Object;
astore 6
start local 6 80: aload 6
ifnull 83
81: aload 3
invokevirtual javax.swing.JComboBox.getEditor:()Ljavax/swing/ComboBoxEditor;
aload 6
invokeinterface javax.swing.ComboBoxEditor.setItem:(Ljava/lang/Object;)V
82: aload 3
aload 6
invokevirtual javax.swing.JComboBox.setSelectedItem:(Ljava/lang/Object;)V
end local 6 83: StackMap locals:
StackMap stack:
aload 3
iconst_0
invokevirtual javax.swing.JComboBox.setPopupVisible:(Z)V
end local 5 84: goto 100
85: StackMap locals:
StackMap stack:
aload 4
getfield javax.swing.plaf.basic.BasicComboBoxUI.isTableCellEditor:Z
ifeq 87
aload 3
invokevirtual javax.swing.JComboBox.isEditable:()Z
ifne 87
86: aload 3
aload 3
invokevirtual javax.swing.JComboBox.getSelectedItem:()Ljava/lang/Object;
invokevirtual javax.swing.JComboBox.setSelectedItem:(Ljava/lang/Object;)V
87: StackMap locals:
StackMap stack:
aload 3
invokestatic javax.swing.SwingUtilities.getRootPane:(Ljava/awt/Component;)Ljavax/swing/JRootPane;
astore 5
start local 5 88: aload 5
ifnull 100
89: aload 5
iconst_2
invokevirtual javax.swing.JRootPane.getInputMap:(I)Ljavax/swing/InputMap;
astore 6
start local 6 90: aload 5
invokevirtual javax.swing.JRootPane.getActionMap:()Ljavax/swing/ActionMap;
astore 7
start local 7 91: aload 6
ifnull 100
aload 7
ifnull 100
92: aload 6
bipush 10
iconst_0
invokestatic javax.swing.KeyStroke.getKeyStroke:(II)Ljavax/swing/KeyStroke;
invokevirtual javax.swing.InputMap.get:(Ljavax/swing/KeyStroke;)Ljava/lang/Object;
astore 8
start local 8 93: aload 8
ifnull 100
94: aload 7
aload 8
invokevirtual javax.swing.ActionMap.get:(Ljava/lang/Object;)Ljavax/swing/Action;
astore 9
start local 9 95: aload 9
ifnull 100
96: aload 9
new java.awt.event.ActionEvent
dup
97: aload 5
aload 1
invokevirtual java.awt.event.ActionEvent.getID:()I
aload 1
invokevirtual java.awt.event.ActionEvent.getActionCommand:()Ljava/lang/String;
98: 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
99: invokeinterface javax.swing.Action.actionPerformed:(Ljava/awt/event/ActionEvent;)V
end local 9 end local 8 end local 7 end local 6 end local 5 100: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 101 0 this Ljavax/swing/plaf/basic/BasicComboBoxUI$Actions;
0 101 1 e Ljava/awt/event/ActionEvent;
1 101 2 key Ljava/lang/String;
2 101 3 comboBox Ljavax/swing/JComboBox<Ljava/lang/Object;>;
4 101 4 ui Ljavax/swing/plaf/basic/BasicComboBoxUI;
11 18 5 index I
70 74 5 listItem Ljava/lang/Object;
77 84 5 isEnterSelectablePopup Z
80 83 6 listItem Ljava/lang/Object;
88 100 5 root Ljavax/swing/JRootPane;
90 100 6 im Ljavax/swing/InputMap;
91 100 7 am Ljavax/swing/ActionMap;
93 100 8 obj Ljava/lang/Object;
95 100 9 action Ljavax/swing/Action;
MethodParameters:
Name Flags
e
private int getNextIndex(javax.swing.JComboBox<?>, java.lang.String);
descriptor: (Ljavax/swing/JComboBox;Ljava/lang/String;)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokevirtual javax.swing.JComboBox.getMaximumRowCount:()I
istore 3
start local 3 1: aload 1
invokevirtual javax.swing.JComboBox.getSelectedIndex:()I
istore 4
start local 4 2: ldc "ComboBox.noActionOnKeyNavigation"
invokestatic javax.swing.UIManager.getBoolean:(Ljava/lang/Object;)Z
ifeq 5
3: aload 1
invokevirtual javax.swing.JComboBox.getUI:()Ljavax/swing/plaf/ComboBoxUI;
instanceof javax.swing.plaf.basic.BasicComboBoxUI
ifeq 5
4: aload 1
invokevirtual javax.swing.JComboBox.getUI:()Ljavax/swing/plaf/ComboBoxUI;
checkcast javax.swing.plaf.basic.BasicComboBoxUI
getfield javax.swing.plaf.basic.BasicComboBoxUI.listBox:Ljavax/swing/JList;
invokevirtual javax.swing.JList.getSelectedIndex:()I
istore 4
5: StackMap locals: int int
StackMap stack:
aload 2
ldc "pageUpPassThrough"
if_acmpne 10
6: iload 4
iload 3
isub
istore 5
start local 5 7: iload 5
ifge 8
iconst_0
goto 9
StackMap locals: int
StackMap stack:
8: iload 5
StackMap locals:
StackMap stack: int
9: ireturn
end local 5 10: StackMap locals:
StackMap stack:
aload 2
ldc "pageDownPassThrough"
if_acmpne 16
11: iload 4
iload 3
iadd
istore 5
start local 5 12: aload 1
invokevirtual javax.swing.JComboBox.getItemCount:()I
istore 6
start local 6 13: iload 5
iload 6
if_icmpge 14
iload 5
goto 15
StackMap locals: int int
StackMap stack:
14: iload 6
iconst_1
isub
StackMap locals:
StackMap stack: int
15: ireturn
end local 6 end local 5 16: StackMap locals:
StackMap stack:
aload 2
ldc "homePassThrough"
if_acmpne 18
17: iconst_0
ireturn
18: StackMap locals:
StackMap stack:
aload 2
ldc "endPassThrough"
if_acmpne 20
19: aload 1
invokevirtual javax.swing.JComboBox.getItemCount:()I
iconst_1
isub
ireturn
20: StackMap locals:
StackMap stack:
aload 1
invokevirtual javax.swing.JComboBox.getSelectedIndex:()I
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 this Ljavax/swing/plaf/basic/BasicComboBoxUI$Actions;
0 21 1 comboBox Ljavax/swing/JComboBox<*>;
0 21 2 key Ljava/lang/String;
1 21 3 listHeight I
2 21 4 selectedIndex I
7 10 5 index I
12 16 5 index I
13 16 6 max I
Signature: (Ljavax/swing/JComboBox<*>;Ljava/lang/String;)I
MethodParameters:
Name Flags
comboBox
key
public boolean accept(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual javax.swing.plaf.basic.BasicComboBoxUI$Actions.getName:()Ljava/lang/String;
ldc "hidePopup"
if_acmpne 3
1: aload 1
ifnull 2
aload 1
checkcast javax.swing.JComboBox
invokevirtual javax.swing.JComboBox.isPopupVisible:()Z
ifeq 2
iconst_1
ireturn
StackMap locals:
StackMap stack:
2: iconst_0
ireturn
3: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/swing/plaf/basic/BasicComboBoxUI$Actions;
0 4 1 c Ljava/lang/Object;
MethodParameters:
Name Flags
c
}
SourceFile: "BasicComboBoxUI.java"
NestHost: javax.swing.plaf.basic.BasicComboBoxUI
InnerClasses:
private Actions = javax.swing.plaf.basic.BasicComboBoxUI$Actions of javax.swing.plaf.basic.BasicComboBoxUI