public class AddNoteAction extends MapMode
| Modifier and Type | Field and Description |
|---|---|
private NoteData |
noteData |
sc| Constructor and Description |
|---|
AddNoteAction(MapFrame mapFrame,
NoteData data)
Construct a new map mode.
|
| Modifier and Type | Method and Description |
|---|---|
void |
enterMode()
Makes this map mode active.
|
void |
exitMode()
Makes this map mode inactive.
|
java.lang.String |
getModeHelpText() |
void |
mouseClicked(java.awt.event.MouseEvent e) |
actionPerformed, layerIsSupported, mouseDragged, mouseEntered, mouseExited, mouseMoved, mousePressed, mouseReleased, requestFocusInMapView, updateKeyModifiers, updateKeyModifiers, updateKeyModifiers, updateStatusLinedestroy, getCurrentDataSet, getEditLayer, getShortcut, initEnabledState, installAdapters, setTooltip, updateEnabledState, updateEnabledStatepublic AddNoteAction(MapFrame mapFrame, NoteData data)
mapFrame - Map frame to pass to the superconstructordata - Note data container. Must not be nullpublic java.lang.String getModeHelpText()
getModeHelpText in class MapModepublic void enterMode()
MapModepublic void exitMode()
MapModepublic void mouseClicked(java.awt.event.MouseEvent e)
mouseClicked in interface java.awt.event.MouseListenermouseClicked in class MapMode