Cytoscape 2.6.2 (c) 2006,2007 ISB, MSKCC, UCSD

cytoscape.data.annotation
Class AnnotationGui

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by cytoscape.util.CytoscapeAction
          extended by cytoscape.data.annotation.AnnotationGui
All Implemented Interfaces:
ActionListener, Serializable, Cloneable, EventListener, Action, MenuListener

public class AnnotationGui
extends CytoscapeAction

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface javax.swing.Action
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, SMALL_ICON
 
Constructor Summary
AnnotationGui()
          Creates a new AnnotationGui object.
AnnotationGui(boolean isMenu, ImageIcon icon)
          Creates a new AnnotationGui object.
 
Method Summary
 void actionPerformed(ActionEvent e)
          DOCUMENT ME!
 String addAnnotationToNodes(AnnotationDescription aDesc, int level)
          DOCUMENT ME!
 
Methods inherited from class cytoscape.util.CytoscapeAction
actionHelp, clone, completions, getActionList, getKeyCode, getKeyModifiers, getName, getPreferredButtonGroup, getPreferredMenu, getPrefferedIndex, isAccelerated, isInMenuBar, isInToolBar, menuCanceled, menuDeselected, menuSelected, setAcceleratorCombo, setName, setPreferredButtonGroup, setPreferredIndex, setPreferredMenu, takeArgs
 
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

AnnotationGui

public AnnotationGui()
Creates a new AnnotationGui object.


AnnotationGui

public AnnotationGui(boolean isMenu,
                     ImageIcon icon)
Creates a new AnnotationGui object.

Parameters:
isMenu - DOCUMENT ME!
icon - DOCUMENT ME!
Method Detail

actionPerformed

public void actionPerformed(ActionEvent e)
DOCUMENT ME!

Specified by:
actionPerformed in interface ActionListener
Specified by:
actionPerformed in class CytoscapeAction
Parameters:
e - DOCUMENT ME!

addAnnotationToNodes

public String addAnnotationToNodes(AnnotationDescription aDesc,
                                   int level)
DOCUMENT ME!

Parameters:
aDesc - DOCUMENT ME!
level - DOCUMENT ME!
Returns:
DOCUMENT ME!

www.cytoscape.org