cytoscape.visual.calculators
Class GenericNodeShapeCalculator
java.lang.Object
cytoscape.visual.calculators.AbstractCalculator
cytoscape.visual.calculators.NodeCalculator
cytoscape.visual.calculators.GenericNodeShapeCalculator
- All Implemented Interfaces:
- Calculator, NodeShapeCalculator, Cloneable
public class GenericNodeShapeCalculator
- extends NodeCalculator
- implements NodeShapeCalculator
Methods inherited from class cytoscape.visual.calculators.AbstractCalculator |
addChangeListener, addMapping, apply, clone, getDupeCount, getMapping, getMappings, getProperties, getProperties, removeChangeListener, setName, toString |
GenericNodeShapeCalculator
public GenericNodeShapeCalculator(String name,
ObjectMapping m)
GenericNodeShapeCalculator
public GenericNodeShapeCalculator(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
calculateNodeShape
public byte calculateNodeShape(Node e,
CyNetwork n)
- Specified by:
calculateNodeShape
in interface NodeShapeCalculator