Package mgui.interfaces.tools.shapes
Class ToolCreateRect2D
java.lang.Object
mgui.interfaces.tools.graphics.Tool2D
mgui.interfaces.tools.shapes.ToolCreateRect2D
- All Implemented Interfaces:
java.lang.Cloneable,PopupMenuObject,Tool,ToolInputListener,IconObject
public class ToolCreateRect2D extends Tool2D
-
Field Summary
Fields inherited from class mgui.interfaces.tools.graphics.Tool2D
icon, is_active, isImmediate, last_tool, listeners, name, targetPanel, targetShape, toolPhase -
Constructor Summary
Constructors Constructor Description ToolCreateRect2D() -
Method Summary
Modifier and Type Method Description java.lang.Objectclone()voidhandleToolEvent(ToolInputEvent e)Handle this tool eventMethods inherited from class mgui.interfaces.tools.graphics.Tool2D
activate, addListener, deactivate, fireListeners, fireListeners, getName, getObjectIcon, getPopupMenu, getPopupMenu, getPreviousTool, handlePopupEvent, isExclusive, isImmediate, removeListener, setIcon, setTargetPanel, setTargetShape, showPopupMenuMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
startPt
public java.awt.Point startPt -
lastPt
public java.awt.Point lastPt
-
-
Constructor Details
-
ToolCreateRect2D
public ToolCreateRect2D()
-
-
Method Details
-
handleToolEvent
Description copied from interface:ToolInputListenerHandle this tool event- Specified by:
handleToolEventin interfaceToolInputListener- Specified by:
handleToolEventin classTool2D
-
clone
public java.lang.Object clone()
-