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
actionRegistryFields inherited from class net.mcreator.ui.action.UnregisteredAction
EMPTYFields 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
ConstructorsConstructorDescriptionTextureAction(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, setTooltipMethods inherited from class net.mcreator.ui.action.UnregisteredAction
actionPerformed, compareTo, doAction, equals, getName, hashCode, setAccelerator, setActionListener, toStringMethods 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:
isEnabledin interfaceAction- Overrides:
isEnabledin classAbstractAction
-