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 13
aload 2
invokevirtual java.awt.Component.isEnabled:()Z
ifeq 13
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
iconst_0
invokevirtual javax.swing.plaf.basic.BasicLabelUI$Actions.putOnRelease:(Ljavax/swing/InputMap;II)V
11: aload 0
aload 3
bipush 18
iconst_0
invokevirtual javax.swing.plaf.basic.BasicLabelUI$Actions.putOnRelease:(Ljavax/swing/InputMap;II)V
12: aload 1
invokevirtual javax.swing.JLabel.requestFocus:()V
end local 4 end local 3 13: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Ljavax/swing/plaf/basic/BasicLabelUI$Actions;
0 14 1 label Ljavax/swing/JLabel;
1 14 2 labelFor Ljava/awt/Component;
3 13 3 inputMap Ljavax/swing/InputMap;
7 13 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 47
aload 3
invokevirtual java.awt.Component.isEnabled:()Z
ifeq 47
2: aload 1
invokevirtual javax.swing.JLabel.hasFocus:()Z
ifeq 35
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 13
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
iconst_0
invokevirtual javax.swing.plaf.basic.BasicLabelUI$Actions.removeOnRelease:(Ljavax/swing/InputMap;II)V
12: aload 0
aload 4
bipush 18
iconst_0
invokevirtual javax.swing.plaf.basic.BasicLabelUI$Actions.removeOnRelease:(Ljavax/swing/InputMap;II)V
end local 5 13: StackMap locals: java.awt.Component javax.swing.InputMap
StackMap stack:
aload 1
14: iconst_2
15: invokestatic javax.swing.SwingUtilities.getUIInputMap:(Ljavax/swing/JComponent;I)Ljavax/swing/InputMap;
astore 4
16: aload 4
ifnonnull 21
17: new javax.swing.plaf.InputMapUIResource
dup
invokespecial javax.swing.plaf.InputMapUIResource.<init>:()V
astore 4
18: aload 1
19: iconst_2
aload 4
20: invokestatic javax.swing.SwingUtilities.replaceUIInputMap:(Ljavax/swing/JComponent;ILjavax/swing/InputMap;)V
21: StackMap locals:
StackMap stack:
aload 1
invokevirtual javax.swing.JLabel.getDisplayedMnemonic:()I
istore 5
start local 5 22: iload 2
ifeq 25
23: aload 0
aload 4
bipush 18
iconst_0
invokevirtual javax.swing.plaf.basic.BasicLabelUI$Actions.putOnRelease:(Ljavax/swing/InputMap;II)V
24: goto 29
25: StackMap locals: int
StackMap stack:
aload 0
aload 4
iload 5
26: invokestatic javax.swing.plaf.basic.BasicLookAndFeel.getFocusAcceleratorKeyMask:()I
27: invokevirtual javax.swing.plaf.basic.BasicLabelUI$Actions.putOnRelease:(Ljavax/swing/InputMap;II)V
28: aload 0
aload 4
iload 5
iconst_0
invokevirtual javax.swing.plaf.basic.BasicLabelUI$Actions.putOnRelease:(Ljavax/swing/InputMap;II)V
29: StackMap locals:
StackMap stack:
aload 3
instanceof java.awt.Container
ifeq 33
30: aload 3
checkcast java.awt.Container
invokevirtual java.awt.Container.isFocusCycleRoot:()Z
ifeq 33
31: aload 3
invokevirtual java.awt.Component.requestFocus:()V
32: goto 47
33: StackMap locals:
StackMap stack:
aload 3
invokestatic sun.swing.SwingUtilities2.compositeRequestFocus:(Ljava/awt/Component;)Ljava/awt/Component;
pop
end local 5 end local 4 34: goto 47
35: StackMap locals:
StackMap stack:
aload 1
36: iconst_2
37: invokestatic javax.swing.SwingUtilities.getUIInputMap:(Ljavax/swing/JComponent;I)Ljavax/swing/InputMap;
astore 4
start local 4 38: aload 1
invokevirtual javax.swing.JLabel.getDisplayedMnemonic:()I
istore 5
start local 5 39: aload 4
ifnull 47
40: iload 2
ifeq 46
41: aload 0
aload 4
iload 5
42: invokestatic javax.swing.plaf.basic.BasicLookAndFeel.getFocusAcceleratorKeyMask:()I
43: invokevirtual javax.swing.plaf.basic.BasicLabelUI$Actions.removeOnRelease:(Ljavax/swing/InputMap;II)V
44: aload 0
aload 4
iload 5
iconst_0
invokevirtual javax.swing.plaf.basic.BasicLabelUI$Actions.removeOnRelease:(Ljavax/swing/InputMap;II)V
45: goto 47
46: 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 47: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 48 0 this Ljavax/swing/plaf/basic/BasicLabelUI$Actions;
0 48 1 label Ljavax/swing/JLabel;
0 48 2 isCommand Z
1 48 3 labelFor Ljava/awt/Component;
6 34 4 inputMap Ljavax/swing/InputMap;
8 13 5 dka I
22 34 5 dka I
38 47 4 inputMap Ljavax/swing/InputMap;
39 47 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