|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface VisualizationModel
Interface for the state holding model of the VisualizationViewer. Refactored and extracted from the 1.6.0 version of VisualizationViewer
| Method Summary | |
|---|---|
void |
addChangeListener(ChangeListener l)
Register l as a listeners to changes in the model. |
ChangeListener[] |
getChangeListeners()
Returns an array of all the ChangeListeners added
with addChangeListener(). |
Layout |
getGraphLayout()
Returns the current graph layout. |
long |
getRelaxerThreadSleepTime()
|
void |
init()
initialize the layout |
boolean |
isVisRunnerRunning()
Returns a flag that says whether the visRunner thread is running. |
void |
prerelax()
iterate over the layout algorithm prior to displaying the graph |
void |
removeChangeListener(ChangeListener l)
Removes a ChangeListener. |
void |
restart()
restart the layout |
void |
restartThreadOnly()
|
void |
setGraphLayout(Layout layout)
set the graph Layout |
void |
setGraphLayout(Layout layout,
Dimension d)
Sets the graph Layout and initialize the Layout size to the passed dimensions. |
void |
setRelaxerThreadSleepTime(long relaxerThreadSleepTime)
Sets the relaxerThreadSleepTime. |
void |
setTextCallback(StatusCallback scb)
set a callback to be called during the relaxer iteration |
void |
start()
start the relaxer |
void |
stop()
Request that the relaxer be stopped. |
void |
suspend()
suspend the relaxer |
void |
unsuspend()
unsuspend the relaxer |
| Methods inherited from interface edu.uci.ics.jung.utils.ChangeEventSupport |
|---|
fireStateChanged |
| Method Detail |
|---|
long getRelaxerThreadSleepTime()
void setTextCallback(StatusCallback scb)
scb - void restart()
void init()
void start()
void suspend()
void unsuspend()
void prerelax()
void setRelaxerThreadSleepTime(long relaxerThreadSleepTime)
relaxerThreadSleepTime - The relaxerThreadSleepTime to set.void setGraphLayout(Layout layout)
layout -
void setGraphLayout(Layout layout,
Dimension d)
layout - d - Layout getGraphLayout()
void restartThreadOnly()
boolean isVisRunnerRunning()
void stop()
void addChangeListener(ChangeListener l)
l as a listeners to changes in the model. The View registers
in order to repaint itself when the model changes.
addChangeListener in interface ChangeEventSupportvoid removeChangeListener(ChangeListener l)
removeChangeListener in interface ChangeEventSupportl - the listener to be removedChangeListener[] getChangeListeners()
ChangeListeners added
with addChangeListener().
getChangeListeners in interface ChangeEventSupportChangeListeners added or an empty
array if no listeners have been added
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||