public interface UIRefreshHandler extends UIComponent
UIComponent
interface for complex components which
contain other UIComponent
-s. Components that implement this interface
will not be refreshed recursively by framework logic
(refresh of UIComponentContainer.getChildUIComponents()
is not performed
even if implementor implements the UIComponentContainer
interface), but will need to handle
initialization and refresh of their child components themselves (most commonly in the UIComponent.refresh()
method).Modifier and Type | Method and Description |
---|---|
Set<UIComponent> |
getRefreshedComponents() |
void |
initChildren(boolean isFirstLoad)
Should initialize all visible child components.
|
void |
registerChildren()
Should register all child components in the screen.
|
void |
unregisterChildren()
Should unregister all child components in the screen.
|
getComponentData, getWidget, refresh
Set<UIComponent> getRefreshedComponents()
void registerChildren()
UIScreen.registerUIComponent(UIComponent)
.void unregisterChildren()
UIScreen.unregisterUIComponent(UIComponent)
.void initChildren(boolean isFirstLoad)
UIComponents.initChildren(java.util.List, boolean)
.isFirstLoad
- value of field UIFieldNames.IS_FIRST_LOAD
of the created init eventCopyright © 2007-2018 Whitestein Technologies. All Rights Reserved.