Package hec.map.aishape.stream
Class ShapeStreamAlignmentMouseAdapter
java.lang.Object
hec.map.MapMouseAdapter
hec.map.aishape.stream.ShapeStreamAlignmentMouseAdapter
- All Implemented Interfaces:
AiShapeConst,MouseListener,MouseMotionListener,EventListener
-
Field Summary
FieldsFields inherited from class hec.map.MapMouseAdapter
_mapCanvas, _mapPanel, _strbufFields inherited from interface hec.map.aishape.AiShapeConst
DEBUG, FILE_CODE, HIGHLIGHT_MODIFIER, QUERY_FLASH_LENGTH, SHAPE_TYPE_ARC, SHAPE_TYPE_MULTI_POINT, SHAPE_TYPE_NULL, SHAPE_TYPE_POINT, SHAPE_TYPE_POINT_M, SHAPE_TYPE_POINT_Z, SHAPE_TYPE_POLYGON, SHAPE_TYPE_POLYGON_M, SHAPE_TYPE_POLYGON_Z, SHAPE_TYPE_POLYLINE_M, SHAPE_TYPE_POLYLINE_Z, VERSION, XY_QUERY_TOLERANCE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ButtonGifStringsGets the Cursor that should be displayed when this mouse adapter is active.voidcalled when the mouse is dragged.voidcalled when the mouse is Pressed.voidcalled when the mouse is released.Methods inherited from class hec.map.MapMouseAdapter
abort, getWorldPt, getWorldPt, init, mouseClicked, mouseEntered, mouseExited, mouseMoved, pressedButton1, pressedButton2, pressedButton3
-
Field Details
-
CURSOR
- See Also:
-
-
Constructor Details
-
ShapeStreamAlignmentMouseAdapter
-
-
Method Details
-
mouseReleased
Description copied from class:MapMouseAdaptercalled when the mouse is released. This method is expected to be overridden by subclasses that are interested in this event.- Specified by:
mouseReleasedin interfaceMouseListener- Overrides:
mouseReleasedin classMapMouseAdapter- Parameters:
e- the MouseEvent
-
mousePressed
Description copied from class:MapMouseAdaptercalled when the mouse is Pressed. This method is expected to be overridden by subclasses that are interested in this event.- Specified by:
mousePressedin interfaceMouseListener- Overrides:
mousePressedin classMapMouseAdapter- Parameters:
e- the MouseEvent
-
mouseDragged
Description copied from class:MapMouseAdaptercalled when the mouse is dragged. This method is expected to be overridden by subclasses that are interested in this event.- Specified by:
mouseDraggedin interfaceMouseMotionListener- Overrides:
mouseDraggedin classMapMouseAdapter- Parameters:
e- the MouseEvent
-
buildDefaultButtonGifStrings
-
getCursor
Description copied from class:MapMouseAdapterGets the Cursor that should be displayed when this mouse adapter is active. By default it returnsjava.awt.Cursor.getDefaultCursor()- Overrides:
getCursorin classMapMouseAdapter- Returns:
- the Cursor to use for this adapter
-