Class LayerListDialog.ToggleLayerIndexVisibility
- java.lang.Object
-
- javax.swing.AbstractAction
-
- org.openstreetmap.josm.gui.dialogs.LayerListDialog.ToggleLayerIndexVisibility
-
- All Implemented Interfaces:
java.awt.event.ActionListener
,java.io.Serializable
,java.lang.Cloneable
,java.util.EventListener
,javax.swing.Action
- Enclosing class:
- LayerListDialog
private final class LayerListDialog.ToggleLayerIndexVisibility extends javax.swing.AbstractAction
stores which layer index to toggle and executes the ShowHide action if the layer is present
-
-
Field Summary
Fields Modifier and Type Field Description private int
layerIndex
-
Constructor Summary
Constructors Constructor Description ToggleLayerIndexVisibility(int layerIndex)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
actionPerformed(java.awt.event.ActionEvent e)
-
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
-
-
-
-
Field Detail
-
layerIndex
private final int layerIndex
-
-
Constructor Detail
-
ToggleLayerIndexVisibility
ToggleLayerIndexVisibility(int layerIndex)
-
-
Method Detail
-
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent e)
-
-