Package adams.gui.flow.tabhandler
Class AbstractTabHandler
- java.lang.Object
-
- adams.core.logging.LoggingObject
-
- adams.core.logging.CustomLoggingLevelObject
-
- adams.gui.flow.tabhandler.AbstractTabHandler
-
- All Implemented Interfaces:
CleanUpHandler
,LoggingLevelHandler
,LoggingSupporter
,SizeOfHandler
,Serializable
- Direct Known Subclasses:
GraphicalActorProcessorHandler
,GraphicalFlowExecutionListenersHandler
,ParsedErrorHandler
,RegisteredDisplaysHandler
public abstract class AbstractTabHandler extends CustomLoggingLevelObject implements CleanUpHandler
Ancestor for tab handlers.- Author:
- FracPete (fracpete at waikato dot ac dot nz)
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected FlowPanel
m_Owner
the owning flow panel.-
Fields inherited from class adams.core.logging.LoggingObject
m_Logger, m_LoggingIsEnabled, m_LoggingLevel
-
-
Constructor Summary
Constructors Constructor Description AbstractTabHandler(FlowPanel owner)
Initializes the tab handler
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract void
cleanUp()
Cleans up data structures, frees up memory.abstract void
display()
Gets called when the page changes.FlowEditorPanel
getEditor()
Returns the editor this panel belongs to.FlowMultiPagePane
getMultiPage()
Returns the multi-page pane this panel belongs to.FlowPanel
getOwner()
Returns the owner.protected void
initialize()
Method for initializing member variables.-
Methods inherited from class adams.core.logging.CustomLoggingLevelObject
setLoggingLevel
-
Methods inherited from class adams.core.logging.LoggingObject
configureLogger, getLogger, getLoggingLevel, initializeLogging, isLoggingEnabled, sizeOf
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface adams.core.logging.LoggingLevelHandler
getLoggingLevel
-
-
-
-
Field Detail
-
m_Owner
protected FlowPanel m_Owner
the owning flow panel.
-
-
Constructor Detail
-
AbstractTabHandler
public AbstractTabHandler(FlowPanel owner)
Initializes the tab handler- Parameters:
owner
- the owning panel
-
-
Method Detail
-
initialize
protected void initialize()
Method for initializing member variables.
-
getOwner
public FlowPanel getOwner()
Returns the owner.- Returns:
- the flow panel
-
getMultiPage
public FlowMultiPagePane getMultiPage()
Returns the multi-page pane this panel belongs to.- Returns:
- the pane, null if none set
-
getEditor
public FlowEditorPanel getEditor()
Returns the editor this panel belongs to.- Returns:
- the editor, null if none set
-
display
public abstract void display()
Gets called when the page changes.
-
cleanUp
public abstract void cleanUp()
Cleans up data structures, frees up memory.- Specified by:
cleanUp
in interfaceCleanUpHandler
-
-