Package adams.flow.execution
Interface GraphicalFlowExecutionListener
-
- All Superinterfaces:
CleanUpHandler
,FlowExecutionListener
- All Known Implementing Classes:
AbstractFlowExecutionListenerWithTable
,AbstractGraphicalFlowExecutionListener
,AbstractTimedFlowExecutionListenerWithTable
,CurrentlyExecuted
,Debug
,ExecutionCounter
,MultiListener
,Time
public interface GraphicalFlowExecutionListener extends FlowExecutionListener
Interface for listeners that supply graphical output in from of a panel.- Author:
- fracpete (fracpete at waikato dot ac dot nz)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Dimension
getDefaultFrameSize()
Returns the default size for the frame.boolean
getDisposeOnFinish()
Returns whether the frame should get disposed when the flow finishes.String
getListenerTitle()
The title of this listener.BasePanel
newListenerPanel()
Returns the panel to use.BasePanel
newListenerPanelIfNecessary()
Returns the panel to use, creates it only if necessary.-
Methods inherited from interface adams.core.CleanUpHandler
cleanUp
-
Methods inherited from interface adams.flow.execution.FlowExecutionListener
finishListening, getOwner, postExecute, postInput, postOutput, preExecute, preInput, preOutput, setOwner, startListening
-
-
-
-
Method Detail
-
getListenerTitle
String getListenerTitle()
The title of this listener.- Returns:
- the title
-
newListenerPanel
BasePanel newListenerPanel()
Returns the panel to use.- Returns:
- the panel, null if none available
-
newListenerPanelIfNecessary
BasePanel newListenerPanelIfNecessary()
Returns the panel to use, creates it only if necessary.- Returns:
- the panel, null if none available
-
getDefaultFrameSize
Dimension getDefaultFrameSize()
Returns the default size for the frame.- Returns:
- the frame size
-
getDisposeOnFinish
boolean getDisposeOnFinish()
Returns whether the frame should get disposed when the flow finishes.- Returns:
- true if to dispose when flow finishes
-
-