|
|||||||||
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. |
Object |
clone()
Clone the calculator. |
Properties |
getProperties(String baseKey)
Get a description of this calculator as a Properties object. |
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(String baseKey)
void addChangeListener(ChangeListener l)
l
- ChangeListener to addvoid removeChangeListener(ChangeListener l)
l
- ChangeListener to add
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |