phylonet.app.tool.mast
Class MastTool

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

public class MastTool
extends APhyloTool

Represents the MAST tool.

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
MastTool(PhyloNetAppController parentController)
          Instantiates a new MAST 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

MastTool

public MastTool(PhyloNetAppController parentController)
Instantiates a new MAST 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