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

cytoscape.visual.calculators
Class GenericNodeHeightCalculator

java.lang.Object
  extended by cytoscape.visual.calculators.AbstractCalculator
      extended by cytoscape.visual.calculators.NodeCalculator
          extended by cytoscape.visual.calculators.GenericNodeSizeCalculator
              extended by cytoscape.visual.calculators.GenericNodeHeightCalculator
All Implemented Interfaces:
Calculator, NodeSizeCalculator, Cloneable

public class GenericNodeHeightCalculator
extends GenericNodeSizeCalculator
implements NodeSizeCalculator


Field Summary
 
Fields inherited from class cytoscape.visual.calculators.AbstractCalculator
ID
 
Constructor Summary
GenericNodeHeightCalculator(String name, ObjectMapping m)
           
GenericNodeHeightCalculator(String name, Properties props, String baseKey)
           
 
Method Summary
 void apply(NodeAppearance appr, Node node, CyNetwork network)
           
 double calculateNodeSize(Node e, CyNetwork n)
           
 String getPropertyLabel()
           
 byte getType()
           
 String getTypeName()
           
 void set(byte b, String p, String n)
          Deprecated. This only exists to support deprecated code. DO NOT USE!!! will be removed 10/2007
 
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.NodeSizeCalculator
set
 
Methods inherited from interface cytoscape.visual.calculators.Calculator
addChangeListener, apply, clone, getMapping, getMappings, getProperties, getUI, removeChangeListener, setName, toString
 

Constructor Detail

GenericNodeHeightCalculator

public GenericNodeHeightCalculator(String name,
                                   ObjectMapping m)

GenericNodeHeightCalculator

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

getType

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

getPropertyLabel

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

getTypeName

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

apply

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

calculateNodeSize

public double calculateNodeSize(Node e,
                                CyNetwork n)
Specified by:
calculateNodeSize in interface NodeSizeCalculator
Overrides:
calculateNodeSize in class GenericNodeSizeCalculator

set

public void set(byte b,
                String p,
                String n)
Deprecated. This only exists to support deprecated code. DO NOT USE!!! will be removed 10/2007


www.cytoscape.org