Example usage for Java javax.swing AbstractAction fields, constructors, methods, implement or subclass
The text is from its open source code.
AbstractAction(String name) Creates an Action with the specified name. | |
AbstractAction(String name, Icon icon) Creates an Action with the specified name and small icon. | |
AbstractAction() Creates an Action . |
void | actionPerformed(ActionEvent e) Invoked when an action occurs. |
void | addPropertyChangeListener(PropertyChangeListener listener) Adds a PropertyChangeListener to the listener list. |
Object | getValue(String key) Gets the Object associated with the specified key. |
boolean | isEnabled() Returns true if the action is enabled. |
void | putValue(String key, Object newValue) Sets the Value associated with the specified key. |
void | setEnabled(boolean newValue) Sets whether the Action is enabled. |