Class LayerListPopup.InfoAction
- java.lang.Object
-
- javax.swing.AbstractAction
-
- org.openstreetmap.josm.gui.dialogs.LayerListPopup.InfoAction
-
- All Implemented Interfaces:
ActionListener
,Serializable
,Cloneable
,EventListener
,Action
- Enclosing class:
- LayerListPopup
public static final class LayerListPopup.InfoAction extends AbstractAction
An action that displays the layer information.- See Also:
Layer.getInfoComponent()
, Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private Layer
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 InfoAction(Layer layer)
Constructs a newInfoAction
for the given layer.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
actionPerformed(ActionEvent e)
-
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
-
-
-
-
Constructor Detail
-
InfoAction
public InfoAction(Layer layer)
Constructs a newInfoAction
for the given layer.- Parameters:
layer
- The layer
-
-
Method Detail
-
actionPerformed
public void actionPerformed(ActionEvent e)
-
-