org.openstreetmap.josm.gui.dialogs
Class LayerListDialog.ToggleLayerIndexVisibility

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by 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
(package private)  int layerIndex
           
 
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
LayerListDialog.ToggleLayerIndexVisibility(int layerIndex)
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
           
 
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

layerIndex

int layerIndex
Constructor Detail

LayerListDialog.ToggleLayerIndexVisibility

public LayerListDialog.ToggleLayerIndexVisibility(int layerIndex)
Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)


JOSM