Properties

The AbstractAction class stores its keyed properties in a Hashtable object. Beyond that, the AbstractAction object contains a few properties, as shown in following table. The enabled property defines whether the application can invoke the action. When this property changes, AbstractAction fires a PropertyChangeEvent. The mutator for this property, setEnabled( ), is synchronized. If you want a list of the current property listeners, use the propertyChangeListeners property.

AbstractAction properties

Property Data type get is set Default value

b

boolean

· · true
keysb, 1.3 Object[] ·     null
propertyChangeListeners1.4 PropertyChangeListener[] ·     Empty array
1.3since 1.3, 1.4since 1.4, bbound