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

cytoscape.visual.calculators
Class GenericEdgeToolTipCalculator

java.lang.Object
  extended by cytoscape.visual.calculators.AbstractCalculator
      extended by cytoscape.visual.calculators.EdgeCalculator
          extended by cytoscape.visual.calculators.GenericEdgeToolTipCalculator
All Implemented Interfaces:
Calculator, EdgeToolTipCalculator, Cloneable

public class GenericEdgeToolTipCalculator
extends EdgeCalculator
implements EdgeToolTipCalculator


Field Summary
 
Fields inherited from class cytoscape.visual.calculators.AbstractCalculator
ID
 
Constructor Summary
GenericEdgeToolTipCalculator(String name, ObjectMapping m)
           
GenericEdgeToolTipCalculator(String name, Properties props, String baseKey)
           
 
Method Summary
 void apply(EdgeAppearance appr, Edge edge, CyNetwork network)
           
 String calculateEdgeToolTip(Edge e, CyNetwork n)
           
 String getPropertyLabel()
           
 byte getType()
           
 String getTypeName()
           
 
Methods inherited from class cytoscape.visual.calculators.EdgeCalculator
getUI
 
Methods inherited from class cytoscape.visual.calculators.AbstractCalculator
addChangeListener, addMapping, apply, clone, getDupeCount, getMapping, getMappings, getProperties, getProperties, removeChangeListener, setName, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface cytoscape.visual.calculators.Calculator
addChangeListener, apply, clone, getMapping, getMappings, getProperties, getUI, removeChangeListener, setName, toString
 

Constructor Detail

GenericEdgeToolTipCalculator

public GenericEdgeToolTipCalculator(String name,
                                    ObjectMapping m)

GenericEdgeToolTipCalculator

public GenericEdgeToolTipCalculator(String name,
                                    Properties props,
                                    String baseKey)
Method Detail

getType

public byte getType()
Specified by:
getType in interface Calculator
Specified by:
getType in class EdgeCalculator

getPropertyLabel

public String getPropertyLabel()
Specified by:
getPropertyLabel in interface Calculator
Specified by:
getPropertyLabel in class EdgeCalculator

getTypeName

public String getTypeName()
Specified by:
getTypeName in interface Calculator
Specified by:
getTypeName in class EdgeCalculator

apply

public void apply(EdgeAppearance appr,
                  Edge edge,
                  CyNetwork network)
Specified by:
apply in interface Calculator
Specified by:
apply in class EdgeCalculator

calculateEdgeToolTip

public String calculateEdgeToolTip(Edge e,
                                   CyNetwork n)
Specified by:
calculateEdgeToolTip in interface EdgeToolTipCalculator

www.cytoscape.org