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

cytoscape.visual.calculators
Class GenericNodeSizeCalculator

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

Deprecated. Use NodeWidth,NodeHeight, or NodeUniformSize instead. will be removed 10/2007

public class GenericNodeSizeCalculator
extends NodeCalculator
implements NodeSizeCalculator


Field Summary
 
Fields inherited from class cytoscape.visual.calculators.AbstractCalculator
ID
 
Constructor Summary
GenericNodeSizeCalculator(String name, ObjectMapping m)
          Deprecated. Creates a new GenericNodeSizeCalculator object.
GenericNodeSizeCalculator(String name, Properties props, String baseKey)
          Deprecated. Creates a new GenericNodeSizeCalculator object.
 
Method Summary
 void apply(NodeAppearance appr, Node node, CyNetwork network)
          Deprecated. DOCUMENT ME!
 double calculateNodeSize(Node e, CyNetwork n)
          Deprecated. DOCUMENT ME!
 String getPropertyLabel()
          Deprecated. DOCUMENT ME!
 byte getType()
          Deprecated. DOCUMENT ME!
 String getTypeName()
          Deprecated. DOCUMENT ME!
 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

GenericNodeSizeCalculator

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

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

GenericNodeSizeCalculator

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

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

getType

public byte getType()
Deprecated. 
DOCUMENT ME!

Specified by:
getType in interface Calculator
Returns:
DOCUMENT ME!

getPropertyLabel

public String getPropertyLabel()
Deprecated. 
DOCUMENT ME!

Specified by:
getPropertyLabel in interface Calculator
Returns:
DOCUMENT ME!

getTypeName

public String getTypeName()
Deprecated. 
DOCUMENT ME!

Specified by:
getTypeName in interface Calculator
Returns:
DOCUMENT ME!

apply

public void apply(NodeAppearance appr,
                  Node node,
                  CyNetwork network)
Deprecated. 
DOCUMENT ME!

Specified by:
apply in interface Calculator
Parameters:
appr - DOCUMENT ME!
node - DOCUMENT ME!
network - DOCUMENT ME!

calculateNodeSize

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

Specified by:
calculateNodeSize in interface NodeSizeCalculator
Parameters:
e - DOCUMENT ME!
n - DOCUMENT ME!
Returns:
DOCUMENT ME!

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