|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.google.inject.AbstractModule
org.opt4j.core.start.Opt4JModule
org.opt4j.core.common.logger.OutputModule
org.opt4j.viewer.VisualizationModule
org.opt4j.viewer.ViewerModule
public class ViewerModule
The ViewerModule configures the optimization process viewer.
| Field Summary | |
|---|---|
protected Viewer.CloseEvent |
closeEvent
|
protected boolean |
closeOnStop
|
protected java.lang.String |
title
|
| Fields inherited from class org.opt4j.core.start.Opt4JModule |
|---|
SINGLETON |
| Constructor Summary | |
|---|---|
ViewerModule()
|
|
| Method Summary | |
|---|---|
void |
config()
|
Viewer.CloseEvent |
getCloseEvent()
Returns the event when the GUI is closed. |
java.lang.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(java.lang.String title)
Sets the title of the GUI frame. |
| Methods inherited from class org.opt4j.viewer.VisualizationModule |
|---|
addIndividualMouseListener, addIndividualMouseListener, addToolBarService, addToolBarService, configure |
| Methods inherited from class org.opt4j.core.start.Opt4JModule |
|---|
addControlListener, addIndividualStateListener, addOptimizerIterationListener, addOptimizerStateListener, bindConstant, bindConstant, bindConstant, bindConstant, constant, multi |
| Methods inherited from class com.google.inject.AbstractModule |
|---|
addError, addError, addError, bind, bind, bind, bindConstant, binder, bindInterceptor, bindListener, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestStaticInjection, requireBinding, requireBinding |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected java.lang.String title
protected Viewer.CloseEvent closeEvent
protected boolean closeOnStop
| Constructor Detail |
|---|
public ViewerModule()
| Method Detail |
|---|
public 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 java.lang.String getTitle()
public void setTitle(java.lang.String title)
title - the title of the GUI framepublic void config()
config in class org.opt4j.core.start.Opt4JModule
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||