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