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
Method Summary |
byte |
calculateNodeShape(giny.model.Node node,
CyNetwork network)
It is hoped that the -1 value of a byte will not conflict
with any of the values used by ShapeNodeRealizer. |
Methods inherited from class cytoscape.visual.calculators.AbstractCalculator |
addChangeListener, addMapping, clone, fireStateChanged, getAttrBundle, getDupeCount, getMapping, getMappings, getProperties, getUI, removeChangeListener, setName, toString |
GenericNodeShapeCalculator
public GenericNodeShapeCalculator(String name,
ObjectMapping m)
GenericNodeShapeCalculator
public GenericNodeShapeCalculator(String name,
Properties props,
String baseKey)
- Constructor for dynamic creation via properties.
calculateNodeShape
public byte calculateNodeShape(giny.model.Node node,
CyNetwork network)
- It is hoped that the -1 value of a byte will not conflict
with any of the values used by ShapeNodeRealizer.
- Specified by:
calculateNodeShape
in interface NodeShapeCalculator