public class ImageryAdjustAction extends MapMode implements MouseListener, MouseMotionListener, AWTEventListener
Modifier and Type | Class and Description |
---|---|
(package private) class |
ImageryAdjustAction.ImageryOffsetDialog |
Modifier and Type | Field and Description |
---|---|
(package private) static Cursor |
cursor |
private ImageryLayer |
layer |
(package private) boolean |
mouseDown |
(package private) static ImageryAdjustAction.ImageryOffsetDialog |
offsetDialog |
(package private) double |
oldDx |
(package private) double |
oldDy |
private MapMode |
oldMapMode |
(package private) EastNorth |
prevEastNorth |
sc
changeSupport, enabled
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON
Constructor and Description |
---|
ImageryAdjustAction(ImageryLayer layer) |
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(ActionEvent e)
Call selectMapMode(this) on the parent mapFrame.
|
protected void |
addListeners() |
void |
destroy()
Called when the object has been destroyed.
|
void |
enterMode()
Makes this map mode active.
|
void |
eventDispatched(AWTEvent event) |
void |
exitMode()
Makes this map mode inactive.
|
void |
mouseDragged(MouseEvent e) |
void |
mousePressed(MouseEvent e) |
void |
mouseReleased(MouseEvent e) |
protected void |
removeListeners() |
getModeHelpText, layerIsSupported, mouseClicked, mouseEntered, mouseExited, mouseMoved, requestFocusInMapView, updateKeyModifiers, updateKeyModifiers, updateKeyModifiers, updateStatusLine
getCurrentDataSet, getEditLayer, getShortcut, initEnabledState, installAdapters, setTooltip, updateEnabledState, updateEnabledState
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
mouseClicked, mouseEntered, mouseExited
mouseMoved
static ImageryAdjustAction.ImageryOffsetDialog offsetDialog
double oldDx
double oldDy
boolean mouseDown
EastNorth prevEastNorth
private ImageryLayer layer
private MapMode oldMapMode
public ImageryAdjustAction(ImageryLayer layer)
public void enterMode()
MapMode
protected void addListeners()
public void exitMode()
MapMode
protected void removeListeners()
public void eventDispatched(AWTEvent event)
eventDispatched
in interface AWTEventListener
public void mousePressed(MouseEvent e)
mousePressed
in interface MouseListener
mousePressed
in class MapMode
public void mouseDragged(MouseEvent e)
mouseDragged
in interface MouseMotionListener
mouseDragged
in class MapMode
public void mouseReleased(MouseEvent e)
mouseReleased
in interface MouseListener
mouseReleased
in class MapMode
public void actionPerformed(ActionEvent e)
MapMode
actionPerformed
in interface ActionListener
actionPerformed
in class MapMode
public void destroy()
Destroyable
destroy
in interface Destroyable
destroy
in class JosmAction