public class ZoomRealtimeTool extends AbstractZoomTool
AbstractCursorTool.Listener
auxImage, mouseWheelCount, origImage, scale, zoomTo
DEFAULT_VIEW_CLICK_BUFFER, modelDestination, modelSource
isLinuxOS, panel
Constructor and Description |
---|
ZoomRealtimeTool() |
Modifier and Type | Method and Description |
---|---|
protected void |
gestureFinished() |
java.awt.Cursor |
getCursor() |
javax.swing.Icon |
getIcon() |
java.lang.String |
getName()
Returns a very brief description of this CursorTool.
|
protected java.awt.Shape |
getShape(java.awt.geom.Point2D source,
java.awt.geom.Point2D destination) |
boolean |
isRightMouseButtonUsed() |
void |
mouseDragged(java.awt.event.MouseEvent e) |
void |
mouseReleased(java.awt.event.MouseEvent e) |
cacheImage, createImageIfNeeded, drawImage, getAnimatingZoom, getCentre, mouseWheelMoved, scaleImageAtCentre, scaleImageAtPoint, setAnimatingZoom, zoomAt
deactivate, getBoxInModelCoordinates, getModelDestination, getModelSource, getShape, getViewDestination, getViewSource, modelClickBuffer, mousePressed, setModelDestination, setModelSource, setViewClickBuffer, setViewDestination, setViewSource, wasClick
activate, add, allowSnapping, cancelGesture, check, cleanup, clearImage, clearShape, createCursor, createCursor, drawImageXOR, drawImageXOR, drawShapeXOR, drawShapeXOR, execute, fireGestureFinished, getColor, getImage, getImagePosition, getPanel, getPanel, getSnapManager, getTaskFrame, getWorkbench, getWorkbenchFrame, isGestureInProgress, isRollingBackInvalidEdits, isShapeOnScreen, mouseClicked, mouseEntered, mouseExited, mouseMoved, name, prohibitSnapping, redrawImage, redrawShape, reportNothingToUndoYet, setColor, setFilling, setPanel, setStroke, setStrokeWidth, setup, snap, snap, supportsSnapping, toString, wasControlPressed, wasShiftPressed, workbench, workbenchFrame
public java.awt.Cursor getCursor()
getCursor
in interface CursorTool
getCursor
in class AbstractZoomTool
public javax.swing.Icon getIcon()
getIcon
in interface CursorTool
getIcon
in class AbstractZoomTool
public boolean isRightMouseButtonUsed()
isRightMouseButtonUsed
in interface CursorTool
isRightMouseButtonUsed
in class AbstractCursorTool
public java.lang.String getName()
CursorTool
getName
in interface CursorTool
getName
in class AbstractCursorTool
public void mouseDragged(java.awt.event.MouseEvent e)
mouseDragged
in interface java.awt.event.MouseMotionListener
mouseDragged
in class DragTool
public void mouseReleased(java.awt.event.MouseEvent e)
mouseReleased
in interface java.awt.event.MouseListener
mouseReleased
in class DragTool
protected java.awt.Shape getShape(java.awt.geom.Point2D source, java.awt.geom.Point2D destination)
protected void gestureFinished() throws java.awt.geom.NoninvertibleTransformException
gestureFinished
in class AbstractZoomTool
java.awt.geom.NoninvertibleTransformException