Class ZoomToBestAction
- java.lang.Object
-
- javax.swing.AbstractAction
-
- org.openstreetmap.josm.gui.layer.imagery.ZoomToBestAction
-
- All Implemented Interfaces:
ActionListener
,Serializable
,Cloneable
,EventListener
,Action
public class ZoomToBestAction extends AbstractAction
Change resolution to best zoom level.- Since:
- 11950 (extracted from
AbstractTileSourceLayer
) - See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private AbstractTileSourceLayer<?>
layer
-
Fields inherited from class javax.swing.AbstractAction
changeSupport, enabled
-
Fields inherited from interface javax.swing.Action
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 Summary
Constructors Constructor Description ZoomToBestAction(AbstractTileSourceLayer<?> layer)
Constructs a newZoomToBestAction
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
actionPerformed(ActionEvent ae)
-
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
-
-
-
-
Field Detail
-
layer
private final AbstractTileSourceLayer<?> layer
-
-
Constructor Detail
-
ZoomToBestAction
public ZoomToBestAction(AbstractTileSourceLayer<?> layer)
Constructs a newZoomToBestAction
.- Parameters:
layer
- imagery layer
-
-
Method Detail
-
actionPerformed
public void actionPerformed(ActionEvent ae)
-
-