public abstract class javax.swing.AbstractAction implements javax.swing.Action, java.lang.Cloneable, java.io.Serializable
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: javax.swing.AbstractAction
super_class: java.lang.Object
{
private static java.lang.Boolean RECONFIGURE_ON_NULL;
descriptor: Ljava/lang/Boolean;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
protected boolean enabled;
descriptor: Z
flags: (0x0004) ACC_PROTECTED
private transient javax.swing.ArrayTable arrayTable;
descriptor: Ljavax/swing/ArrayTable;
flags: (0x0082) ACC_PRIVATE, ACC_TRANSIENT
protected javax.swing.event.SwingPropertyChangeSupport changeSupport;
descriptor: Ljavax/swing/event/SwingPropertyChangeSupport;
flags: (0x0004) ACC_PROTECTED
static boolean shouldReconfigure(java.beans.PropertyChangeEvent);
descriptor: (Ljava/beans/PropertyChangeEvent;)Z
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual java.beans.PropertyChangeEvent.getPropertyName:()Ljava/lang/String;
ifnonnull 11
1: ldc Ljavax/swing/AbstractAction;
dup
astore 1
monitorenter
2: getstatic javax.swing.AbstractAction.RECONFIGURE_ON_NULL:Ljava/lang/Boolean;
ifnonnull 7
3: new sun.security.action.GetPropertyAction
dup
4: ldc "swing.actions.reconfigureOnNull"
ldc "false"
5: invokespecial sun.security.action.GetPropertyAction.<init>:(Ljava/lang/String;Ljava/lang/String;)V
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.lang.String
6: invokestatic java.lang.Boolean.valueOf:(Ljava/lang/String;)Ljava/lang/Boolean;
putstatic javax.swing.AbstractAction.RECONFIGURE_ON_NULL:Ljava/lang/Boolean;
7: StackMap locals: java.lang.Class
StackMap stack:
getstatic javax.swing.AbstractAction.RECONFIGURE_ON_NULL:Ljava/lang/Boolean;
invokevirtual java.lang.Boolean.booleanValue:()Z
aload 1
monitorexit
8: ireturn
9: StackMap locals:
StackMap stack: java.lang.Throwable
aload 1
monitorexit
10: athrow
11: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 e Ljava/beans/PropertyChangeEvent;
Exception table:
from to target type
2 8 9 any
9 10 9 any
MethodParameters:
Name Flags
e
static void setEnabledFromAction(javax.swing.JComponent, javax.swing.Action);
descriptor: (Ljavax/swing/JComponent;Ljavax/swing/Action;)V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
ifnull 1
aload 1
invokeinterface javax.swing.Action.isEnabled:()Z
goto 2
StackMap locals:
StackMap stack: javax.swing.JComponent
1: iconst_1
StackMap locals: javax.swing.JComponent javax.swing.Action
StackMap stack: javax.swing.JComponent int
2: invokevirtual javax.swing.JComponent.setEnabled:(Z)V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 c Ljavax/swing/JComponent;
0 4 1 a Ljavax/swing/Action;
MethodParameters:
Name Flags
c
a
static void setToolTipTextFromAction(javax.swing.JComponent, javax.swing.Action);
descriptor: (Ljavax/swing/JComponent;Ljavax/swing/Action;)V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
ifnull 2
1: aload 1
ldc "ShortDescription"
invokeinterface javax.swing.Action.getValue:(Ljava/lang/String;)Ljava/lang/Object;
checkcast java.lang.String
goto 3
StackMap locals:
StackMap stack: javax.swing.JComponent
2: aconst_null
3: StackMap locals: javax.swing.JComponent javax.swing.Action
StackMap stack: javax.swing.JComponent java.lang.String
invokevirtual javax.swing.JComponent.setToolTipText:(Ljava/lang/String;)V
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 c Ljavax/swing/JComponent;
0 5 1 a Ljavax/swing/Action;
MethodParameters:
Name Flags
c
a
static boolean hasSelectedKey(javax.swing.Action);
descriptor: (Ljavax/swing/Action;)Z
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
ifnull 1
aload 0
ldc "SwingSelectedKey"
invokeinterface javax.swing.Action.getValue:(Ljava/lang/String;)Ljava/lang/Object;
ifnull 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 a Ljavax/swing/Action;
MethodParameters:
Name Flags
a
static boolean isSelected(javax.swing.Action);
descriptor: (Ljavax/swing/Action;)Z
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: getstatic java.lang.Boolean.TRUE:Ljava/lang/Boolean;
aload 0
ldc "SwingSelectedKey"
invokeinterface javax.swing.Action.getValue:(Ljava/lang/String;)Ljava/lang/Object;
invokevirtual java.lang.Boolean.equals:(Ljava/lang/Object;)Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 a Ljavax/swing/Action;
MethodParameters:
Name Flags
a
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
iconst_1
putfield javax.swing.AbstractAction.enabled:Z
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/swing/AbstractAction;
public void <init>(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_1
putfield javax.swing.AbstractAction.enabled:Z
2: aload 0
ldc "Name"
aload 1
invokevirtual javax.swing.AbstractAction.putValue:(Ljava/lang/String;Ljava/lang/Object;)V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/swing/AbstractAction;
0 4 1 name Ljava/lang/String;
MethodParameters:
Name Flags
name
public void <init>(java.lang.String, javax.swing.Icon);
descriptor: (Ljava/lang/String;Ljavax/swing/Icon;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokespecial javax.swing.AbstractAction.<init>:(Ljava/lang/String;)V
1: aload 0
ldc "SmallIcon"
aload 2
invokevirtual javax.swing.AbstractAction.putValue:(Ljava/lang/String;Ljava/lang/Object;)V
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/swing/AbstractAction;
0 3 1 name Ljava/lang/String;
0 3 2 icon Ljavax/swing/Icon;
MethodParameters:
Name Flags
name
icon
public java.lang.Object getValue(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ldc "enabled"
if_acmpne 2
1: aload 0
getfield javax.swing.AbstractAction.enabled:Z
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.AbstractAction.arrayTable:Ljavax/swing/ArrayTable;
ifnonnull 4
3: aconst_null
areturn
4: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.AbstractAction.arrayTable:Ljavax/swing/ArrayTable;
aload 1
invokevirtual javax.swing.ArrayTable.get:(Ljava/lang/Object;)Ljava/lang/Object;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljavax/swing/AbstractAction;
0 5 1 key Ljava/lang/String;
MethodParameters:
Name Flags
key
public void putValue(java.lang.String, java.lang.Object);
descriptor: (Ljava/lang/String;Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aconst_null
astore 3
start local 3 1: aload 1
ldc "enabled"
if_acmpne 7
2: aload 2
ifnull 3
aload 2
instanceof java.lang.Boolean
ifne 4
3: StackMap locals: java.lang.Object
StackMap stack:
iconst_0
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
astore 2
4: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.AbstractAction.enabled:Z
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
astore 3
5: aload 0
aload 2
checkcast java.lang.Boolean
invokevirtual java.lang.Boolean.booleanValue:()Z
putfield javax.swing.AbstractAction.enabled:Z
6: goto 15
7: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.AbstractAction.arrayTable:Ljavax/swing/ArrayTable;
ifnonnull 9
8: aload 0
new javax.swing.ArrayTable
dup
invokespecial javax.swing.ArrayTable.<init>:()V
putfield javax.swing.AbstractAction.arrayTable:Ljavax/swing/ArrayTable;
9: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.AbstractAction.arrayTable:Ljavax/swing/ArrayTable;
aload 1
invokevirtual javax.swing.ArrayTable.containsKey:(Ljava/lang/Object;)Z
ifeq 11
10: aload 0
getfield javax.swing.AbstractAction.arrayTable:Ljavax/swing/ArrayTable;
aload 1
invokevirtual javax.swing.ArrayTable.get:(Ljava/lang/Object;)Ljava/lang/Object;
astore 3
11: StackMap locals:
StackMap stack:
aload 2
ifnonnull 14
12: aload 0
getfield javax.swing.AbstractAction.arrayTable:Ljavax/swing/ArrayTable;
aload 1
invokevirtual javax.swing.ArrayTable.remove:(Ljava/lang/Object;)Ljava/lang/Object;
pop
13: goto 15
14: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.AbstractAction.arrayTable:Ljavax/swing/ArrayTable;
aload 1
aload 2
invokevirtual javax.swing.ArrayTable.put:(Ljava/lang/Object;Ljava/lang/Object;)V
15: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 3
aload 2
invokevirtual javax.swing.AbstractAction.firePropertyChange:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
16: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Ljavax/swing/AbstractAction;
0 17 1 key Ljava/lang/String;
0 17 2 newValue Ljava/lang/Object;
1 17 3 oldValue Ljava/lang/Object;
MethodParameters:
Name Flags
key
newValue
public boolean isEnabled();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.AbstractAction.enabled:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/AbstractAction;
public void setEnabled(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.swing.AbstractAction.enabled:Z
istore 2
start local 2 1: iload 2
iload 1
if_icmpeq 6
2: aload 0
iload 1
putfield javax.swing.AbstractAction.enabled:Z
3: aload 0
ldc "enabled"
4: iload 2
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
iload 1
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
5: invokevirtual javax.swing.AbstractAction.firePropertyChange:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
6: StackMap locals: int
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljavax/swing/AbstractAction;
0 7 1 newValue Z
1 7 2 oldValue Z
MethodParameters:
Name Flags
newValue
public java.lang.Object[] getKeys();
descriptor: ()[Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield javax.swing.AbstractAction.arrayTable:Ljavax/swing/ArrayTable;
ifnonnull 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.AbstractAction.arrayTable:Ljavax/swing/ArrayTable;
invokevirtual javax.swing.ArrayTable.size:()I
anewarray java.lang.Object
astore 1
start local 1 3: aload 0
getfield javax.swing.AbstractAction.arrayTable:Ljavax/swing/ArrayTable;
aload 1
invokevirtual javax.swing.ArrayTable.getKeys:([Ljava/lang/Object;)[Ljava/lang/Object;
pop
4: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljavax/swing/AbstractAction;
3 5 1 keys [Ljava/lang/Object;
protected void firePropertyChange(java.lang.String, java.lang.Object, java.lang.Object);
descriptor: (Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield javax.swing.AbstractAction.changeSupport:Ljavax/swing/event/SwingPropertyChangeSupport;
ifnull 2
1: aload 2
ifnull 3
aload 3
ifnull 3
aload 2
aload 3
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 3
2: StackMap locals:
StackMap stack:
return
3: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.AbstractAction.changeSupport:Ljavax/swing/event/SwingPropertyChangeSupport;
aload 1
aload 2
aload 3
invokevirtual javax.swing.event.SwingPropertyChangeSupport.firePropertyChange:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
4: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljavax/swing/AbstractAction;
0 5 1 propertyName Ljava/lang/String;
0 5 2 oldValue Ljava/lang/Object;
0 5 3 newValue Ljava/lang/Object;
MethodParameters:
Name Flags
propertyName
oldValue
newValue
public synchronized void addPropertyChangeListener(java.beans.PropertyChangeListener);
descriptor: (Ljava/beans/PropertyChangeListener;)V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.swing.AbstractAction.changeSupport:Ljavax/swing/event/SwingPropertyChangeSupport;
ifnonnull 2
1: aload 0
new javax.swing.event.SwingPropertyChangeSupport
dup
aload 0
invokespecial javax.swing.event.SwingPropertyChangeSupport.<init>:(Ljava/lang/Object;)V
putfield javax.swing.AbstractAction.changeSupport:Ljavax/swing/event/SwingPropertyChangeSupport;
2: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.AbstractAction.changeSupport:Ljavax/swing/event/SwingPropertyChangeSupport;
aload 1
invokevirtual javax.swing.event.SwingPropertyChangeSupport.addPropertyChangeListener:(Ljava/beans/PropertyChangeListener;)V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/swing/AbstractAction;
0 4 1 listener Ljava/beans/PropertyChangeListener;
MethodParameters:
Name Flags
listener
public synchronized void removePropertyChangeListener(java.beans.PropertyChangeListener);
descriptor: (Ljava/beans/PropertyChangeListener;)V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.swing.AbstractAction.changeSupport:Ljavax/swing/event/SwingPropertyChangeSupport;
ifnonnull 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.AbstractAction.changeSupport:Ljavax/swing/event/SwingPropertyChangeSupport;
aload 1
invokevirtual javax.swing.event.SwingPropertyChangeSupport.removePropertyChangeListener:(Ljava/beans/PropertyChangeListener;)V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/swing/AbstractAction;
0 4 1 listener Ljava/beans/PropertyChangeListener;
MethodParameters:
Name Flags
listener
public synchronized java.beans.PropertyChangeListener[] getPropertyChangeListeners();
descriptor: ()[Ljava/beans/PropertyChangeListener;
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.AbstractAction.changeSupport:Ljavax/swing/event/SwingPropertyChangeSupport;
ifnonnull 2
1: iconst_0
anewarray java.beans.PropertyChangeListener
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.AbstractAction.changeSupport:Ljavax/swing/event/SwingPropertyChangeSupport;
invokevirtual javax.swing.event.SwingPropertyChangeSupport.getPropertyChangeListeners:()[Ljava/beans/PropertyChangeListener;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/swing/AbstractAction;
protected java.lang.Object clone();
descriptor: ()Ljava/lang/Object;
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.clone:()Ljava/lang/Object;
checkcast javax.swing.AbstractAction
astore 1
start local 1 1: aload 0
dup
astore 2
monitorenter
2: aload 0
getfield javax.swing.AbstractAction.arrayTable:Ljavax/swing/ArrayTable;
ifnull 4
3: aload 1
aload 0
getfield javax.swing.AbstractAction.arrayTable:Ljavax/swing/ArrayTable;
invokevirtual javax.swing.ArrayTable.clone:()Ljava/lang/Object;
checkcast javax.swing.ArrayTable
putfield javax.swing.AbstractAction.arrayTable:Ljavax/swing/ArrayTable;
4: StackMap locals: javax.swing.AbstractAction javax.swing.AbstractAction
StackMap stack:
aload 2
monitorexit
5: goto 8
StackMap locals:
StackMap stack: java.lang.Throwable
6: aload 2
monitorexit
7: athrow
8: StackMap locals:
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljavax/swing/AbstractAction;
1 9 1 newAction Ljavax/swing/AbstractAction;
Exception table:
from to target type
2 5 6 any
6 7 6 any
Exceptions:
throws java.lang.CloneNotSupportedException
private void writeObject(java.io.ObjectOutputStream);
descriptor: (Ljava/io/ObjectOutputStream;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.io.ObjectOutputStream.defaultWriteObject:()V
1: aload 1
aload 0
getfield javax.swing.AbstractAction.arrayTable:Ljavax/swing/ArrayTable;
invokestatic javax.swing.ArrayTable.writeArrayTable:(Ljava/io/ObjectOutputStream;Ljavax/swing/ArrayTable;)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/swing/AbstractAction;
0 3 1 s Ljava/io/ObjectOutputStream;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
s
private void readObject(java.io.ObjectInputStream);
descriptor: (Ljava/io/ObjectInputStream;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.io.ObjectInputStream.defaultReadObject:()V
1: aload 1
invokevirtual java.io.ObjectInputStream.readInt:()I
iconst_1
isub
istore 2
start local 2 2: goto 5
3: StackMap locals: int
StackMap stack:
aload 0
aload 1
invokevirtual java.io.ObjectInputStream.readObject:()Ljava/lang/Object;
checkcast java.lang.String
aload 1
invokevirtual java.io.ObjectInputStream.readObject:()Ljava/lang/Object;
invokevirtual javax.swing.AbstractAction.putValue:(Ljava/lang/String;Ljava/lang/Object;)V
4: iinc 2 -1
StackMap locals:
StackMap stack:
5: iload 2
ifge 3
end local 2 6: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljavax/swing/AbstractAction;
0 7 1 s Ljava/io/ObjectInputStream;
2 6 2 counter I
Exceptions:
throws java.lang.ClassNotFoundException, java.io.IOException
MethodParameters:
Name Flags
s
}
SourceFile: "AbstractAction.java"