public class UIPopup extends UIConditional implements UIComponentWithHints2, UIComponentListeningOnRefresh, UIComponentWithWrappers
com.vaadin.ui.Layout.AlignmentHandler, com.vaadin.ui.Layout.MarginHandler, com.vaadin.ui.Layout.SpacingHandlercom.vaadin.ui.HasComponents.ComponentAttachDetachNotifier, com.vaadin.ui.HasComponents.ComponentAttachEvent, com.vaadin.ui.HasComponents.ComponentAttachListener, com.vaadin.ui.HasComponents.ComponentDetachEvent, com.vaadin.ui.HasComponents.ComponentDetachListenercom.vaadin.ui.Component.ErrorEvent, com.vaadin.ui.Component.Event, com.vaadin.ui.Component.Focusable, com.vaadin.ui.Component.Listenercom.vaadin.server.ClientConnector.AttachEvent, com.vaadin.server.ClientConnector.AttachListener, com.vaadin.server.ClientConnector.ConnectorErrorEvent, com.vaadin.server.ClientConnector.DetachEvent, com.vaadin.server.ClientConnector.DetachListener| Modifier and Type | Field and Description |
|---|---|
boolean |
forceVisible
INTERNAL API, do not use.
|
protected com.vaadin.ui.Window |
uiWindow
Window instance associated with this popup
|
| Constructor and Description |
|---|
UIPopup(UIComponentData componentData) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
applyHint(String hintName,
Variant<Object> newValue,
Variant<Object> oldValue)
Applies the given hint to this component.
|
void |
attach() |
protected void |
attachContent(UIComponent content)
Attaches the content component to the component tree.
|
protected com.vaadin.ui.Window |
createWindow() |
void |
detach() |
com.vaadin.ui.Window |
getWindow()
Gets the popup window.
|
com.vaadin.ui.Component |
getWrapper()
Returns the wrapper component.
|
protected boolean |
isModal() |
boolean |
isShown()
Returns true if the LSPS UI component represented by this Vaadin
component is visible.
|
void |
markAsDirty() |
void |
onChildRefresh(UIComponent child)
Invoked when a child UI component is refreshed, or when this method is called on child.
|
void |
refresh()
This method is called from LSPS rendering engine.
|
void |
removeWindow()
Used by dynamic popups when they are being destroyed.
|
void |
setId(String id) |
boolean |
unapplyHint(String hintName,
Variant<Object> oldValue)
The hint has been removed from the hint map.
|
protected void |
updateContentVisibility()
Updates the visibility of the content component.
|
getChildDefinition, getComponentData, getRefreshedComponents, getWidget, initChildren, registerChildren, toString, unregisterChildrenaddComponent, addComponent, addComponentAsFirst, addLayoutClickListener, addListener, beforeClientResponse, getComponent, getComponentCount, getComponentIndex, getCss, getState, iterator, readDesign, removeComponent, removeLayoutClickListener, removeListener, replaceComponent, writeDesignaddComponentAttachListener, addComponentDetachListener, addComponents, addListener, addListener, fireComponentAttachEvent, fireComponentDetachEvent, getComponentIterator, moveComponentsFrom, removeAllComponents, removeComponentAttachListener, removeComponentDetachListener, removeListener, removeListener, setHeight, setWidthaddContextClickListener, addListener, addShortcutListener, addStyleName, findAncestor, fireComponentErrorEvent, fireComponentEvent, focus, getActionManager, getCaption, getComponentError, getCustomAttributes, getData, getDebugId, getDescription, getErrorMessage, getExplicitImmediateValue, getHeight, getHeightUnits, getIcon, getId, getLocale, getParent, getPrimaryStyleName, getState, getStyleName, getWidth, getWidthUnits, isCaptionAsHtml, isConnectorEnabled, isEnabled, isImmediate, isOrHasAncestor, isReadOnly, isResponsive, isVisible, removeContextClickListener, removeListener, removeShortcutListener, removeStyleName, setCaption, setCaptionAsHtml, setComponentError, setData, setDebugId, setDescription, setEnabled, setHeight, setHeightUndefined, setIcon, setImmediate, setLocale, setParent, setPrimaryStyleName, setReadOnly, setResponsive, setSizeFull, setSizeUndefined, setStyleName, setStyleName, setVisible, setWidth, setWidthUndefinedaddAttachListener, addDetachListener, addExtension, addListener, addListener, addListener, addMethodInvocationToQueue, createState, encodeState, equals, fireEvent, getAllChildrenIterable, getConnectorId, getErrorHandler, getExtensions, getListeners, getResource, getRpcManager, getRpcProxy, getSession, getStateType, getUI, handleConnectorRequest, hashCode, hasListeners, isAttached, isThis, markAsDirtyRecursive, registerRpc, registerRpc, removeAttachListener, removeDetachListener, removeExtension, removeListener, removeListener, removeListener, removeListener, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandler, setResourceclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetComponentData, getWidgetaddComponents, addListener, addListener, getComponentIterator, moveComponentsFrom, removeAllComponents, removeListener, removeListeneraddListener, addStyleName, getCaption, getDescription, getIcon, getId, getLocale, getParent, getPrimaryStyleName, getStyleName, getUI, isEnabled, isReadOnly, isVisible, removeListener, removeStyleName, setCaption, setEnabled, setIcon, setParent, setPrimaryStyleName, setReadOnly, setStyleName, setVisibleaddAttachListener, addDetachListener, encodeState, getErrorHandler, getExtensions, getRpcManager, getStateType, handleConnectorRequest, isAttached, isConnectorEnabled, markAsDirtyRecursive, removeAttachListener, removeDetachListener, removeExtension, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandlergetHeight, getHeightUnits, getWidth, getWidthUnits, setHeight, setHeight, setHeightUndefined, setSizeFull, setSizeUndefined, setWidth, setWidth, setWidthUndefinedforEach, spliteratorprotected final com.vaadin.ui.Window uiWindow
public boolean forceVisible
public UIPopup(UIComponentData componentData)
componentData - public void setId(String id)
setId in interface com.vaadin.ui.ComponentsetId in class com.vaadin.ui.AbstractComponentprotected com.vaadin.ui.Window createWindow()
protected void attachContent(UIComponent content)
UIConditionalUIConditional.refresh() method.attachContent in class UIConditionalcontent - the content. May be null if the conditional has no child modeled.public void attach()
attach in interface com.vaadin.server.ClientConnectorattach in interface com.vaadin.ui.Componentattach in class com.vaadin.ui.AbstractComponentpublic void removeWindow()
public void detach()
detach in interface com.vaadin.server.ClientConnectordetach in class com.vaadin.ui.AbstractComponentpublic void refresh()
UIComponentUIComponentData.getHints().refresh in interface UIComponentrefresh in class UIConditionalpublic void markAsDirty()
markAsDirty in interface com.vaadin.server.ClientConnectormarkAsDirty in class com.vaadin.server.AbstractClientConnectorprotected void updateContentVisibility()
UIConditionalUIConditional.refresh().updateContentVisibility in class UIConditionalprotected boolean isModal()
public boolean applyHint(String hintName, Variant<Object> newValue, Variant<Object> oldValue)
UIComponentWithHints2applyHint in interface UIComponentWithHints2hintName - the hint name, not null.newValue - variant containing the new hint value, never null, may contain null value.oldValue - variant containing the previous hint value, never null, may contain null value if the hint was missing or the old value was null.public boolean unapplyHint(String hintName, Variant<Object> oldValue)
UIComponentWithHints2unapplyHint in interface UIComponentWithHints2hintName - the the hint name, not null.oldValue - variant containing the previous hint value, never null, may contain null value if the old value was null.public void onChildRefresh(UIComponent child)
UIComponentListeningOnRefreshonChildRefresh in interface UIComponentListeningOnRefreshonChildRefresh in class UIConditionalpublic boolean isShown()
UIComponentWithCustomVisibilityUIComponents.isShown(UIComponent).isShown in interface UIComponentWithCustomVisibilityisShown in class UIConditionalpublic com.vaadin.ui.Component getWrapper()
UIComponentWithWrappersgetWrapper in interface UIComponentWithWrapperspublic com.vaadin.ui.Window getWindow()
Copyright © 2007-2018 Whitestein Technologies. All Rights Reserved.