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.ActionListener
public java.awt.Component createMenuComponent()
Layer.LayerAction
createMenuComponent
in interface Layer.LayerAction
public boolean supportLayers(java.util.List<Layer> layers)
Layer.LayerAction
supportLayers
in interface Layer.LayerAction
layers
- list of layerstrue
if this action supports the given list of layers, false
otherwise