T
- the type of the Gantt chartpublic abstract class AbstractGanttChartAction<T extends AbstractGanttChart> extends AbstractFlexGanttAction
Modifier and Type | Field and Description |
---|---|
protected T |
ganttChart
Stores a reference to the Gantt chart.
|
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
Modifier | Constructor and Description |
---|---|
protected |
AbstractGanttChartAction(T gc,
String name)
Constructs a new Gant chart action.
|
protected |
AbstractGanttChartAction(T gc,
String name,
Icon icon)
Constructs a new Gant chart action.
|
Modifier and Type | Method and Description |
---|---|
protected TreeTable |
findFocusedTable()
Returns the currently focused tree table.
|
T |
getGanttChart()
Returns the Gantt chart associated with the action.
|
void |
setGanttChart(T gc)
Sets a new Gantt chart to be used for performing the action.
|
getToolTipText, setToolTipText
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
actionPerformed
protected T extends AbstractGanttChart ganttChart
setGanttChart(AbstractGanttChart)
,
getGanttChart()
protected AbstractGanttChartAction(T gc, String name, Icon icon)
gc
- the Gantt chart on which to perform the actionname
- the name of the actionicon
- a graphical representation of the actionpublic void setGanttChart(T gc)
gc
- the Gantt chart on which to perform the actionpublic T getGanttChart()
protected TreeTable findFocusedTable()
Copyright © 2006–2020 Dirk Lemmermann Software & Consulting. All rights reserved.