Class TethysUIHelperFactory
java.lang.Object
io.github.tonywasher.joceanus.tethys.helper.TethysUIHelperFactory
- All Implemented Interfaces:
TethysUIFactory<Object>
Tethys UI factory for non-GUI tests.
-
Constructor Summary
Constructors -
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.
-
Constructor Details
-
TethysUIHelperFactory
public TethysUIHelperFactory()Constructor.
-
-
Method Details
-
getGUIType
Description copied from interface:TethysUIFactoryObtain the gui type.- Specified by:
getGUITypein interfaceTethysUIFactory<Object>- Returns:
- the type
-
getDataFormatter
Description copied from interface:TethysUIFactoryObtain the formatter.- Specified by:
getDataFormatterin interfaceTethysUIFactory<Object>- Returns:
- the formatter
-
newDataFormatter
Description copied from interface:TethysUIFactoryObtain a new formatter.- Specified by:
newDataFormatterin interfaceTethysUIFactory<Object>- Returns:
- the formatter
-
getValueSet
Description copied from interface:TethysUIFactoryObtain the valueSet.- Specified by:
getValueSetin interfaceTethysUIFactory<Object>- Returns:
- the valueSet
-
resolveIcon
Description copied from interface:TethysUIFactoryResolve Icon.- Specified by:
resolveIconin interfaceTethysUIFactory<Object>- Parameters:
pIconId- the mapped IconIdpWidth- the icon width- Returns:
- the icon
-
getLogSink
Description copied from interface:TethysUIFactoryObtain the logSink.- Specified by:
getLogSinkin interfaceTethysUIFactory<Object>- Returns:
- the logSink
-
activateLogSink
public void activateLogSink()Description copied from interface:TethysUIFactoryActivate logSink.- Specified by:
activateLogSinkin interfaceTethysUIFactory<Object>
-
getProgramDefinitions
Description copied from interface:TethysUIFactoryObtain the program definition.- Specified by:
getProgramDefinitionsin interfaceTethysUIFactory<Object>- Returns:
- the definition
-
getNewProfile
Description copied from interface:TethysUIFactoryCreate new profile.- Specified by:
getNewProfilein interfaceTethysUIFactory<Object>- Parameters:
pTask- the name of the task- Returns:
- the new profile
-
getActiveProfile
Description copied from interface:TethysUIFactoryObtain the active profile.- Specified by:
getActiveProfilein interfaceTethysUIFactory<Object>- Returns:
- the active profile
-
getActiveTask
Description copied from interface:TethysUIFactoryObtain the active task.- Specified by:
getActiveTaskin interfaceTethysUIFactory<Object>- Returns:
- the active task
-
buttonFactory
Description copied from interface:TethysUIFactoryObtain the button factory.- Specified by:
buttonFactoryin interfaceTethysUIFactory<Object>- Returns:
- the factory
-
chartFactory
Description copied from interface:TethysUIFactoryObtain the chart factory.- Specified by:
chartFactoryin interfaceTethysUIFactory<Object>- Returns:
- the factory
-
controlFactory
Description copied from interface:TethysUIFactoryObtain the control factory.- Specified by:
controlFactoryin interfaceTethysUIFactory<Object>- Returns:
- the factory
-
dialogFactory
Description copied from interface:TethysUIFactoryObtain the dialog factory.- Specified by:
dialogFactoryin interfaceTethysUIFactory<Object>- Returns:
- the factory
-
fieldFactory
Description copied from interface:TethysUIFactoryObtain the field factory.- Specified by:
fieldFactoryin interfaceTethysUIFactory<Object>- Returns:
- the factory
-
paneFactory
Description copied from interface:TethysUIFactoryObtain the pane factory.- Specified by:
paneFactoryin interfaceTethysUIFactory<Object>- Returns:
- the factory
-
tableFactory
Description copied from interface:TethysUIFactoryObtain the thread factory.- Specified by:
tableFactoryin interfaceTethysUIFactory<Object>- Returns:
- the factory
-
threadFactory
Description copied from interface:TethysUIFactoryObtain the thread factory.- Specified by:
threadFactoryin interfaceTethysUIFactory<Object>- Returns:
- the factory
-