T
- the type of the Gantt chartpublic class DeleteNodeAction<T extends AbstractGanttChart> extends AbstractGanttChartAction<T>
AbstractGanttChart
to delete tree nodes in the currently focused tree table. The action will
delete all nodes that are currently selected in the tree table. The action
delegates to TreeTable.deleteSelectedNodes()
.ganttChart
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 |
---|
DeleteNodeAction(T gc)
Constructs a new action.
|
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(ActionEvent evt) |
boolean |
isEnabled() |
findFocusedTable, getGanttChart, setGanttChart
getToolTipText, setToolTipText
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, putValue, removePropertyChangeListener, setEnabled
public DeleteNodeAction(T gc)
gc
- the Gantt chart on which the action will be performedpublic boolean isEnabled()
isEnabled
in interface Action
isEnabled
in class AbstractAction
public void actionPerformed(ActionEvent evt)
Copyright © 2006–2020 Dirk Lemmermann Software & Consulting. All rights reserved.