public abstract class IndicatorTool extends BasicTool
Constructor and Description |
---|
IndicatorTool() |
IndicatorTool(Cursor cursor) |
Modifier and Type | Method and Description |
---|---|
protected void |
clearIndicator() |
protected Shape |
getShape()
Gets the shape for displaying the current state of the action.
|
boolean |
isIndicatorVisible()
Important for XOR drawing.
|
void |
mouseDragged(MouseEvent e) |
void |
mouseMoved(MouseEvent e) |
protected void |
redrawIndicator() |
activate, deactivate, geomModel, getCursor, getGraphics2D, gridSize, keyPressed, keyReleased, keyTyped, mouseClicked, mouseEntered, mouseExited, mousePressed, mouseReleased, mouseWheelMoved, panel, toModelSnapped, toModelSnappedIfCloseToViewGrid, toModelSnappedToViewGrid
public IndicatorTool()
public IndicatorTool(Cursor cursor)
protected Shape getShape()
public boolean isIndicatorVisible()
protected void clearIndicator()
protected void redrawIndicator()
public void mouseDragged(MouseEvent e)
mouseDragged
in interface MouseMotionListener
mouseDragged
in class BasicTool
public void mouseMoved(MouseEvent e)
mouseMoved
in interface MouseMotionListener
mouseMoved
in class BasicTool
Copyright © 2020. All Rights Reserved.