Class ASimpleMVCPlugin<M extends ASimpleMVCPluginModel<V,C>,V extends ASimpleMVCPluginView<M,C,?>,C extends ASimpleMVCPluginController<M,V>>
- java.lang.Object
-
- ai.libs.jaicore.graphvisualizer.plugin.ASimpleMVCPlugin<M,V,C>
-
- All Implemented Interfaces:
IGUIPlugin
- Direct Known Subclasses:
SolutionPerformanceTimelinePlugin
public abstract class ASimpleMVCPlugin<M extends ASimpleMVCPluginModel<V,C>,V extends ASimpleMVCPluginView<M,C,?>,C extends ASimpleMVCPluginController<M,V>> extends java.lang.Object implements IGUIPlugin
-
-
Constructor Summary
Constructors Constructor Description ASimpleMVCPlugin()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CgetController()Returns the underlyingIGUIPluginController.MgetModel()Returns the underlyingIGUIPluginModel.VgetView()Returns the underlyingIGUIPluginView.voidsetAlgorithmEventSource(PropertyProcessedAlgorithmEventSource algorithmEventSource)Sets thePropertyProcessedAlgorithmEventSourceyieldingPropertyProcessedAlgorithmEvents which are handled by theIGUIPluginController.voidsetGUIEventSource(GUIEventSource guiEventSource)
-
-
-
Method Detail
-
getController
public C getController()
Description copied from interface:IGUIPluginReturns the underlyingIGUIPluginController.- Specified by:
getControllerin interfaceIGUIPlugin- Returns:
- The underlying
IGUIPluginController.
-
getModel
public M getModel()
Description copied from interface:IGUIPluginReturns the underlyingIGUIPluginModel.- Specified by:
getModelin interfaceIGUIPlugin- Returns:
- The underlying
IGUIPluginModel.
-
getView
public V getView()
Description copied from interface:IGUIPluginReturns the underlyingIGUIPluginView.- Specified by:
getViewin interfaceIGUIPlugin- Returns:
- The underlying
IGUIPluginView.
-
setAlgorithmEventSource
public void setAlgorithmEventSource(PropertyProcessedAlgorithmEventSource algorithmEventSource)
Description copied from interface:IGUIPluginSets thePropertyProcessedAlgorithmEventSourceyieldingPropertyProcessedAlgorithmEvents which are handled by theIGUIPluginController.- Specified by:
setAlgorithmEventSourcein interfaceIGUIPlugin- Parameters:
algorithmEventSource- ThePropertyProcessedAlgorithmEventSourceyieldingPropertyProcessedAlgorithmEvents which are handled by theIGUIPluginController.
-
setGUIEventSource
public void setGUIEventSource(GUIEventSource guiEventSource)
Description copied from interface:IGUIPlugin- Specified by:
setGUIEventSourcein interfaceIGUIPlugin- Parameters:
guiEventSource- TheGUIEventSourceyieldingGUIEvents which are handled by theIGUIPluginController.
-
-