cytoscape.visual.calculators
Class GenericNodeWidthCalculator
java.lang.Object
cytoscape.visual.calculators.AbstractCalculator
cytoscape.visual.calculators.NodeCalculator
cytoscape.visual.calculators.GenericNodeSizeCalculator
cytoscape.visual.calculators.GenericNodeWidthCalculator
- All Implemented Interfaces:
- Calculator, NodeSizeCalculator, Cloneable
public class GenericNodeWidthCalculator
- extends GenericNodeSizeCalculator
- implements NodeSizeCalculator
Methods inherited from class cytoscape.visual.calculators.AbstractCalculator |
addChangeListener, addMapping, apply, clone, getDupeCount, getMapping, getMappings, getProperties, getProperties, removeChangeListener, setName, toString |
GenericNodeWidthCalculator
public GenericNodeWidthCalculator(String name,
ObjectMapping m)
GenericNodeWidthCalculator
public GenericNodeWidthCalculator(String name,
Properties props,
String baseKey)
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