class javax.swing.plaf.basic.BasicLabelUI$Actions extends sun.swing.UIAction
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: javax.swing.plaf.basic.BasicLabelUI$Actions
super_class: sun.swing.UIAction
{
private static final java.lang.String PRESS;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "press"
private static final java.lang.String RELEASE;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "release"
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/BasicLabelUI$Actions;
0 2 1 key Ljava/lang/String;
MethodParameters:
Name Flags
key
public void actionPerformed(java.awt.event.ActionEvent);
descriptor: (Ljava/awt/event/ActionEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.awt.event.ActionEvent.getSource:()Ljava/lang/Object;
checkcast javax.swing.JLabel
astore 2
start local 2 1: aload 0
invokevirtual javax.swing.plaf.basic.BasicLabelUI$Actions.getName:()Ljava/lang/String;
astore 3
start local 3 2: aload 3
ldc "press"
if_acmpne 5
3: aload 0
aload 2
invokevirtual javax.swing.plaf.basic.BasicLabelUI$Actions.doPress:(Ljavax/swing/JLabel;)V
4: goto 9
5: StackMap locals: javax.swing.JLabel java.lang.String
StackMap stack:
aload 3
ldc "release"
if_acmpne 9
6: aload 0
aload 2
aload 1
invokevirtual java.awt.event.ActionEvent.getActionCommand:()Ljava/lang/String;
ifnull 7
iconst_1
goto 8
StackMap locals: javax.swing.plaf.basic.BasicLabelUI$Actions java.awt.event.ActionEvent javax.swing.JLabel java.lang.String
StackMap stack: javax.swing.plaf.basic.BasicLabelUI$Actions javax.swing.JLabel
7: iconst_0
StackMap locals: javax.swing.plaf.basic.BasicLabelUI$Actions java.awt.event.ActionEvent javax.swing.JLabel java.lang.String
StackMap stack: javax.swing.plaf.basic.BasicLabelUI$Actions javax.swing.JLabel int
8: invokevirtual javax.swing.plaf.basic.BasicLabelUI$Actions.doRelease:(Ljavax/swing/JLabel;Z)V
9: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Ljavax/swing/plaf/basic/BasicLabelUI$Actions;
0 10 1 e Ljava/awt/event/ActionEvent;
1 10 2 label Ljavax/swing/JLabel;
2 10 3 key Ljava/lang/String;
MethodParameters:
Name Flags
e
private void doPress(javax.swing.JLabel);
descriptor: (Ljavax/swing/JLabel;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=5, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual javax.swing.JLabel.getLabelFor:()Ljava/awt/Component;
astore 2
start local 2 1: aload 2
ifnull 16
aload 2
invokevirtual java.awt.Component.isEnabled:()Z
ifeq 16
2: aload 1
iconst_0
invokestatic javax.swing.SwingUtilities.getUIInputMap:(Ljavax/swing/JComponent;I)Ljavax/swing/InputMap;
astore 3
start local 3 3: aload 3
ifnonnull 6
4: new javax.swing.plaf.InputMapUIResource
dup
invokespecial javax.swing.plaf.InputMapUIResource.<init>:()V
astore 3
5: aload 1
iconst_0
aload 3
invokestatic javax.swing.SwingUtilities.replaceUIInputMap:(Ljavax/swing/JComponent;ILjavax/swing/InputMap;)V
6: StackMap locals: java.awt.Component javax.swing.InputMap
StackMap stack:
aload 1
invokevirtual javax.swing.JLabel.getDisplayedMnemonic:()I
istore 4
start local 4 7: aload 0
aload 3
iload 4
8: invokestatic javax.swing.plaf.basic.BasicLookAndFeel.getFocusAcceleratorKeyMask:()I
9: invokevirtual javax.swing.plaf.basic.BasicLabelUI$Actions.putOnRelease:(Ljavax/swing/InputMap;II)V
10: aload 0
aload 3
iload 4
11: invokestatic javax.swing.plaf.basic.BasicLookAndFeel.getFocusAcceleratorKeyMask:()I
12: invokestatic sun.swing.SwingUtilities2.setAltGraphMask:(I)I
invokevirtual javax.swing.plaf.basic.BasicLabelUI$Actions.putOnRelease:(Ljavax/swing/InputMap;II)V
13: aload 0
aload 3
iload 4
iconst_0
invokevirtual javax.swing.plaf.basic.BasicLabelUI$Actions.putOnRelease:(Ljavax/swing/InputMap;II)V
14: aload 0
aload 3
bipush 18
iconst_0
invokevirtual javax.swing.plaf.basic.BasicLabelUI$Actions.putOnRelease:(Ljavax/swing/InputMap;II)V
15: aload 1
invokevirtual javax.swing.JLabel.requestFocus:()V
end local 4 end local 3 16: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Ljavax/swing/plaf/basic/BasicLabelUI$Actions;
0 17 1 label Ljavax/swing/JLabel;
1 17 2 labelFor Ljava/awt/Component;
3 16 3 inputMap Ljavax/swing/InputMap;
7 16 4 dka I
MethodParameters:
Name Flags
label
private void doRelease(javax.swing.JLabel, boolean);
descriptor: (Ljavax/swing/JLabel;Z)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokevirtual javax.swing.JLabel.getLabelFor:()Ljava/awt/Component;
astore 3
start local 3 1: aload 3
ifnull 59
aload 3
invokevirtual java.awt.Component.isEnabled:()Z
ifeq 59
2: aload 1
invokevirtual javax.swing.JLabel.hasFocus:()Z
ifeq 43
3: aload 1
4: iconst_0
5: invokestatic javax.swing.SwingUtilities.getUIInputMap:(Ljavax/swing/JComponent;I)Ljavax/swing/InputMap;
astore 4
start local 4 6: aload 4
ifnull 17
7: aload 1
invokevirtual javax.swing.JLabel.getDisplayedMnemonic:()I
istore 5
start local 5 8: aload 0
aload 4
iload 5
9: invokestatic javax.swing.plaf.basic.BasicLookAndFeel.getFocusAcceleratorKeyMask:()I
10: invokevirtual javax.swing.plaf.basic.BasicLabelUI$Actions.removeOnRelease:(Ljavax/swing/InputMap;II)V
11: aload 0
aload 4
iload 5
12: invokestatic javax.swing.plaf.basic.BasicLookAndFeel.getFocusAcceleratorKeyMask:()I
13: invokestatic sun.swing.SwingUtilities2.setAltGraphMask:(I)I
14: invokevirtual javax.swing.plaf.basic.BasicLabelUI$Actions.removeOnRelease:(Ljavax/swing/InputMap;II)V
15: aload 0
aload 4
iload 5
iconst_0
invokevirtual javax.swing.plaf.basic.BasicLabelUI$Actions.removeOnRelease:(Ljavax/swing/InputMap;II)V
16: aload 0
aload 4
bipush 18
iconst_0
invokevirtual javax.swing.plaf.basic.BasicLabelUI$Actions.removeOnRelease:(Ljavax/swing/InputMap;II)V
end local 5 17: StackMap locals: java.awt.Component javax.swing.InputMap
StackMap stack:
aload 1
18: iconst_2
19: invokestatic javax.swing.SwingUtilities.getUIInputMap:(Ljavax/swing/JComponent;I)Ljavax/swing/InputMap;
astore 4
20: aload 4
ifnonnull 25
21: new javax.swing.plaf.InputMapUIResource
dup
invokespecial javax.swing.plaf.InputMapUIResource.<init>:()V
astore 4
22: aload 1
23: iconst_2
aload 4
24: invokestatic javax.swing.SwingUtilities.replaceUIInputMap:(Ljavax/swing/JComponent;ILjavax/swing/InputMap;)V
25: StackMap locals:
StackMap stack:
aload 1
invokevirtual javax.swing.JLabel.getDisplayedMnemonic:()I
istore 5
start local 5 26: iload 2
ifeq 29
27: aload 0
aload 4
bipush 18
iconst_0
invokevirtual javax.swing.plaf.basic.BasicLabelUI$Actions.putOnRelease:(Ljavax/swing/InputMap;II)V
28: goto 37
29: StackMap locals: int
StackMap stack:
aload 0
aload 4
iload 5
30: invokestatic javax.swing.plaf.basic.BasicLookAndFeel.getFocusAcceleratorKeyMask:()I
31: invokevirtual javax.swing.plaf.basic.BasicLabelUI$Actions.putOnRelease:(Ljavax/swing/InputMap;II)V
32: aload 0
aload 4
iload 5
33: invokestatic javax.swing.plaf.basic.BasicLookAndFeel.getFocusAcceleratorKeyMask:()I
34: invokestatic sun.swing.SwingUtilities2.setAltGraphMask:(I)I
35: invokevirtual javax.swing.plaf.basic.BasicLabelUI$Actions.putOnRelease:(Ljavax/swing/InputMap;II)V
36: aload 0
aload 4
iload 5
iconst_0
invokevirtual javax.swing.plaf.basic.BasicLabelUI$Actions.putOnRelease:(Ljavax/swing/InputMap;II)V
37: StackMap locals:
StackMap stack:
aload 3
instanceof java.awt.Container
ifeq 41
38: aload 3
checkcast java.awt.Container
invokevirtual java.awt.Container.isFocusCycleRoot:()Z
ifeq 41
39: aload 3
invokevirtual java.awt.Component.requestFocus:()V
40: goto 59
41: StackMap locals:
StackMap stack:
aload 3
invokestatic sun.swing.SwingUtilities2.compositeRequestFocus:(Ljava/awt/Component;)Ljava/awt/Component;
pop
end local 5 end local 4 42: goto 59
43: StackMap locals:
StackMap stack:
aload 1
44: iconst_2
45: invokestatic javax.swing.SwingUtilities.getUIInputMap:(Ljavax/swing/JComponent;I)Ljavax/swing/InputMap;
astore 4
start local 4 46: aload 1
invokevirtual javax.swing.JLabel.getDisplayedMnemonic:()I
istore 5
start local 5 47: aload 4
ifnull 59
48: iload 2
ifeq 58
49: aload 0
aload 4
iload 5
50: invokestatic javax.swing.plaf.basic.BasicLookAndFeel.getFocusAcceleratorKeyMask:()I
51: invokevirtual javax.swing.plaf.basic.BasicLabelUI$Actions.removeOnRelease:(Ljavax/swing/InputMap;II)V
52: aload 0
aload 4
iload 5
53: invokestatic javax.swing.plaf.basic.BasicLookAndFeel.getFocusAcceleratorKeyMask:()I
54: invokestatic sun.swing.SwingUtilities2.setAltGraphMask:(I)I
55: invokevirtual javax.swing.plaf.basic.BasicLabelUI$Actions.removeOnRelease:(Ljavax/swing/InputMap;II)V
56: aload 0
aload 4
iload 5
iconst_0
invokevirtual javax.swing.plaf.basic.BasicLabelUI$Actions.removeOnRelease:(Ljavax/swing/InputMap;II)V
57: goto 59
58: StackMap locals: javax.swing.InputMap int
StackMap stack:
aload 0
aload 4
bipush 18
iconst_0
invokevirtual javax.swing.plaf.basic.BasicLabelUI$Actions.removeOnRelease:(Ljavax/swing/InputMap;II)V
end local 5 end local 4 59: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 60 0 this Ljavax/swing/plaf/basic/BasicLabelUI$Actions;
0 60 1 label Ljavax/swing/JLabel;
0 60 2 isCommand Z
1 60 3 labelFor Ljava/awt/Component;
6 42 4 inputMap Ljavax/swing/InputMap;
8 17 5 dka I
26 42 5 dka I
46 59 4 inputMap Ljavax/swing/InputMap;
47 59 5 dka I
MethodParameters:
Name Flags
label
isCommand
private void putOnRelease(javax.swing.InputMap, int, int);
descriptor: (Ljavax/swing/InputMap;II)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
iload 2
iload 3
iconst_1
invokestatic javax.swing.KeyStroke.getKeyStroke:(IIZ)Ljavax/swing/KeyStroke;
1: ldc "release"
2: invokevirtual javax.swing.InputMap.put:(Ljavax/swing/KeyStroke;Ljava/lang/Object;)V
3: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/swing/plaf/basic/BasicLabelUI$Actions;
0 4 1 inputMap Ljavax/swing/InputMap;
0 4 2 keyCode I
0 4 3 modifiers I
MethodParameters:
Name Flags
inputMap
keyCode
modifiers
private void removeOnRelease(javax.swing.InputMap, int, int);
descriptor: (Ljavax/swing/InputMap;II)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
iload 2
iload 3
iconst_1
invokestatic javax.swing.KeyStroke.getKeyStroke:(IIZ)Ljavax/swing/KeyStroke;
invokevirtual javax.swing.InputMap.remove:(Ljavax/swing/KeyStroke;)V
1: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/plaf/basic/BasicLabelUI$Actions;
0 2 1 inputMap Ljavax/swing/InputMap;
0 2 2 keyCode I
0 2 3 modifiers I
MethodParameters:
Name Flags
inputMap
keyCode
modifiers
}
SourceFile: "BasicLabelUI.java"
NestHost: javax.swing.plaf.basic.BasicLabelUI
InnerClasses:
private Actions = javax.swing.plaf.basic.BasicLabelUI$Actions of javax.swing.plaf.basic.BasicLabelUI