T
- the type of the Gantt chartpublic class SplitGanttChartAction<T extends DualGanttChart> extends AbstractGanttChartAction<T> implements PropertyChangeListener
DualGanttChart
.DualGanttChart.setSecondaryVisible(boolean)
,
Serialized FormganttChart
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 |
---|
SplitGanttChartAction(T gc)
Constructs a new action.
|
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(ActionEvent e) |
void |
propertyChange(PropertyChangeEvent evt) |
void |
setGanttChart(T gc)
Sets a new Gantt chart to be used for performing the action.
|
findFocusedTable, getGanttChart
getToolTipText, setToolTipText
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
public SplitGanttChartAction(T gc)
gc
- the Gantt chart on which to invoke the actionpublic void setGanttChart(T gc)
AbstractGanttChartAction
setGanttChart
in class AbstractGanttChartAction<T extends DualGanttChart>
gc
- the Gantt chart on which to perform the actionpublic void actionPerformed(ActionEvent e)
actionPerformed
in interface ActionListener
public void propertyChange(PropertyChangeEvent evt)
propertyChange
in interface PropertyChangeListener
Copyright © 2006–2020 Dirk Lemmermann Software & Consulting. All rights reserved.