Type Parameters:
C - the color
All Known Implementing Classes:
TethysUICoreFactory, TethysUIHelperFactory

public interface TethysUIFactory<C>
UI Factory.
  • Method Details

    • getGUIType

      TethysUIType getGUIType()
      Obtain the gui type.
      Returns:
      the type
    • getDataFormatter

      OceanusDataFormatter getDataFormatter()
      Obtain the formatter.
      Returns:
      the formatter
    • newDataFormatter

      OceanusDataFormatter newDataFormatter()
      Obtain a new formatter.
      Returns:
      the formatter
    • getValueSet

      TethysUIValueSet getValueSet()
      Obtain the valueSet.
      Returns:
      the valueSet
    • resolveIcon

      TethysUIIcon resolveIcon(TethysUIIconId pIconId, int pWidth)
      Resolve Icon.
      Parameters:
      pIconId - the mapped IconId
      pWidth - the icon width
      Returns:
      the icon
    • getLogSink

      TethysUILogTextArea getLogSink()
      Obtain the logSink.
      Returns:
      the logSink
    • activateLogSink

      void activateLogSink()
      Activate logSink.
    • getProgramDefinitions

      TethysUIProgram getProgramDefinitions()
      Obtain the program definition.
      Returns:
      the definition
    • getNewProfile

      OceanusProfile getNewProfile(String pTask)
      Create new profile.
      Parameters:
      pTask - the name of the task
      Returns:
      the new profile
    • getActiveProfile

      OceanusProfile getActiveProfile()
      Obtain the active profile.
      Returns:
      the active profile
    • getActiveTask

      OceanusProfile getActiveTask()
      Obtain the active task.
      Returns:
      the active task
    • buttonFactory

      TethysUIButtonFactory<C> buttonFactory()
      Obtain the button factory.
      Returns:
      the factory
    • chartFactory

      TethysUIChartFactory chartFactory()
      Obtain the chart factory.
      Returns:
      the factory
    • controlFactory

      TethysUIControlFactory controlFactory()
      Obtain the control factory.
      Returns:
      the factory
    • dialogFactory

      TethysUIDialogFactory dialogFactory()
      Obtain the dialog factory.
      Returns:
      the factory
    • fieldFactory

      TethysUIFieldFactory fieldFactory()
      Obtain the field factory.
      Returns:
      the factory
    • paneFactory

      TethysUIPaneFactory paneFactory()
      Obtain the pane factory.
      Returns:
      the factory
    • tableFactory

      TethysUITableFactory tableFactory()
      Obtain the thread factory.
      Returns:
      the factory
    • threadFactory

      TethysUIThreadFactory threadFactory()
      Obtain the thread factory.
      Returns:
      the factory