java.lang.Object
io.github.tonywasher.joceanus.metis.viewer.MetisViewerWindow
All Implemented Interfaces:
OceanusEventRegistrar.OceanusEventProvider<TethysUIEvent>

public class MetisViewerWindow extends Object implements OceanusEventRegistrar.OceanusEventProvider<TethysUIEvent>
Viewer Manager class, responsible for displaying the debug view.
  • Constructor Details

  • Method Details

    • getEventRegistrar

      public OceanusEventRegistrar<TethysUIEvent> getEventRegistrar()
      Description copied from interface: OceanusEventRegistrar.OceanusEventProvider
      Obtain registration object for listeners.
      Specified by:
      getEventRegistrar in interface OceanusEventRegistrar.OceanusEventProvider<TethysUIEvent>
      Returns:
      the registrar
    • getSplitTreeManager

      public TethysUISplitTreeManager<MetisViewerEntry> getSplitTreeManager()
      Obtain the SplitTree Manager.
      Returns:
      the tree manager
    • getTreeManager

      public TethysUITreeManager<MetisViewerEntry> getTreeManager()
      Obtain the Tree Manager.
      Returns:
      the tree manager
    • getHTMLManager

      public TethysUIHTMLManager getHTMLManager()
      Obtain the HTML Manager.
      Returns:
      the HTML manager
    • terminateTree

      protected void terminateTree()
      Terminate tree.
    • fireEvent

      protected void fireEvent(TethysUIEvent pEventId, Object pValue)
      Fire event.
      Parameters:
      pEventId - the eventId
      pValue - 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.
    • handleSplitTreeAction

      protected void handleSplitTreeAction(OceanusEvent<TethysUIEvent> pEvent)
      Handle the split tree action event.
      Parameters:
      pEvent - the event
    • handleParentPage

      protected void handleParentPage()
      Handle the parent page.
    • handleNextPage

      protected void handleNextPage()
      Handle the next page.
    • handlePreviousPage

      protected void handlePreviousPage()
      Handle the previous page.
    • handleExplicitPage

      protected void handleExplicitPage(int pIndex)
      Handle the explicit page.
      Parameters:
      pIndex - the index of the page
    • handleMode

      protected void handleMode(MetisViewerMode pMode)
      Handle the mode.
      Parameters:
      pMode - the new mode