public abstract class BoxBandTool extends IndicatorTool
Constructor and Description |
---|
BoxBandTool() |
BoxBandTool(Cursor cursor) |
Modifier and Type | Method and Description |
---|---|
protected void |
gestureFinished() |
protected Geometry |
getBox() |
protected List |
getCoordinates()
Gets the coordinates for the rectangle
starting at the first point clicked.
|
protected 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 Shape |
getShape()
Gets the shape for displaying the current state of the action.
|
void |
mouseDragged(MouseEvent e) |
void |
mousePressed(MouseEvent e) |
void |
mouseReleased(MouseEvent e) |
clearIndicator, isIndicatorVisible, mouseMoved, redrawIndicator
activate, deactivate, geomModel, getCursor, getGraphics2D, gridSize, keyPressed, keyReleased, keyTyped, mouseClicked, mouseEntered, mouseExited, mouseWheelMoved, panel, toModelSnapped, toModelSnappedIfCloseToViewGrid, toModelSnappedToViewGrid
public BoxBandTool()
public BoxBandTool(Cursor cursor)
public void mousePressed(MouseEvent e)
mousePressed
in interface MouseListener
mousePressed
in class BasicTool
public void mouseReleased(MouseEvent e)
mouseReleased
in interface MouseListener
mouseReleased
in class BasicTool
public void mouseDragged(MouseEvent e)
mouseDragged
in interface MouseMotionListener
mouseDragged
in class IndicatorTool
protected Shape getShape()
IndicatorTool
getShape
in class IndicatorTool
protected Envelope getEnvelope()
protected Geometry getBox()
protected List getCoordinatesOfEnvelope()
protected List getCoordinates()
protected void gestureFinished()
Copyright © 2018. All rights reserved.