Class ProfileGraphTool
java.lang.Object
com.vividsolutions.jump.workbench.ui.cursortool.AbstractCursorTool
com.vividsolutions.jump.workbench.ui.cursortool.MultiClickTool
org.openjump.core.ui.plugin.raster.ProfileGraphTool
- All Implemented Interfaces:
CursorTool, MouseListener, MouseMotionListener, EventListener
-
Nested Class Summary
Nested classes/interfaces inherited from class AbstractCursorTool
AbstractCursorTool.Listener -
Field Summary
FieldsModifier and TypeFieldDescriptionorg.locationtech.jts.geom.Coordinate[]static org.locationtech.jts.geom.CoordinateFields inherited from class MultiClickTool
mouseLastLocFields inherited from class AbstractCursorTool
isLinuxOS, panel -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class MultiClickTool
activate, add, cancelGesture, deactivate, finishGesture, getCoordinates, getMetrics, getShape, isFinishingRelease, mouseDragged, mouseMoved, mouseReleased, setCloseRing, setMetricsDisplay, toArrayMethods inherited from class AbstractCursorTool
add, allowSnapping, check, cleanup, clearImage, clearShape, componentWithFocusIsHandledByCursorTools, createCursor, createCursor, createCursor, createStandardSnappingPolicies, drawImageXOR, drawImageXOR, drawShapeXOR, drawShapeXOR, execute, execute, fireGestureFinished, getColor, getImage, getImagePosition, getPanel, getPanel, getSnapManager, getStroke, getTaskFrame, getWorkbench, getWorkbenchContext, isGestureInProgress, isRightMouseButtonUsed, isRollingBackInvalidEdits, isShapeOnScreen, mouseClicked, mouseEntered, mouseExited, name, prohibitSnapping, redrawImage, redrawShape, reportNothingToUndoYet, setColor, setControlPressed, setFilling, setPanel, setShiftPressed, setStroke, setup, snap, snap, supportsSnapping, toString, wasControlPressed, wasShiftPressed
-
Field Details
-
currCoord
public static org.locationtech.jts.geom.Coordinate currCoord -
coordinates
public org.locationtech.jts.geom.Coordinate[] coordinates
-
-
Constructor Details
-
ProfileGraphTool
-
-
Method Details
-
getIcon
- Returns:
- null to use a default icon
-
getCursor
- Specified by:
getCursorin interfaceCursorTool- Overrides:
getCursorin classAbstractCursorTool
-
mouseLocationChanged
- Overrides:
mouseLocationChangedin classMultiClickTool
-
mousePressed
- Specified by:
mousePressedin interfaceMouseListener- Overrides:
mousePressedin classMultiClickTool
-
gestureFinished
protected void gestureFinished() throws NoninvertibleTransformException, IOException, RasterImageLayer.RasterDataNotFoundException- Specified by:
gestureFinishedin classAbstractCursorTool- Throws:
NoninvertibleTransformExceptionIOExceptionRasterImageLayer.RasterDataNotFoundException
-
getName
Description copied from interface:CursorToolReturns a very brief description of this CursorTool.- Specified by:
getNamein interfaceCursorTool- Overrides:
getNamein classAbstractCursorTool- Returns:
- the name of this CursorTool
-