Package mgui.interfaces.tools.graphics
Class ToolWindowZoom2D
java.lang.Object
mgui.interfaces.tools.graphics.Tool2D
mgui.interfaces.tools.graphics.ToolWindowZoom2D
- All Implemented Interfaces:
java.lang.Cloneable,PopupMenuObject,Tool,ToolInputListener,IconObject
public class ToolWindowZoom2D extends Tool2D
Interactive tool which allows the user to zoom on a window within the current view.
- Since:
- 1.0
- Version:
- 1.0
- Author:
- Andrew Reid
-
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 ToolWindowZoom2D()ToolWindowZoom2D(Tool2D last_tool) -
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
-
ToolWindowZoom2D
public ToolWindowZoom2D() -
ToolWindowZoom2D
-
-
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()
-