public abstract class AbstractTimelineAction extends AbstractFlexGanttAction
Modifier and Type | Field and Description |
---|---|
protected Timeline |
timeline
Stores a reference to the timeline.
|
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 |
---|
AbstractTimelineAction(Timeline timeline,
String name)
Constructs a new timeline action.
|
AbstractTimelineAction(Timeline timeline,
String name,
Icon icon)
Constructs a new timeline action.
|
Modifier and Type | Method and Description |
---|---|
Timeline |
getTimeline()
Returns the timeline on which the action will be performed.
|
void |
setTimeline(Timeline timeline)
Sets a new timeline 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 Timeline timeline
setTimeline(Timeline)
,
getTimeline()
public AbstractTimelineAction(Timeline timeline, String name, Icon icon)
timeline
- the timeline 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 Timeline getTimeline()
public void setTimeline(Timeline timeline)
timeline
- the new target timeline of the actionCopyright © 2006–2016 Dirk Lemmermann Software & Consulting. All rights reserved.