Home /
Development /
Documentation /
2.0.44 /
AbstractSelectionAction
info.bioinfweb.treegraph.gui.actions.select
Class AbstractSelectionAction
java.lang.Object
javax.swing.AbstractAction
info.bioinfweb.treegraph.gui.actions.TreeGraphAction
info.bioinfweb.treegraph.gui.actions.DocumentAction
info.bioinfweb.treegraph.gui.actions.select.AbstractSelectionAction
- All Implemented Interfaces:
- ActionListener, Serializable, Cloneable, EventListener, Action
- Direct Known Subclasses:
- InvertSelectionAction, SelectAllAction, SelectLabelsInSubtreeAction, SelectLabelsWithIDAction, SelectLeafsInDocumentAction, SelectLeafsInSubtreeAction, SelectLegendsAction, SelectLegendsInSubtreeAction, SelectLegendsWithPosIndexAction, SelectSubtreeAction, SelectTypeInDocumentAction, SelectTypeInSubtreeAction
public abstract class AbstractSelectionAction
- extends DocumentAction
Abstract precursor of all actions that manipulate the document selection. It sets the
valueIsAdjusting
property of the selection to true
during the selection
operations.
- Since:
- 2.0.44
- Author:
- Ben Stöver
- See Also:
- Serialized Form
Fields inherited from interface javax.swing.Action |
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON |
AbstractSelectionAction
public AbstractSelectionAction(MainFrame mainFrame)
performSelection
protected abstract void performSelection(ActionEvent e,
TreeInternalFrame frame,
TreeSelection selection)
onActionPerformed
protected void onActionPerformed(ActionEvent e,
TreeInternalFrame frame)
- Description copied from class:
DocumentAction
- Subclasses should implement this method instead of overriding
DocumentAction.actionPerformed(ActionEvent)
.
- Specified by:
onActionPerformed
in class DocumentAction
frame
- the internal frame which was active while the user performed this action