info.bioinfweb.treegraph.gui.actions.edit
Class CopyAllLabelsAction
java.lang.Object
javax.swing.AbstractAction
info.bioinfweb.treegraph.gui.actions.TreeGraphAction
info.bioinfweb.treegraph.gui.actions.DocumentAction
info.bioinfweb.treegraph.gui.actions.edit.CopyAllLabelsAction
- All Implemented Interfaces:
- ActionListener, Serializable, Cloneable, EventListener, Action
public class CopyAllLabelsAction
- extends DocumentAction
- 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 |
CopyAllLabelsAction
public CopyAllLabelsAction(MainFrame mainFrame)
setEnabled
public void setEnabled(Document document,
TreeSelection selection,
NodeBranchDataAdapter tableAdapter)
- Specified by:
setEnabled
in class DocumentAction
onActionPerformed
protected void onActionPerformed(ActionEvent e,
TreeInternalFrame frame)
- This Method must not be called if the selected element is not a branch.
- Specified by:
onActionPerformed
in class DocumentAction
frame
- the internal frame which was active while the user performed this action- See Also:
DocumentAction.onActionPerformed(java.awt.event.ActionEvent, info.bioinfweb.treegraph.gui.treeframe.TreeInternalFrame)