phylonet.app.tool.lca
Class LCATool

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by phylonet.app.tool.APhyloTool
          extended by phylonet.app.tool.lca.LCATool
All Implemented Interfaces:
java.awt.event.ActionListener, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, javax.swing.Action

public class LCATool
extends APhyloTool

Represents the LCA tool for calculating the Least Common Ancestor of a set of nodes belonging to a certain tree.

See Also:
Serialized Form

Field Summary
 
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
LCATool(PhyloNetAppController parentController)
          Instantiates a new LCA tool.
 
Method Summary
 void updateEnabled()
          Enables or disables this tool, allowing or disallowing its selection in GUI menus, based on criteria specified by the extending class.
 
Methods inherited from class phylonet.app.tool.APhyloTool
actionPerformed, getMenuText, getToolTipText
 
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LCATool

public LCATool(PhyloNetAppController parentController)
Instantiates a new LCA tool. This tool will use the provided top-level controller.

Parameters:
parentController - the top-level controller to use
Method Detail

updateEnabled

public void updateEnabled()
Description copied from class: APhyloTool
Enables or disables this tool, allowing or disallowing its selection in GUI menus, based on criteria specified by the extending class.

Specified by:
updateEnabled in class APhyloTool