public abstract class LineBandTool extends IndicatorTool
| Modifier and Type | Field and Description |
|---|---|
protected Coordinate |
tentativeCoordinate |
| Constructor and Description |
|---|
LineBandTool() |
LineBandTool(Cursor cursor) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
add(Coordinate c) |
protected abstract void |
bandFinished() |
protected void |
finishGesture() |
List |
getCoordinates()
Returns an empty List once the shape is cleared.
|
protected Shape |
getShape()
Gets the shape for displaying the current state of the action.
|
protected boolean |
isFinishingRelease(MouseEvent e) |
Coordinate |
lastCoordinate() |
void |
mouseDragged(MouseEvent e) |
protected void |
mouseLocationChanged(MouseEvent e) |
void |
mouseMoved(MouseEvent e) |
void |
mousePressed(MouseEvent e) |
void |
mouseReleased(MouseEvent e) |
protected void |
setClickCountToFinishGesture(int clickCountToFinish) |
protected void |
setCloseRing(boolean closeRing) |
protected void |
setDrawBandLines(boolean drawBandLines) |
protected Coordinate[] |
toArray(List coordinates) |
clearIndicator, isIndicatorVisible, redrawIndicatoractivate, deactivate, geomModel, getCursor, getGraphics2D, gridSize, keyPressed, keyReleased, keyTyped, mouseClicked, mouseEntered, mouseExited, mouseWheelMoved, panel, toModelSnapped, toModelSnappedIfCloseToViewGrid, toModelSnappedToViewGridprotected Coordinate tentativeCoordinate
public LineBandTool()
public LineBandTool(Cursor cursor)
protected void setCloseRing(boolean closeRing)
protected void setClickCountToFinishGesture(int clickCountToFinish)
protected void setDrawBandLines(boolean drawBandLines)
public List getCoordinates()
public Coordinate lastCoordinate()
public void mouseReleased(MouseEvent e)
mouseReleased in interface MouseListenermouseReleased in class BasicToolprotected void mouseLocationChanged(MouseEvent e)
public void mouseMoved(MouseEvent e)
mouseMoved in interface MouseMotionListenermouseMoved in class IndicatorToolpublic void mouseDragged(MouseEvent e)
mouseDragged in interface MouseMotionListenermouseDragged in class IndicatorToolprotected void add(Coordinate c)
public void mousePressed(MouseEvent e)
mousePressed in interface MouseListenermousePressed in class BasicToolprotected Shape getShape()
IndicatorToolgetShape in class IndicatorToolprotected boolean isFinishingRelease(MouseEvent e)
protected Coordinate[] toArray(List coordinates)
Copyright © 2025. All rights reserved.