Class AbstractModificationTool
java.lang.Object
net.mcreator.ui.views.editor.image.tool.tools.AbstractTool
net.mcreator.ui.views.editor.image.tool.tools.AbstractModificationTool
- All Implemented Interfaces:
MouseListener
,MouseMotionListener
,EventListener
,ToolActivationListener
- Direct Known Subclasses:
AbstractDrawingTool
,FloodFillTool
,LineTool
,ShapeTool
-
Field Summary
Fields inherited from class net.mcreator.ui.views.editor.image.tool.tools.AbstractTool
canvas, colorSelector, description, icon, layer, layerPanel, name, processSuccess, settingsPanel, startSuccess, versionManager
-
Constructor Summary
ConstructorDescriptionAbstractModificationTool
(String name, String description, ImageIcon icon, Canvas canvas, ColorSelector colorSelector, VersionManager versionManager) -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
Methods inherited from class net.mcreator.ui.views.editor.image.tool.tools.AbstractTool
getCursor, getDescription, getHoverCursor, getIcon, getLayer, getName, getPropertiesPanel, getToolPanelButton, getUsingCursor, mouseClicked, mouseDragged, mouseEntered, mouseExited, mouseMoved, noSettings, process, setCanvas, setLayer, setLayerPanel, setToolPanelButton, toolActivationChanged, toolDisabled, toolEnabled
-
Constructor Details
-
AbstractModificationTool
public AbstractModificationTool(String name, String description, ImageIcon icon, Canvas canvas, ColorSelector colorSelector, VersionManager versionManager)
-
-
Method Details
-
mousePressed
- Specified by:
mousePressed
in interfaceMouseListener
- Overrides:
mousePressed
in classAbstractTool
-
mouseReleased
- Specified by:
mouseReleased
in interfaceMouseListener
- Overrides:
mouseReleased
in classAbstractTool
-