public class ImageryAdjustAction extends MapMode implements java.awt.event.MouseListener, java.awt.event.MouseMotionListener, java.awt.event.AWTEventListener
| Modifier and Type | Class and Description |
|---|---|
private class |
ImageryAdjustAction.ImageryOffsetDialog |
| Modifier and Type | Field and Description |
|---|---|
private static java.awt.Cursor |
cursor |
private ImageryLayer |
layer |
private static ImageryAdjustAction.ImageryOffsetDialog |
offsetDialog |
private double |
oldDx |
private double |
oldDy |
private MapMode |
oldMapMode |
private EastNorth |
prevEastNorth |
sc| Constructor and Description |
|---|
ImageryAdjustAction(ImageryLayer layer)
Constructs a new
ImageryAdjustAction for the given layer. |
| Modifier and Type | Method and Description |
|---|---|
void |
actionPerformed(java.awt.event.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(java.awt.AWTEvent event) |
void |
exitMode()
Makes this map mode inactive.
|
void |
mouseDragged(java.awt.event.MouseEvent e) |
void |
mousePressed(java.awt.event.MouseEvent e) |
void |
mouseReleased(java.awt.event.MouseEvent e) |
protected void |
removeListeners() |
getModeHelpText, layerIsSupported, mouseClicked, mouseEntered, mouseExited, mouseMoved, requestFocusInMapView, updateKeyModifiers, updateKeyModifiers, updateKeyModifiers, updateStatusLinegetCurrentDataSet, getEditLayer, getShortcut, initEnabledState, installAdapters, setTooltip, updateEnabledState, updateEnabledStateaddPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabledequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitprivate static ImageryAdjustAction.ImageryOffsetDialog offsetDialog
private static java.awt.Cursor cursor
private double oldDx
private double oldDy
private EastNorth prevEastNorth
private ImageryLayer layer
private MapMode oldMapMode
public ImageryAdjustAction(ImageryLayer layer)
ImageryAdjustAction for the given layer.layer - The imagery layerpublic void enterMode()
MapModeprotected void addListeners()
public void exitMode()
MapModeprotected void removeListeners()
public void eventDispatched(java.awt.AWTEvent event)
eventDispatched in interface java.awt.event.AWTEventListenerpublic void mousePressed(java.awt.event.MouseEvent e)
mousePressed in interface java.awt.event.MouseListenermousePressed in class MapModepublic void mouseDragged(java.awt.event.MouseEvent e)
mouseDragged in interface java.awt.event.MouseMotionListenermouseDragged in class MapModepublic void mouseReleased(java.awt.event.MouseEvent e)
mouseReleased in interface java.awt.event.MouseListenermouseReleased in class MapModepublic void actionPerformed(java.awt.event.ActionEvent e)
MapModeactionPerformed in interface java.awt.event.ActionListeneractionPerformed in class MapModepublic void destroy()
Destroyabledestroy in interface Destroyabledestroy in class JosmAction