Class ASimpleMVCPluginController<M extends ASimpleMVCPluginModel<?,?>,V extends ASimpleMVCPluginView<?,?,?>>
- java.lang.Object
-
- java.lang.Thread
-
- ai.libs.jaicore.graphvisualizer.plugin.ASimpleMVCPluginController<M,V>
-
- All Implemented Interfaces:
GUIEventListener,PropertyProcessedAlgorithmEventListener,IGUIPluginController,java.lang.Runnable
- Direct Known Subclasses:
SolutionPerformanceTimelinePluginController
public abstract class ASimpleMVCPluginController<M extends ASimpleMVCPluginModel<?,?>,V extends ASimpleMVCPluginView<?,?,?>> extends java.lang.Thread implements IGUIPluginController
-
-
Constructor Summary
Constructors Constructor Description ASimpleMVCPluginController(M model, V view)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description MgetModel()VgetView()protected abstract voidhandleAlgorithmEventInternally(ai.libs.jaicore.basic.algorithm.events.serializable.PropertyProcessedAlgorithmEvent algorithmEvent)voidhandleGUIEvent(GUIEvent guiEvent)voidhandleSerializableAlgorithmEvent(ai.libs.jaicore.basic.algorithm.events.serializable.PropertyProcessedAlgorithmEvent algorithmEvent)voidrun()-
Methods inherited from class java.lang.Thread
activeCount, checkAccess, clone, countStackFrames, currentThread, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, onSpinWait, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, suspend, toString, yield
-
-
-
-
Method Detail
-
getModel
public M getModel()
-
getView
public V getView()
-
handleSerializableAlgorithmEvent
public final void handleSerializableAlgorithmEvent(ai.libs.jaicore.basic.algorithm.events.serializable.PropertyProcessedAlgorithmEvent algorithmEvent) throws HandleAlgorithmEventException- Specified by:
handleSerializableAlgorithmEventin interfacePropertyProcessedAlgorithmEventListener- Throws:
HandleAlgorithmEventException
-
run
public void run()
- Specified by:
runin interfacejava.lang.Runnable- Overrides:
runin classjava.lang.Thread
-
handleAlgorithmEventInternally
protected abstract void handleAlgorithmEventInternally(ai.libs.jaicore.basic.algorithm.events.serializable.PropertyProcessedAlgorithmEvent algorithmEvent) throws HandleAlgorithmEventException- Throws:
HandleAlgorithmEventException
-
handleGUIEvent
public void handleGUIEvent(GUIEvent guiEvent)
- Specified by:
handleGUIEventin interfaceGUIEventListener
-
-