public static final class MarkerLayer.ShowHideMarkerText extends javax.swing.AbstractAction implements Layer.LayerAction
| Modifier and Type | Field and Description |
|---|---|
private MarkerLayer |
layer |
| Constructor and Description |
|---|
ShowHideMarkerText(MarkerLayer layer) |
| Modifier and Type | Method and Description |
|---|---|
void |
actionPerformed(java.awt.event.ActionEvent e) |
java.awt.Component |
createMenuComponent()
Creates and return the menu component.
|
boolean |
supportLayers(java.util.List<Layer> layers)
Determines if this action supports a given list of layers.
|
private final transient MarkerLayer layer
public ShowHideMarkerText(MarkerLayer layer)
public void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed in interface java.awt.event.ActionListenerpublic java.awt.Component createMenuComponent()
Layer.LayerActioncreateMenuComponent in interface Layer.LayerActionpublic boolean supportLayers(java.util.List<Layer> layers)
Layer.LayerActionsupportLayers in interface Layer.LayerActionlayers - list of layerstrue if this action supports the given list of layers, false otherwise