public class CustomizeDrawingAction extends javax.swing.AbstractAction implements Layer.LayerAction, Layer.MultiLayerAction
| Modifier | Constructor and Description |
|---|---|
private |
CustomizeDrawingAction() |
|
CustomizeDrawingAction(Layer l)
Create a new
CustomizeDrawingAction |
|
CustomizeDrawingAction(java.util.List<Layer> l)
Create a new
CustomizeDrawingAction |
| Modifier and Type | Method and Description |
|---|---|
void |
actionPerformed(java.awt.event.ActionEvent e) |
java.awt.Component |
createMenuComponent()
Creates and return the menu component.
|
javax.swing.Action |
getMultiLayerAction(java.util.List<Layer> layers)
Returns the action for a given list of layers.
|
boolean |
supportLayers(java.util.List<Layer> layers)
Determines if this action supports a given list of layers.
|
public CustomizeDrawingAction(java.util.List<Layer> l)
CustomizeDrawingActionl - The layers that should be customizedpublic CustomizeDrawingAction(Layer l)
CustomizeDrawingActionl - The layer that should be customizedprivate CustomizeDrawingAction()
public 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 otherwisepublic java.awt.Component createMenuComponent()
Layer.LayerActioncreateMenuComponent in interface Layer.LayerActionpublic javax.swing.Action getMultiLayerAction(java.util.List<Layer> layers)
Layer.MultiLayerActiongetMultiLayerAction in interface Layer.MultiLayerActionlayers - list of layerspublic void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed in interface java.awt.event.ActionListener