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

cytoscape.visual.calculators
Class GenericNodeWidthCalculator

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.GenericNodeWidthCalculator
All Implemented Interfaces:
Calculator, NodeSizeCalculator, Cloneable

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

@Deprecated
public class GenericNodeWidthCalculator
extends GenericNodeSizeCalculator
implements NodeSizeCalculator


Field Summary
 
Fields inherited from interface cytoscape.visual.calculators.Calculator
ID
 
Constructor Summary
GenericNodeWidthCalculator(String name, ObjectMapping m)
          Deprecated. Creates a new GenericNodeWidthCalculator object.
GenericNodeWidthCalculator(String name, Properties props, String baseKey)
          Deprecated. Creates a new GenericNodeWidthCalculator 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

GenericNodeWidthCalculator

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

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

GenericNodeWidthCalculator

public GenericNodeWidthCalculator(String name,
                                  Properties props,
                                  String baseKey)
Deprecated. 
Creates a new GenericNodeWidthCalculator 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