Class: javax.swing.AbstractAction

This class provides default implementations for the JFC Action interface. Standard behaviors like the get and set methods for Action object properties (icon, text, and enabled) are defined here. The developer need only subclass this abstract class and define the actionPerformed method.

Warning: Serialized objects of this class will not be compatible with future Swing releases. The current serialization support is appropriate for short term storage or RMI between applications running the same version of Swing. As of 1.4, support for long term storage of all JavaBeansTM has been added to the java.beans package. Please see java.beans.XMLEncoder.

Authors:
@author Georges Saab
See:
@see javax.swing.Action

Inheritance

Superclass tree: Implements:

Methods

Fields

  • RECONFIGURE_ON_NULL

    static private Boolean RECONFIGURE_ON_NULL
    Whether or not actions should reconfigure all properties on null.
  • arrayTable

    transient private ArrayTable arrayTable
    Contains the array of key bindings.
  • changeSupport

    protected SwingPropertyChangeSupport changeSupport
    If any PropertyChangeListeners have been registered, the changeSupport field describes them.
  • enabled

    protected boolean enabled
    Specifies whether action is enabled; the default is true.