Package hec.map
Class ElevationAdapter
java.lang.Object
hec.map.MapMouseAdapter
hec.map.ElevationAdapter
- All Implemented Interfaces:
MouseListener
,MouseMotionListener
,EventListener
Stream Alignment editor adapter for MapCanvas.
-
Field Summary
Fields inherited from class hec.map.MapMouseAdapter
_mapCanvas, _mapPanel, _strbuf
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
called when the mouse is dragged.void
called when the mouse is Pressed.void
called when the mouse is released.Methods inherited from class hec.map.MapMouseAdapter
abort, buildDefaultButtonGifStrings, getCursor, getWorldPt, getWorldPt, init, mouseClicked, mouseEntered, mouseExited, mouseMoved, pressedButton1, pressedButton2, pressedButton3
-
Constructor Details
-
ElevationAdapter
-
-
Method Details
-
getElevationGlyphs
-
mouseReleased
Description copied from class:MapMouseAdapter
called when the mouse is released. This method is expected to be overridden by subclasses that are interested in this event.- Specified by:
mouseReleased
in interfaceMouseListener
- Overrides:
mouseReleased
in classMapMouseAdapter
- Parameters:
e
- the MouseEvent
-
mousePressed
Description copied from class:MapMouseAdapter
called when the mouse is Pressed. This method is expected to be overridden by subclasses that are interested in this event.- Specified by:
mousePressed
in interfaceMouseListener
- Overrides:
mousePressed
in classMapMouseAdapter
- Parameters:
e
- the MouseEvent
-
mouseDragged
Description copied from class:MapMouseAdapter
called when the mouse is dragged. This method is expected to be overridden by subclasses that are interested in this event.- Specified by:
mouseDragged
in interfaceMouseMotionListener
- Overrides:
mouseDragged
in classMapMouseAdapter
- Parameters:
e
- the MouseEvent
-