|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Algorithm
Implementations of this interface represent a graph algorithm. It can be run as a thread and the registered ChangeListener will be notified about the progress.
Method Summary | |
---|---|
void |
addChangeListener(javax.swing.event.ChangeListener l)
Registers a ChangeListener. |
java.lang.String |
getMessage()
Returns a short description of the algorithm. |
int |
getPercentComplete()
Returns the progress in percents from 0 to 100 |
void |
run()
Starts the algorithm. |
Method Detail |
---|
java.lang.String getMessage()
int getPercentComplete()
void addChangeListener(javax.swing.event.ChangeListener l)
l
- Changevoid run()
run
in interface java.lang.Runnable
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |