public interface IToolkit
Modifier and Type | Method and Description |
---|---|
IFrame |
createRootFrame(IFrameDescriptor descriptor)
Creates a root frame for the given descriptor
|
IFrame |
createRootFrame(IFrameDescriptor descriptor,
IApplicationLifecycle lifecycle)
Creates an root frame for the given descriptor and application lifecycle.
|
ITextMaskBuilder |
createTextMaskBuilder()
Gets the text mask builder
|
ITransferableBuilder |
createTransferableBuilder()
Creates a transferable builder
|
IActionBuilderFactory |
getActionBuilderFactory()
Gets the action builder factory
|
IWindow |
getActiveWindow()
Gets the active window
|
java.util.List<IWindow> |
getAllWindows()
Gets a list of all windows
|
IAnimationRunnerBuilder |
getAnimationRunnerBuilder()
Creates an animation runner builder
|
IApplicationRunner |
getApplicationRunner()
Gets the toolkits application runner
|
IBluePrintFactory |
getBluePrintFactory()
Gets the blue print factory
|
IBluePrintProxyFactory |
getBluePrintProxyFactory()
Gets the blue print proxy factory
|
IClipboard |
getClipboard()
Gets the system clipboard
|
IConverterProvider |
getConverterProvider()
Gets the toolkits converter provider
|
IDefaultActionFactory |
getDefaultActionFactory()
Gets the default action factory
|
IDelayedEventRunnerBuilder |
getDelayedEventRunnerBuilder()
Gets the delayed event runner builder
|
IImageFactory |
getImageFactory()
Gets the image factory
|
IImageRegistry |
getImageRegistry()
Gets the image registry that can be used to register icons and images
|
IInputContentCreatorFactory |
getInputContentCreatorFactory()
Gets the input content creator factory
|
ILayoutConstraintsToolkit |
getLayoutConstraintsToolkit()
Gets the layout constraints toolkit
|
ILayoutFactoryProvider |
getLayoutFactoryProvider()
Gets the factory for layouts
|
ILoginPane |
getLoginPane()
Gets the login pane that can be used for user login
|
IMessagePane |
getMessagePane()
Gets the message pane that can be used to show user messages
|
IModelFactoryProvider |
getModelFactoryProvider()
Gets the model factory provider
|
IQuestionPane |
getQuestionPane()
Gets the question pane that can be used to ask user questions
|
ISliderConverterFactory |
getSliderConverterFactory()
Gets the slider converter factory
|
ISupportedWidgets |
getSupportedWidgets()
Gets the supported widgets information
|
IUiThreadAccess |
getUiThreadAccess()
Gets the ui thread access.
|
<VALUE_TYPE> |
getValue(ITypedKey<VALUE_TYPE> key)
Gets a value for a typed key
|
IWaitAnimationProcessor |
getWaitAnimationProcessor()
Gets the wait animation processor
|
IGenericWidgetFactory |
getWidgetFactory()
Gets the generic widget factory
|
IWidgetUtils |
getWidgetUtils()
Gets the widget utils
|
IWidgetWrapperFactory |
getWidgetWrapperFactory()
Gets the widget wrapper factory that can be used to create wrappers
for native widgets
|
boolean |
hasSpiMigLayoutSupport()
Checks if the underlying spi implementation has mig layout support
|
<VALUE_TYPE> |
setValue(ITypedKey<VALUE_TYPE> key,
VALUE_TYPE value)
Sets a value for a typed key for the toolkit
|
Position |
toLocal(Position screenPosition,
IComponent component)
Transforms a screen position to a local component position
|
Position |
toScreen(Position localPosition,
IComponent component)
Transforms a local component position to a screen position
|
IApplicationRunner getApplicationRunner()
IUiThreadAccess getUiThreadAccess()
java.lang.IllegalStateException
- if the method was not accessed in the ui threadIBluePrintFactory getBluePrintFactory()
IBluePrintProxyFactory getBluePrintProxyFactory()
IConverterProvider getConverterProvider()
ISliderConverterFactory getSliderConverterFactory()
IFrame createRootFrame(IFrameDescriptor descriptor)
descriptor
- The descriptor to create the frame forIFrame createRootFrame(IFrameDescriptor descriptor, IApplicationLifecycle lifecycle)
descriptor
- The descriptor to create the frame forlifecycle
- The lifecycle to bind on the frameIGenericWidgetFactory getWidgetFactory()
IWidgetWrapperFactory getWidgetWrapperFactory()
IImageFactory getImageFactory()
IImageRegistry getImageRegistry()
IMessagePane getMessagePane()
IQuestionPane getQuestionPane()
ILoginPane getLoginPane()
ILayoutFactoryProvider getLayoutFactoryProvider()
ILayoutConstraintsToolkit getLayoutConstraintsToolkit()
IActionBuilderFactory getActionBuilderFactory()
IDefaultActionFactory getDefaultActionFactory()
IModelFactoryProvider getModelFactoryProvider()
ITextMaskBuilder createTextMaskBuilder()
IInputContentCreatorFactory getInputContentCreatorFactory()
IWaitAnimationProcessor getWaitAnimationProcessor()
IAnimationRunnerBuilder getAnimationRunnerBuilder()
IDelayedEventRunnerBuilder getDelayedEventRunnerBuilder()
IClipboard getClipboard()
ITransferableBuilder createTransferableBuilder()
IWidgetUtils getWidgetUtils()
IWindow getActiveWindow()
java.util.List<IWindow> getAllWindows()
<VALUE_TYPE> void setValue(ITypedKey<VALUE_TYPE> key, VALUE_TYPE value)
VALUE_TYPE
- The type of the valuekey
- The keyvalue
- The value to set, may be null<VALUE_TYPE> VALUE_TYPE getValue(ITypedKey<VALUE_TYPE> key)
VALUE_TYPE
- The type of the resulting valuekey
- The key to get the value forPosition toScreen(Position localPosition, IComponent component)
localPosition
- Local position relative to the componentcomponent
- The componentPosition toLocal(Position screenPosition, IComponent component)
screenPosition
- Screen positioncomponent
- The componentISupportedWidgets getSupportedWidgets()
boolean hasSpiMigLayoutSupport()
Siehe auch Jowidgets Nutzerhandbuch