Package net.mcreator.ui.action
Class UnregisteredAction
java.lang.Object
javax.swing.AbstractAction
net.mcreator.ui.action.UnregisteredAction
- All Implemented Interfaces:
ActionListener,Serializable,Cloneable,Comparable<UnregisteredAction>,EventListener,Action
- Direct Known Subclasses:
BasicAction
- See Also:
-
Field Summary
FieldsFields inherited from class javax.swing.AbstractAction
changeSupport, enabledFields inherited from interface javax.swing.Action
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidactionPerformed(ActionEvent actionEvent) intvoiddoAction()booleangetName()inthashCode()voidsetAccelerator(KeyStroke accelerator) voidsetActionListener(ActionListener actionListener) setTooltip(String tooltip) toString()Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
-
Field Details
-
EMPTY
-
-
Constructor Details
-
UnregisteredAction
-
-
Method Details
-
getName
-
setActionListener
-
setIcon
-
setTooltip
-
setAccelerator
-
actionPerformed
- Specified by:
actionPerformedin interfaceActionListener
-
hashCode
public int hashCode() -
equals
-
toString
-
doAction
public void doAction() -
compareTo
- Specified by:
compareToin interfaceComparable<UnregisteredAction>
-