|
Cytoscape 2.4.1 (c) 2006,2007 ISB, MSKCC, UCSD | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Calculator
Calculator specifies a super-interface for all calculator interfaces.
DO NOT create classes that only implement Calculator! When writing
calculators, you MUST extend one of NodeCalculator
or
EdgeCalculator
and implement one of the 11 attribute calculator interfaces.
Method Summary | |
---|---|
void |
addChangeListener(ChangeListener l)
Add a ChangeListener to the calcaultor. |
void |
apply(EdgeAppearance appr,
Edge e,
CyNetwork net)
|
void |
apply(NodeAppearance appr,
Node n,
CyNetwork net)
|
Object |
clone()
Clone the calculator. |
ObjectMapping |
getMapping(int i)
|
Vector |
getMappings()
|
Properties |
getProperties()
Get a description of this calculator as a Properties object. |
String |
getPropertyLabel()
|
byte |
getType()
|
String |
getTypeName()
|
JPanel |
getUI(JDialog parent,
CyNetwork network)
Get the UI for a calculator. |
void |
removeChangeListener(ChangeListener l)
Remove a ChangeListener from the calcaultor. |
void |
setName(String newName)
Set calculator name. |
String |
toString()
Gets calculator name. |
Method Detail |
---|
JPanel getUI(JDialog parent, CyNetwork network)
parent
- Parent JDialog for the UInetwork
- CyNetwork object containing underlying graph dataString toString()
toString
in class Object
void setName(String newName)
Object clone() throws CloneNotSupportedException
CloneNotSupportedException
Properties getProperties()
void addChangeListener(ChangeListener l)
l
- ChangeListener to addvoid removeChangeListener(ChangeListener l)
l
- ChangeListener to addString getPropertyLabel()
byte getType()
void apply(EdgeAppearance appr, Edge e, CyNetwork net)
void apply(NodeAppearance appr, Node n, CyNetwork net)
Vector getMappings()
ObjectMapping getMapping(int i)
String getTypeName()
|
www.cytoscape.org | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |