public static class Layer.SeparatorLayerAction extends javax.swing.AbstractAction implements Layer.LayerAction
| Modifier and Type | Field and Description |
|---|---|
static Layer.SeparatorLayerAction |
INSTANCE
Unique instance
|
| Constructor and Description |
|---|
SeparatorLayerAction() |
| 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.
|
public static final Layer.SeparatorLayerAction INSTANCE
public SeparatorLayerAction()
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