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