Class ViewerModule

All Implemented Interfaces:
Module

public class ViewerModule extends VisualizationModule
The ViewerModule configures the optimization process viewer.
  • Constructor Details

  • Method Details

    • isCloseOnStop

      public boolean isCloseOnStop()
      Returns true if the GUI is automatically closed if the optimization process has stopped.
      Returns:
      true if the GUI is automatically closed on optimization stop
    • setCloseOnStop

      public void setCloseOnStop(boolean closeOnStop)
      Sets the option for automatically closing the GUI if the optimization stops.
      Parameters:
      closeOnStop - the closeOnStop to set
    • getCloseEvent

      Returns the event when the GUI is closed.
      Returns:
      the closeEvent
    • setCloseEvent

      public void setCloseEvent(Viewer.CloseEvent closeEvent)
      Sets the event when the GUI is closed.
      Parameters:
      closeEvent - the closeEvent to set
    • getTitle

      public String getTitle()
      Returns the title of the GUI frame.
      Returns:
      the title of the GUI frame
    • setTitle

      public void setTitle(String title)
      Sets the title of the GUI frame.
      Parameters:
      title - the title of the GUI frame
    • config

      public void config()