Interface IGUIPlugin
-
- All Known Subinterfaces:
IComputedGUIPlugin
- All Known Implementing Classes:
ASimpleMVCPlugin,ControlBarGUIPlugin,GraphViewPlugin,NodeInfoGUIPlugin,SolutionPerformanceTimelinePlugin,SpeedSliderGUIPlugin,TimeSliderGUIPlugin
public interface IGUIPluginIGUIPlugins can be used to display information about anIAlgorithmor its behavior in anAlgorithmVisualizationWindow. Such a plugin consists of anIGUIPluginControllerresponsible for handlingGUIEvents provided by the underlying window andIPropertyProcessedAlgorithmEvents which are constructed from theIAlgorithmEvents provided by the underlyingIAlgorithmbased on the information computed byAlgorithmEventPropertyComputers. Furthermore, anIGUIPluginhas anIGUIPluginModelwhich serves as the model for the actual view, i.e. theIGUIPluginView, which is the last part of such a plugin. TheIGUIPluginViewis responsible for creating the actually displayable content.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IGUIPluginControllergetController()Returns the underlyingIGUIPluginController.IGUIPluginModelgetModel()Returns the underlyingIGUIPluginModel.java.lang.StringgetTitle()IGUIPluginViewgetView()Returns the underlyingIGUIPluginView.voidsetAlgorithmEventSource(PropertyProcessedAlgorithmEventSource propertyProcessedAlgorithmEventSource)Sets thePropertyProcessedAlgorithmEventSourceyieldingIPropertyProcessedAlgorithmEvents which are handled by theIGUIPluginController.voidsetGUIEventSource(GUIEventSource guiEventSource)voidstop()Stops execution of all threads in this plugin (irrevocable).
-
-
-
Method Detail
-
getController
IGUIPluginController getController()
Returns the underlyingIGUIPluginController.- Returns:
- The underlying
IGUIPluginController.
-
getModel
IGUIPluginModel getModel()
Returns the underlyingIGUIPluginModel.- Returns:
- The underlying
IGUIPluginModel.
-
getView
IGUIPluginView getView()
Returns the underlyingIGUIPluginView.- Returns:
- The underlying
IGUIPluginView.
-
setAlgorithmEventSource
void setAlgorithmEventSource(PropertyProcessedAlgorithmEventSource propertyProcessedAlgorithmEventSource)
Sets thePropertyProcessedAlgorithmEventSourceyieldingIPropertyProcessedAlgorithmEvents which are handled by theIGUIPluginController.- Parameters:
propertyProcessedAlgorithmEventSource- ThePropertyProcessedAlgorithmEventSourceyieldingIPropertyProcessedAlgorithmEvents which are handled by theIGUIPluginController.
-
setGUIEventSource
void setGUIEventSource(GUIEventSource guiEventSource)
- Parameters:
guiEventSource- TheGUIEventSourceyieldingGUIEvents which are handled by theIGUIPluginController.
-
stop
void stop()
Stops execution of all threads in this plugin (irrevocable).
-
getTitle
java.lang.String getTitle()
- Returns:
- The title of the plugin as to be displayed in the window.
-
-