public abstract class AbstractLayerContainerAction extends AbstractFlexGanttAction
Modifier and Type | Field and Description |
---|---|
protected LayerContainer |
layerContainer
Stores a reference to the layer container.
|
changeSupport, enabled
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON
Constructor and Description |
---|
AbstractLayerContainerAction(LayerContainer lc,
String name)
Constructs a new layer container action.
|
AbstractLayerContainerAction(LayerContainer lc,
String name,
Icon icon)
Constructs a new layer container action.
|
Modifier and Type | Method and Description |
---|---|
LayerContainer |
getLayerContainer()
Returns the layer container on which the action will be performed.
|
void |
setLayerContainer(LayerContainer lc)
Sets a new layer container on which the action will be performed.
|
getToolTipText, setToolTipText
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
actionPerformed
protected LayerContainer layerContainer
setLayerContainer(LayerContainer)
,
getLayerContainer()
public AbstractLayerContainerAction(LayerContainer lc, String name, Icon icon)
lc
- the layer container on which to perform the actionname
- the name of the action that will be displayed on buttons and /
or menu itemsicon
- a graphical representation of the actionpublic AbstractLayerContainerAction(LayerContainer lc, String name)
lc
- the layer container on which to perform the actionname
- the name of the action that will be displayed on buttons and /
or menu itemspublic LayerContainer getLayerContainer()
public void setLayerContainer(LayerContainer lc)
lc
- the new target layer container of the actionCopyright © 2006–2020 Dirk Lemmermann Software & Consulting. All rights reserved.