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

cytoscape.visual.calculators
Class GenericNodeFontSizeCalculator

java.lang.Object
  extended by cytoscape.visual.calculators.AbstractCalculator
      extended by cytoscape.visual.calculators.NodeCalculator
          extended by cytoscape.visual.calculators.GenericNodeFontSizeCalculator
All Implemented Interfaces:
Calculator, NodeFontSizeCalculator, Cloneable

public class GenericNodeFontSizeCalculator
extends NodeCalculator
implements NodeFontSizeCalculator


Field Summary
 
Fields inherited from class cytoscape.visual.calculators.AbstractCalculator
ID
 
Constructor Summary
GenericNodeFontSizeCalculator(String name, ObjectMapping m)
           
GenericNodeFontSizeCalculator(String name, Properties props, String baseKey)
           
 
Method Summary
 void apply(NodeAppearance appr, Node node, CyNetwork network)
           
 float calculateNodeFontSize(Node e, CyNetwork n)
           
 String getPropertyLabel()
           
 byte getType()
           
 String getTypeName()
           
 
Methods inherited from class cytoscape.visual.calculators.NodeCalculator
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

GenericNodeFontSizeCalculator

public GenericNodeFontSizeCalculator(String name,
                                     ObjectMapping m)

GenericNodeFontSizeCalculator

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

getType

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

getPropertyLabel

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

getTypeName

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

apply

public void apply(NodeAppearance appr,
                  Node node,
                  CyNetwork network)
Specified by:
apply in interface Calculator
Specified by:
apply in class NodeCalculator

calculateNodeFontSize

public float calculateNodeFontSize(Node e,
                                   CyNetwork n)
Specified by:
calculateNodeFontSize in interface NodeFontSizeCalculator

www.cytoscape.org