info.bioinfweb.treegraph.gui.actions
Class DocumentAction
java.lang.Object
javax.swing.AbstractAction
info.bioinfweb.treegraph.gui.actions.TreeGraphAction
info.bioinfweb.treegraph.gui.actions.DocumentAction
- All Implemented Interfaces:
- java.awt.event.ActionListener, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, javax.swing.Action
- Direct Known Subclasses:
- AssignLabelIDsAction, ChangePainterIDAction, CloseAction, CollapseNodeAction, CopyAllLabelsAction, CopyElementAction, DeleteElementAction, DeleteSubelementsAction, EditDialogAction, ExitAction, ExportToGraphicAction, LadderizeAction, MoveSubtreeAction, NewDocumentAction, NewLegendAction, NewNodeAction, NextDocumentAction, PasteAction, PreviousDocumentAction, ReanchorLegendAction, RedoAction, RerootAction, SaveAction, SaveAsAction, SearchTextAction, SelectAllAction, SelectLabelsInSubtreeAction, SelectLabelsWithIDAction, SelectLeafsInDocumentAction, SelectLeafsInSubtreeAction, SelectLegendsAction, SelectLegendsWithPosIndexAction, SelectSubtreeAction, SelectTypeInDocumentAction, SelectTypeInSubtreeAction, SeparateBranchAction, SetZoomAction, ShowHideScaleBarAction, ShowRootedAction, UndoAction
public abstract class DocumentAction
- extends TreeGraphAction
- See Also:
- Serialized Form
| Fields inherited from class javax.swing.AbstractAction |
changeSupport, enabled |
| 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 |
| Methods inherited from class javax.swing.AbstractAction |
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
mainFrame
private MainFrame mainFrame
DocumentAction
public DocumentAction(MainFrame mainFrame)
onActionPerformed
protected abstract void onActionPerformed(java.awt.event.ActionEvent e,
TreeInternalFrame frame)
setEnabled
public abstract void setEnabled(Document document,
TreeSelection selection)
oneElementSelected
protected static boolean oneElementSelected(TreeSelection selection)
getMainFrame
protected MainFrame getMainFrame()
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent e)