public class ShowErrorsAction extends javax.swing.AbstractAction implements Layer.LayerAction
AbstractTileSourceLayer
)Modifier and Type | Field and Description |
---|---|
private AbstractTileSourceLayer<?> |
layer |
Constructor and Description |
---|
ShowErrorsAction(AbstractTileSourceLayer<?> layer)
Constructs a new
ShowErrorsAction . |
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent ae) |
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 AbstractTileSourceLayer<?> layer
public ShowErrorsAction(AbstractTileSourceLayer<?> layer)
ShowErrorsAction
.layer
- imagery layerpublic void actionPerformed(java.awt.event.ActionEvent ae)
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