Class TextureAction
java.lang.Object
javax.swing.AbstractAction
net.mcreator.ui.action.UnregisteredAction
net.mcreator.ui.action.BasicAction
net.mcreator.ui.action.impl.workspace.resources.TextureAction
- All Implemented Interfaces:
ActionListener
,Serializable
,Cloneable
,Comparable<UnregisteredAction>
,EventListener
,Action
- Direct Known Subclasses:
TextureImportAction
- See Also:
-
Field Summary
Fields inherited from class net.mcreator.ui.action.BasicAction
actionRegistry
Fields inherited from class net.mcreator.ui.action.UnregisteredAction
EMPTY
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
ConstructorDescriptionTextureAction
(ActionRegistry actionRegistry, String name, ActionListener listener) TextureAction
(ActionRegistry actionRegistry, String name, ActionListener listener, TextureType textureType) -
Method Summary
Methods inherited from class net.mcreator.ui.action.BasicAction
setIcon, setTooltip
Methods inherited from class net.mcreator.ui.action.UnregisteredAction
actionPerformed, compareTo, doAction, equals, getName, hashCode, setAccelerator, setActionListener, toString
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, putValue, removePropertyChangeListener, setEnabled
-
Constructor Details
-
TextureAction
-
TextureAction
public TextureAction(ActionRegistry actionRegistry, String name, ActionListener listener, @Nullable TextureType textureType)
-
-
Method Details
-
isEnabled
public boolean isEnabled()- Specified by:
isEnabled
in interfaceAction
- Overrides:
isEnabled
in classAbstractAction
-