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 86
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 14
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 86
iload 5
aload 3
invokevirtual javax.swing.JComboBox.getItemCount:()I
if_icmpge 86
12: aload 3
iload 5
invokevirtual javax.swing.JComboBox.setSelectedIndex:(I)V
end local 5 13: goto 86
14: StackMap locals:
StackMap stack:
aload 2
ldc "selectNext"
if_acmpne 22
15: aload 3
invokevirtual javax.swing.JComboBox.isShowing:()Z
ifeq 86
16: aload 3
invokevirtual javax.swing.JComboBox.isPopupVisible:()Z
ifeq 20
17: aload 4
ifnull 86
18: aload 4
invokevirtual javax.swing.plaf.basic.BasicComboBoxUI.selectNextPossibleValue:()V
19: goto 86
20: StackMap locals:
StackMap stack:
aload 3
iconst_1
invokevirtual javax.swing.JComboBox.setPopupVisible:(Z)V
21: goto 86
22: StackMap locals:
StackMap stack:
aload 2
ldc "selectNext2"
if_acmpne 32
23: aload 3
invokevirtual javax.swing.JComboBox.isShowing:()Z
ifeq 86
24: aload 3
invokevirtual javax.swing.JComboBox.isEditable:()Z
ifne 26
25: aload 4
ifnull 29
aload 4
invokevirtual javax.swing.plaf.basic.BasicComboBoxUI.isTableCellEditor:()Z
ifeq 29
26: StackMap locals:
StackMap stack:
aload 3
invokevirtual javax.swing.JComboBox.isPopupVisible:()Z
ifne 29
27: aload 3
iconst_1
invokevirtual javax.swing.JComboBox.setPopupVisible:(Z)V
28: goto 86
29: StackMap locals:
StackMap stack:
aload 4
ifnull 86
30: aload 4
invokevirtual javax.swing.plaf.basic.BasicComboBoxUI.selectNextPossibleValue:()V
31: goto 86
32: StackMap locals:
StackMap stack:
aload 2
ldc "togglePopup"
if_acmpeq 33
aload 2
ldc "spacePopup"
if_acmpne 43
33: StackMap locals:
StackMap stack:
aload 4
ifnull 86
aload 2
ldc "togglePopup"
if_acmpeq 34
aload 3
invokevirtual javax.swing.JComboBox.isEditable:()Z
ifne 86
34: StackMap locals:
StackMap stack:
aload 4
invokevirtual javax.swing.plaf.basic.BasicComboBoxUI.isTableCellEditor:()Z
ifeq 39
35: 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;
36: invokevirtual javax.swing.JList.getSelectedIndex:()I
37: invokevirtual javax.swing.JComboBox.setSelectedIndex:(I)V
38: goto 86
39: StackMap locals:
StackMap stack:
aload 3
aload 3
invokevirtual javax.swing.JComboBox.isPopupVisible:()Z
ifeq 40
iconst_0
goto 41
StackMap locals:
StackMap stack: javax.swing.JComboBox
40: 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
41: invokevirtual javax.swing.JComboBox.setPopupVisible:(Z)V
42: goto 86
43: StackMap locals:
StackMap stack:
aload 2
ldc "selectPrevious"
if_acmpne 54
44: aload 4
ifnull 86
45: aload 4
aload 3
invokevirtual javax.swing.plaf.basic.BasicComboBoxUI.isPopupVisible:(Ljavax/swing/JComboBox;)Z
ifeq 48
46: aload 4
invokevirtual javax.swing.plaf.basic.BasicComboBoxUI.selectPreviousPossibleValue:()V
47: goto 86
48: StackMap locals:
StackMap stack:
aload 3
aload 4
49: ldc "ComboBox.showPopupOnNavigation"
iconst_0
50: invokestatic sun.swing.DefaultLookup.getBoolean:(Ljavax/swing/JComponent;Ljavax/swing/plaf/ComponentUI;Ljava/lang/String;Z)Z
51: ifeq 86
52: aload 4
aload 3
iconst_1
invokevirtual javax.swing.plaf.basic.BasicComboBoxUI.setPopupVisible:(Ljavax/swing/JComboBox;Z)V
53: goto 86
54: StackMap locals:
StackMap stack:
aload 2
ldc "selectPrevious2"
if_acmpne 61
55: aload 3
invokevirtual javax.swing.JComboBox.isShowing:()Z
ifeq 86
aload 4
ifnull 86
56: aload 3
invokevirtual javax.swing.JComboBox.isEditable:()Z
ifeq 59
aload 3
invokevirtual javax.swing.JComboBox.isPopupVisible:()Z
ifne 59
57: aload 3
iconst_1
invokevirtual javax.swing.JComboBox.setPopupVisible:(Z)V
58: goto 86
59: StackMap locals:
StackMap stack:
aload 4
invokevirtual javax.swing.plaf.basic.BasicComboBoxUI.selectPreviousPossibleValue:()V
60: goto 86
61: StackMap locals:
StackMap stack:
aload 2
ldc "enterPressed"
if_acmpne 86
62: aload 3
invokevirtual javax.swing.JComboBox.isPopupVisible:()Z
ifeq 73
63: ldc "ComboBox.isEnterSelectablePopup"
invokestatic javax.swing.UIManager.getBoolean:(Ljava/lang/Object;)Z
64: istore 5
start local 5 65: aload 3
invokevirtual javax.swing.JComboBox.isEditable:()Z
ifeq 67
iload 5
ifne 67
66: aload 4
getfield javax.swing.plaf.basic.BasicComboBoxUI.isTableCellEditor:Z
ifeq 71
67: 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 68: aload 6
ifnull 71
69: aload 3
invokevirtual javax.swing.JComboBox.getModel:()Ljavax/swing/ComboBoxModel;
aload 6
invokeinterface javax.swing.ComboBoxModel.setSelectedItem:(Ljava/lang/Object;)V
70: aload 3
invokevirtual javax.swing.JComboBox.getEditor:()Ljavax/swing/ComboBoxEditor;
aload 6
invokeinterface javax.swing.ComboBoxEditor.setItem:(Ljava/lang/Object;)V
end local 6 71: StackMap locals:
StackMap stack:
aload 3
iconst_0
invokevirtual javax.swing.JComboBox.setPopupVisible:(Z)V
end local 5 72: goto 86
73: StackMap locals:
StackMap stack:
aload 3
invokestatic javax.swing.SwingUtilities.getRootPane:(Ljava/awt/Component;)Ljavax/swing/JRootPane;
astore 5
start local 5 74: aload 5
ifnull 86
75: aload 5
iconst_2
invokevirtual javax.swing.JRootPane.getInputMap:(I)Ljavax/swing/InputMap;
astore 6
start local 6 76: aload 5
invokevirtual javax.swing.JRootPane.getActionMap:()Ljavax/swing/ActionMap;
astore 7
start local 7 77: aload 6
ifnull 86
aload 7
ifnull 86
78: 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 79: aload 8
ifnull 86
80: aload 7
aload 8
invokevirtual javax.swing.ActionMap.get:(Ljava/lang/Object;)Ljavax/swing/Action;
astore 9
start local 9 81: aload 9
ifnull 86
82: aload 9
new java.awt.event.ActionEvent
dup
83: aload 5
aload 1
invokevirtual java.awt.event.ActionEvent.getID:()I
aload 1
invokevirtual java.awt.event.ActionEvent.getActionCommand:()Ljava/lang/String;
84: 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
85: 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 86: 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 87 0 this Ljavax/swing/plaf/basic/BasicComboBoxUI$Actions;
0 87 1 e Ljava/awt/event/ActionEvent;
1 87 2 key Ljava/lang/String;
2 87 3 comboBox Ljavax/swing/JComboBox;
4 87 4 ui Ljavax/swing/plaf/basic/BasicComboBoxUI;
11 13 5 index I
65 72 5 isEnterSelectablePopup Z
68 71 6 listItem Ljava/lang/Object;
74 86 5 root Ljavax/swing/JRootPane;
76 86 6 im Ljavax/swing/InputMap;
77 86 7 am Ljavax/swing/ActionMap;
79 86 8 obj Ljava/lang/Object;
81 86 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=6, args_size=3
start local 0 start local 1 start local 2 0: aload 2
ldc "pageUpPassThrough"
if_acmpne 6
1: aload 1
invokevirtual javax.swing.JComboBox.getMaximumRowCount:()I
istore 3
start local 3 2: aload 1
invokevirtual javax.swing.JComboBox.getSelectedIndex:()I
iload 3
isub
istore 4
start local 4 3: iload 4
ifge 4
iconst_0
goto 5
StackMap locals: int int
StackMap stack:
4: iload 4
StackMap locals:
StackMap stack: int
5: ireturn
end local 4 end local 3 6: StackMap locals:
StackMap stack:
aload 2
ldc "pageDownPassThrough"
if_acmpne 13
7: aload 1
invokevirtual javax.swing.JComboBox.getMaximumRowCount:()I
istore 3
start local 3 8: aload 1
invokevirtual javax.swing.JComboBox.getSelectedIndex:()I
iload 3
iadd
istore 4
start local 4 9: aload 1
invokevirtual javax.swing.JComboBox.getItemCount:()I
istore 5
start local 5 10: iload 4
iload 5
if_icmpge 11
iload 4
goto 12
StackMap locals: int int int
StackMap stack:
11: iload 5
iconst_1
isub
StackMap locals:
StackMap stack: int
12: ireturn
end local 5 end local 4 end local 3 13: StackMap locals:
StackMap stack:
aload 2
ldc "homePassThrough"
if_acmpne 15
14: iconst_0
ireturn
15: StackMap locals:
StackMap stack:
aload 2
ldc "endPassThrough"
if_acmpne 17
16: aload 1
invokevirtual javax.swing.JComboBox.getItemCount:()I
iconst_1
isub
ireturn
17: StackMap locals:
StackMap stack:
aload 1
invokevirtual javax.swing.JComboBox.getSelectedIndex:()I
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Ljavax/swing/plaf/basic/BasicComboBoxUI$Actions;
0 18 1 comboBox Ljavax/swing/JComboBox;
0 18 2 key Ljava/lang/String;
2 6 3 listHeight I
3 6 4 index I
8 13 3 listHeight I
9 13 4 index I
10 13 5 max I
MethodParameters:
Name Flags
comboBox
key
public boolean isEnabled(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