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

cytoscape.visual.calculators
Class GenericEdgeLabelCalculator

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

public class GenericEdgeLabelCalculator
extends EdgeCalculator
implements EdgeLabelCalculator


Field Summary
 
Fields inherited from class cytoscape.visual.calculators.AbstractCalculator
ID
 
Constructor Summary
GenericEdgeLabelCalculator(String name, ObjectMapping m)
           
GenericEdgeLabelCalculator(String name, Properties props, String baseKey)
           
 
Method Summary
 void apply(EdgeAppearance appr, Edge edge, CyNetwork network)
           
 String calculateEdgeLabel(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

GenericEdgeLabelCalculator

public GenericEdgeLabelCalculator(String name,
                                  ObjectMapping m)

GenericEdgeLabelCalculator

public GenericEdgeLabelCalculator(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

calculateEdgeLabel

public String calculateEdgeLabel(Edge e,
                                 CyNetwork n)
Specified by:
calculateEdgeLabel in interface EdgeLabelCalculator

www.cytoscape.org