|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.swing.AbstractAction
info.bioinfweb.treegraph.gui.actions.TreeGraphAction
info.bioinfweb.treegraph.gui.actions.DocumentAction
info.bioinfweb.treegraph.gui.actions.edit.MoveSubtreeAction
public abstract class MoveSubtreeAction
This abstract class contains basic funktionilities to extract the node to be
moved from the selection and is the ancestor of MoveSubtreeUpAction
and MoveSubtreeDownAction.
| Field Summary |
|---|
| 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 |
| Constructor Summary | |
|---|---|
MoveSubtreeAction(MainFrame mainFrame)
|
|
| Method Summary | |
|---|---|
protected Node |
getSelectedNode(TreeSelection selection)
Returns the node that should be moved if the selection contains this node or its afferent branch as the first element. |
| Methods inherited from class info.bioinfweb.treegraph.gui.actions.DocumentAction |
|---|
actionPerformed, getMainFrame, onActionPerformed, oneElementSelected, setEnabled |
| Methods inherited from class info.bioinfweb.treegraph.gui.actions.TreeGraphAction |
|---|
loadSymbols |
| 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 |
| Constructor Detail |
|---|
public MoveSubtreeAction(MainFrame mainFrame)
| Method Detail |
|---|
protected Node getSelectedNode(TreeSelection selection)
selection -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||