Home / Development / Documentation / 2.0.44 / EditDialogAction
TreeGraph 2
 


info.bioinfweb.treegraph.gui.actions
Class EditDialogAction

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by info.bioinfweb.treegraph.gui.actions.TreeGraphAction
          extended by info.bioinfweb.treegraph.gui.actions.DocumentAction
              extended by info.bioinfweb.treegraph.gui.actions.EditDialogAction
All Implemented Interfaces:
ActionListener, Serializable, Cloneable, EventListener, Action
Direct Known Subclasses:
AddSupportValuesAction, ApplyNameTableAction, CalculateColumnAction, ChangeLabelIDAction, ColorsByNodeBranchDataAction, CopyColumnAction, DeleteOutsideIntervalAction, DistanceValuesByNodeBranchDataAction, EditBranchLengthAction, EditElementFormatsAction, EditGlobalFormatsAction, EditPieChartLabelIDsAction, EditTextElementAction, ExportTableAction, ExportToGraphicAction, ExportToNewickNexusAction, NewIconLabelsAction, NewPieChartLabelsAction, NewTextLabelAction, OpenAction, RenameDataIDAction, ReplaceInNodeDataAction, ScaleBranchLengthsAction, ScaleDistanceValuesAction

public abstract class EditDialogAction
extends DocumentAction

Superclass for all actions that display a dialog.

Author:
Ben Stöver
See Also:
Serialized Form

Field Summary
private  EditDialog dialog
           
 
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
EditDialogAction(MainFrame mainFrame)
           
 
Method Summary
abstract  EditDialog createDialog()
           
 EditDialog getDialog()
           
protected  void onActionPerformed(ActionEvent e, TreeInternalFrame frame)
          Subclasses should implement this method instead of overriding DocumentAction.actionPerformed(ActionEvent).
 
Methods inherited from class info.bioinfweb.treegraph.gui.actions.DocumentAction
actionPerformed, getMainFrame, 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
 

Field Detail

dialog

private EditDialog dialog
Constructor Detail

EditDialogAction

public EditDialogAction(MainFrame mainFrame)
Method Detail

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

createDialog

public abstract EditDialog createDialog()

getDialog

public EditDialog getDialog()