Cytoscape 2.6.2 (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.BasicCalculator
          extended by cytoscape.visual.calculators.NodeCalculator
              extended by cytoscape.visual.calculators.GenericNodeSizeCalculator
                  extended by cytoscape.visual.calculators.GenericNodeHeightCalculator
All Implemented Interfaces:
Calculator, NodeSizeCalculator, Cloneable

Deprecated. Use BasicCalculator(VisualPropertyType,...) instead. Will be hidden, although probably not removed, in 5/2008.

@Deprecated
public class GenericNodeHeightCalculator
extends GenericNodeSizeCalculator
implements NodeSizeCalculator


Field Summary
 
Fields inherited from interface cytoscape.visual.calculators.Calculator
ID
 
Constructor Summary
GenericNodeHeightCalculator(String name, ObjectMapping m)
          Deprecated. Creates a new GenericNodeHeightCalculator object.
GenericNodeHeightCalculator(String name, Properties props, String baseKey)
          Deprecated. Creates a new GenericNodeHeightCalculator object.
 
Method Summary
 double calculateNodeSize(Node e, CyNetwork n)
          DOCUMENT ME!
 void set(VisualPropertyType t)
          Deprecated. This only exists to support deprecated code. DO NOT USE!!! will be removed 10/2007
 
Methods inherited from class cytoscape.visual.calculators.AbstractCalculator
addChangeListener, addMapping, apply, apply, clone, getDupeCount, getMapping, getMappings, getProperties, getProperties, getPropertyLabel, getType, getTypeName, getUI, getVisualPropertyType, 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
calculateNodeSize, set
 
Methods inherited from interface cytoscape.visual.calculators.Calculator
addChangeListener, apply, apply, clone, getMapping, getMappings, getProperties, getPropertyLabel, getType, getTypeName, getUI, getVisualPropertyType, removeChangeListener, setName, toString
 

Constructor Detail

GenericNodeHeightCalculator

public GenericNodeHeightCalculator(String name,
                                   ObjectMapping m)
Deprecated. 
Creates a new GenericNodeHeightCalculator object.

Parameters:
name - DOCUMENT ME!
m - DOCUMENT ME!

GenericNodeHeightCalculator

public GenericNodeHeightCalculator(String name,
                                   Properties props,
                                   String baseKey)
Deprecated. 
Creates a new GenericNodeHeightCalculator object.

Parameters:
name - DOCUMENT ME!
props - DOCUMENT ME!
baseKey - DOCUMENT ME!
Method Detail

set

public void set(VisualPropertyType t)
Deprecated. This only exists to support deprecated code. DO NOT USE!!! will be removed 10/2007

DO NOT USE THIS METHOD (unless you're an appearance calculator)!!!


calculateNodeSize

public double calculateNodeSize(Node e,
                                CyNetwork n)
DOCUMENT ME!

Parameters:
e - DOCUMENT ME!
n - DOCUMENT ME!
Returns:
DOCUMENT ME!

www.cytoscape.org