public interface UiContext
new
for simplicity. Injecting Provider
s for this
would make the programming much more complex. In such cases you need to pass required components manually.
This context is a container to make this easy and maintainable.Modifier and Type | Method and Description |
---|---|
UiConfiguration |
getConfiguration()
This method gets the
UiConfiguration for this factory. |
ComponentContainer |
getContainer() |
UiDispatcher |
getDispatcher() |
UiDisplay |
getDisplay()
This method gets the
UiDisplay e.g. |
UiPopupHelper |
getPopupHelper() |
RoleFactory |
getRoleFactory() |
UiWidgetFactory |
getWidgetFactory()
This method gets the
UiWidgetFactory that is used to create
UiWidget s. |
UiDisplay getDisplay()
UiDisplay
e.g. to read the current screen resolution.UiDisplay
.UiDispatcher getDispatcher()
UiDispatcher
.ComponentContainer getContainer()
ComponentContainer
.UiWidgetFactory getWidgetFactory()
UiWidgetFactory
that is used to create
UiWidget
s.UiWidgetFactory
.UiPopupHelper getPopupHelper()
UiPopupHelper
.UiConfiguration getConfiguration()
UiConfiguration
for this factory. It is intended to be read by
UiWidget
implementations to configure their look and feel.UiConfiguration
.RoleFactory getRoleFactory()
RoleFactory
.Copyright © 2001–2016 mmm-Team. All rights reserved.