Class MetisHelpWindow
java.lang.Object
io.github.tonywasher.joceanus.metis.help.MetisHelpWindow
- All Implemented Interfaces:
OceanusEventRegistrar.OceanusEventProvider<TethysUIEvent>
public class MetisHelpWindow
extends Object
implements OceanusEventRegistrar.OceanusEventProvider<TethysUIEvent>
Help Manager class, responsible for displaying the help.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final intThe Height of the window.protected static final intThe Height of the window. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidCloseWindow on parent termination.protected voidfireEvent(TethysUIEvent pEventId, Object pValue) Fire event.Obtain registration object for listeners.Obtain the HTML Manager.Obtain the SplitTree Manager.Obtain the Tree Manager.protected voidHandle the split tree action event.voidHide the dialog.voidsetModule(MetisHelpModule pModule) Set the help module.voidshow the dialog.
-
Field Details
-
WINDOW_WIDTH
protected static final int WINDOW_WIDTHThe Height of the window.- See Also:
-
WINDOW_HEIGHT
protected static final int WINDOW_HEIGHTThe Height of the window.- See Also:
-
-
Constructor Details
-
MetisHelpWindow
Constructor.- Parameters:
pFactory- the GUI factory
-
-
Method Details
-
getEventRegistrar
Description copied from interface:OceanusEventRegistrar.OceanusEventProviderObtain registration object for listeners.- Specified by:
getEventRegistrarin interfaceOceanusEventRegistrar.OceanusEventProvider<TethysUIEvent>- Returns:
- the registrar
-
getSplitTreeManager
Obtain the SplitTree Manager.- Returns:
- the tree manager
-
getTreeManager
Obtain the Tree Manager.- Returns:
- the tree manager
-
getHTMLManager
Obtain the HTML Manager.- Returns:
- the HTML manager
-
fireEvent
Fire event.- Parameters:
pEventId- the eventIdpValue- the relevant value
-
showDialog
public void showDialog()show the dialog. -
hideDialog
public void hideDialog()Hide the dialog. -
closeWindow
public void closeWindow()CloseWindow on parent termination. -
setModule
Set the help module.- Parameters:
pModule- the helpModule- Throws:
OceanusException- on error
-
handleSplitTreeAction
Handle the split tree action event.- Parameters:
pEvent- the event
-