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
Fields inherited from class javax.swing.AbstractAction
changeSupport, enabled
Fields 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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
actionPerformed
(ActionEvent actionEvent) int
void
doAction()
boolean
getName()
int
hashCode()
void
setAccelerator
(KeyStroke accelerator) void
setActionListener
(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:
actionPerformed
in interfaceActionListener
-
hashCode
public int hashCode() -
equals
-
toString
-
doAction
public void doAction() -
compareTo
- Specified by:
compareTo
in interfaceComparable<UnregisteredAction>
-