public class ViewerModule extends VisualizationModule
ViewerModule configures the optimization process viewer.SINGLETON| Constructor and Description |
|---|
ViewerModule() |
| Modifier and Type | Method and Description |
|---|---|
void |
config()
Configure the module.
|
Viewer.CloseEvent |
getCloseEvent()
Returns the event when the GUI is closed.
|
String |
getTitle()
Returns the title of the GUI frame.
|
boolean |
isCloseOnStop()
Returns
true if the GUI is automatically closed if the
optimization process has stopped. |
void |
setCloseEvent(Viewer.CloseEvent closeEvent)
Sets the event when the GUI is closed.
|
void |
setCloseOnStop(boolean closeOnStop)
Sets the option for automatically closing the GUI if the optimization
stops.
|
void |
setTitle(String title)
Sets the title of the GUI frame.
|
addIndividualMouseListeneraddControlListener, addIndividualStateListener, addOptimizerIterationListener, addOptimizerStateListener, constant, multipublic boolean isCloseOnStop()
true if the GUI is automatically closed if the
optimization process has stopped.true if the GUI is automatically closed on optimization
stoppublic void setCloseOnStop(boolean closeOnStop)
closeOnStop - the closeOnStop to setpublic Viewer.CloseEvent getCloseEvent()
public void setCloseEvent(Viewer.CloseEvent closeEvent)
closeEvent - the closeEvent to setpublic String getTitle()
public void setTitle(String title)
title - the title of the GUI framepublic void config()
Opt4JModuleBinder