Class PopupButtonLayoutDelegate.PopupButtonLayoutWrapper
Object
PopupButtonLayoutWrapper
- All Implemented Interfaces:
ExecutionContextAware,LayoutWrapper,Serializable
- Enclosing class:
PopupButtonLayoutDelegate
public static class PopupButtonLayoutDelegate.PopupButtonLayoutWrapper
extends Object
implements LayoutWrapper, ExecutionContextAware
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionPopupButtonLayoutWrapper(PopupButton root, PopupButtonLayoutDelegate.Template template) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddComponent(FormElement formElement, Component component) voidconfigureAlignment(Component component, ElementAlign align) voidconfigureExpandRatio(Component component, Number expandRatio) Coleta o contexto de execucao deste campoPopupButtonComponentComponentbooleanvoidreplaceComponent(Component old, Component replacement) voidsetExecutionContext(ExecutionContext context) Configura o contexto de execuco do campovoidsetOnPopupHideScript(ContextScript<Runnable> onPopupHideScript) voidsetOnPopupShowScript(ContextScript<Runnable> onPopupShowScript) voidsetPopupVisible(boolean visible) boolean
-
Constructor Details
-
PopupButtonLayoutWrapper
-
-
Method Details
-
setOnPopupShowScript
-
setOnPopupHideScript
-
setPopupVisible
public void setPopupVisible(boolean visible) -
isPopupVisible
public boolean isPopupVisible() -
togglePopupVisible
public boolean togglePopupVisible() -
getRootComposition
public Component getRootComposition()- Specified by:
getRootCompositionin interfaceLayoutWrapper
-
addComponent
- Specified by:
addComponentin interfaceLayoutWrapper
-
replaceComponent
public void replaceComponent(Component old, Component replacement) - Specified by:
replaceComponentin interfaceLayoutWrapper
-
configureExpandRatio
- Specified by:
configureExpandRatioin interfaceLayoutWrapper
-
configureAlignment
- Specified by:
configureAlignmentin interfaceLayoutWrapper
-
getPopupButton
public PopupButton getPopupButton() -
getTemplate
-
getPoupContent
public Component getPoupContent() -
setExecutionContext
Description copied from interface:ExecutionContextAwareConfigura o contexto de execuco do campo- Specified by:
setExecutionContextin interfaceExecutionContextAware- Parameters:
context-
-
getExecutionContext
Description copied from interface:ExecutionContextAwareColeta o contexto de execucao deste campo- Specified by:
getExecutionContextin interfaceExecutionContextAware- Returns:
-