public abstract class BoxBandTool extends IndicatorTool
| Modifier and Type | Field and Description |
|---|---|
private static int |
MIN_MOVEMENT |
private java.awt.Point |
zoomBoxEnd |
private java.awt.Point |
zoomBoxStart |
| Constructor and Description |
|---|
BoxBandTool() |
BoxBandTool(java.awt.Cursor cursor) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
gestureFinished() |
protected Geometry |
getBox() |
protected java.util.List |
getCoordinates()
Gets the coordinates for the rectangle
starting at the first point clicked.
|
protected java.util.List |
getCoordinatesOfEnvelope()
Getes the coordinates for the rectangle
starting with the lower left point.
|
protected Envelope |
getEnvelope()
Gets the envelope of the indicated rectangle,
in model coordinates.
|
protected java.awt.Shape |
getShape()
Gets the shape for displaying the current state of the action.
|
private boolean |
isSignificantMouseMove() |
void |
mouseDragged(java.awt.event.MouseEvent e) |
void |
mousePressed(java.awt.event.MouseEvent e) |
void |
mouseReleased(java.awt.event.MouseEvent e) |
clearIndicator, isIndicatorVisible, mouseMoved, redrawIndicatoractivate, deactivate, geomModel, getCursor, getGraphics2D, getModelSnapTolerance, gridSize, keyPressed, keyReleased, keyTyped, mouseClicked, mouseEntered, mouseExited, mouseWheelMoved, panel, toModel, toModel, toModelCoordinate, toModelSnapped, toModelSnappedIfCloseToViewGrid, toModelSnappedToViewGrid, toView, toViewprivate java.awt.Point zoomBoxStart
private java.awt.Point zoomBoxEnd
private static final int MIN_MOVEMENT
public BoxBandTool()
public BoxBandTool(java.awt.Cursor cursor)
public void mousePressed(java.awt.event.MouseEvent e)
mousePressed in interface java.awt.event.MouseListenermousePressed in class BasicToolpublic void mouseReleased(java.awt.event.MouseEvent e)
mouseReleased in interface java.awt.event.MouseListenermouseReleased in class BasicToolpublic void mouseDragged(java.awt.event.MouseEvent e)
mouseDragged in interface java.awt.event.MouseMotionListenermouseDragged in class IndicatorToolprotected java.awt.Shape getShape()
IndicatorToolgetShape in class IndicatorToolprivate boolean isSignificantMouseMove()
protected Envelope getEnvelope()
protected Geometry getBox()
protected java.util.List getCoordinatesOfEnvelope()
protected java.util.List getCoordinates()
protected void gestureFinished()