edu.uci.ics.jung.algorithms.layout.util
Interface Relaxer

All Known Implementing Classes:
VisRunner

public interface Relaxer

Interface for operating the relax iterations on a layout.

Author:
Tom Nelson - tomnelson@dev.java.net

Method Summary
 void pause()
          Make the relaxer thread wait.
 void prerelax()
          Execute a loop of steps in the calling thread, firing no events.
 void relax()
          Execute a loop of steps in a new Thread, firing an event after each step.
 void resume()
          Make the relaxer thread resume.
 void setSleepTime(long i)
          Sets the sleep time.
 void stop()
          Set flags to stop the relaxer thread.
 

Method Detail

relax

void relax()
Execute a loop of steps in a new Thread, firing an event after each step.


prerelax

void prerelax()
Execute a loop of steps in the calling thread, firing no events.


pause

void pause()
Make the relaxer thread wait.


resume

void resume()
Make the relaxer thread resume.


stop

void stop()
Set flags to stop the relaxer thread.


setSleepTime

void setSleepTime(long i)
Sets the sleep time.



Copyright © 2009. All Rights Reserved.