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

cytoscape.visual.calculators
Class GenericNodeShapeCalculator

java.lang.Object
  extended by cytoscape.visual.calculators.AbstractCalculator
      extended by cytoscape.visual.calculators.NodeCalculator
          extended by cytoscape.visual.calculators.GenericNodeShapeCalculator
All Implemented Interfaces:
Calculator, NodeShapeCalculator, Cloneable

public class GenericNodeShapeCalculator
extends NodeCalculator
implements NodeShapeCalculator


Field Summary
 
Fields inherited from class cytoscape.visual.calculators.AbstractCalculator
ID
 
Constructor Summary
GenericNodeShapeCalculator(String name, ObjectMapping m)
           
GenericNodeShapeCalculator(String name, Properties props, String baseKey)
           
 
Method Summary
 void apply(NodeAppearance appr, Node node, CyNetwork network)
           
 byte calculateNodeShape(Node e, CyNetwork n)
           
 String getPropertyLabel()
           
 byte getType()
           
 String getTypeName()
           
 
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.Calculator
addChangeListener, apply, clone, getMapping, getMappings, getProperties, getUI, removeChangeListener, setName, toString
 

Constructor Detail

GenericNodeShapeCalculator

public GenericNodeShapeCalculator(String name,
                                  ObjectMapping m)

GenericNodeShapeCalculator

public GenericNodeShapeCalculator(String name,
                                  Properties props,
                                  String baseKey)
Method Detail

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

www.cytoscape.org