|
Cytoscape 2.6.2 (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.
Field Summary | |
---|---|
static String |
ID
|
Method Summary | |
---|---|
void |
addChangeListener(ChangeListener l)
Add a ChangeListener to the calcaultor. |
void |
apply(Appearance appr,
Edge e,
CyNetwork net)
DOCUMENT ME! |
void |
apply(Appearance appr,
Node n,
CyNetwork net)
DOCUMENT ME! |
Object |
clone()
Clone the calculator. |
ObjectMapping |
getMapping(int i)
DOCUMENT ME! |
Vector<ObjectMapping> |
getMappings()
DOCUMENT ME! |
Properties |
getProperties()
Get a description of this calculator as a Properties object. |
String |
getPropertyLabel()
Deprecated. Will be removed 5/2008 |
byte |
getType()
Deprecated. Will be removed 5/2008 |
String |
getTypeName()
Deprecated. Will be removed 5/2008 |
JPanel |
getUI(JDialog parent,
CyNetwork network)
Get the UI for a calculator. |
VisualPropertyType |
getVisualPropertyType()
This method replaces the three methods above. |
void |
removeChangeListener(ChangeListener l)
Remove a ChangeListener from the calcaultor. |
void |
setName(String newName)
Set calculator name. |
String |
toString()
Gets calculator name. |
Field Detail |
---|
static final String ID
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 add@Deprecated byte getType()
@Deprecated String getTypeName()
@Deprecated String getPropertyLabel()
VisualPropertyType getVisualPropertyType()
void apply(Appearance appr, Edge e, CyNetwork net)
appr
- DOCUMENT ME!e
- DOCUMENT ME!net
- DOCUMENT ME!void apply(Appearance appr, Node n, CyNetwork net)
appr
- DOCUMENT ME!n
- DOCUMENT ME!net
- DOCUMENT ME!Vector<ObjectMapping> getMappings()
ObjectMapping getMapping(int i)
i
- DOCUMENT ME!
|
www.cytoscape.org | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |