cytoscape.visual.calculators
Class GenericNodeFontSizeCalculator
java.lang.Object
cytoscape.visual.calculators.AbstractCalculator
cytoscape.visual.calculators.NodeCalculator
cytoscape.visual.calculators.GenericNodeFontSizeCalculator
- All Implemented Interfaces:
- Calculator, NodeFontSizeCalculator, Cloneable
public class GenericNodeFontSizeCalculator
- extends NodeCalculator
- implements NodeFontSizeCalculator
Methods inherited from class cytoscape.visual.calculators.AbstractCalculator |
addChangeListener, addMapping, apply, clone, getDupeCount, getMapping, getMappings, getProperties, getProperties, removeChangeListener, setName, toString |
GenericNodeFontSizeCalculator
public GenericNodeFontSizeCalculator(String name,
ObjectMapping m)
GenericNodeFontSizeCalculator
public GenericNodeFontSizeCalculator(String name,
Properties props,
String baseKey)
getType
public byte getType()
- Specified by:
getType
in interface Calculator
- Specified by:
getType
in class NodeCalculator
getPropertyLabel
public String getPropertyLabel()
- Specified by:
getPropertyLabel
in interface Calculator
- Specified by:
getPropertyLabel
in class NodeCalculator
getTypeName
public String getTypeName()
- Specified by:
getTypeName
in interface Calculator
- Specified by:
getTypeName
in class NodeCalculator
apply
public void apply(NodeAppearance appr,
Node node,
CyNetwork network)
- Specified by:
apply
in interface Calculator
- Specified by:
apply
in class NodeCalculator
calculateNodeFontSize
public float calculateNodeFontSize(Node e,
CyNetwork n)
- Specified by:
calculateNodeFontSize
in interface NodeFontSizeCalculator