AbstractAction
- class javax.swing..
AbstractAction public abstract class AbstractAction extends
Object implements
Action ,
Cloneable ,
Serializable Tree:java.lang.Object - 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.
AbstractAction()
- Constructor for class javax.swing.
AbstractAction public AbstractAction ()
Defines an Action object with a default description string and default icon.
AbstractAction(String)
- Constructor for class javax.swing.
AbstractAction public AbstractAction (
String name)
Defines an Action object with the specified description string and a default icon.
AbstractAction(String, Icon)
- Constructor for class javax.swing.
AbstractAction public AbstractAction (
String name,
Icon icon)
Defines an Action object with the specified description string and a the specified icon.