Interface TethysUIFactory<C>
- Type Parameters:
C- the color
- All Known Implementing Classes:
TethysUICoreFactory,TethysUIHelperFactory
public interface TethysUIFactory<C>
UI Factory.
-
Method Summary
Modifier and TypeMethodDescriptionvoidActivate logSink.Obtain the button factory.Obtain the chart factory.Obtain the control factory.Obtain the dialog factory.Obtain the field factory.Obtain the active profile.Obtain the active task.Obtain the formatter.Obtain the gui type.Obtain the logSink.getNewProfile(String pTask) Create new profile.Obtain the program definition.Obtain the valueSet.Obtain the menu factory.Obtain a new formatter.Obtain the pane factory.resolveIcon(TethysUIIconId pIconId, int pWidth) Resolve Icon.Obtain the thread factory.Obtain the thread 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
Resolve Icon.- Parameters:
pIconId- the mapped IconIdpWidth- 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
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
-