public class UIRepeater extends com.vaadin.ui.CssLayout implements UIComponentWithCustomScopes, UIComponentShowingRecords
com.vaadin.ui.Layout.AlignmentHandler, com.vaadin.ui.Layout.MarginHandler, com.vaadin.ui.Layout.SpacingHandler
com.vaadin.ui.HasComponents.ComponentAttachDetachNotifier, com.vaadin.ui.HasComponents.ComponentAttachEvent, com.vaadin.ui.HasComponents.ComponentAttachListener, com.vaadin.ui.HasComponents.ComponentDetachEvent, com.vaadin.ui.HasComponents.ComponentDetachListener
com.vaadin.ui.Component.ErrorEvent, com.vaadin.ui.Component.Event, com.vaadin.ui.Component.Focusable, com.vaadin.ui.Component.Listener
com.vaadin.server.ClientConnector.AttachEvent, com.vaadin.server.ClientConnector.AttachListener, com.vaadin.server.ClientConnector.ConnectorErrorEvent, com.vaadin.server.ClientConnector.DetachEvent, com.vaadin.server.ClientConnector.DetachListener
Constructor and Description |
---|
UIRepeater(UIComponentData componentData) |
Modifier and Type | Method and Description |
---|---|
UIComponentData |
getComponentData()
Returns the component definition (LSPS RecordHolder instance which is
subtype of "ui::Component") associated with this Vaadin component.
|
Set<UIComponent> |
getRefreshedComponents() |
Set<RecordHolder> |
getShownRecords()
Lists record instances currently displayed in the component's selection.
|
com.vaadin.ui.AbstractComponent |
getWidget()
Returns the Vaadin widget which implements the UI part of this component.
|
void |
initChildren(boolean isFirstLoad)
Should initialize all visible child components.
|
void |
refresh()
This method is called from LSPS rendering engine.
|
void |
registerChildren()
Should register all child components in the screen.
|
String |
toString() |
void |
unregisterChildren()
Should unregister all child components in the screen.
|
void |
updateContextFor(UIComponentScope scope)
Updates context with all necessary values for the given scope.
|
addComponent, addComponent, addComponentAsFirst, addLayoutClickListener, addListener, beforeClientResponse, getComponent, getComponentCount, getComponentIndex, getCss, getState, iterator, readDesign, removeComponent, removeLayoutClickListener, removeListener, replaceComponent, writeDesign
addComponentAttachListener, addComponentDetachListener, addComponents, addListener, addListener, fireComponentAttachEvent, fireComponentDetachEvent, getComponentIterator, moveComponentsFrom, removeAllComponents, removeComponentAttachListener, removeComponentDetachListener, removeListener, removeListener, setHeight, setWidth
addContextClickListener, addListener, addShortcutListener, addStyleName, attach, detach, 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, setId, setImmediate, setLocale, setParent, setPrimaryStyleName, setReadOnly, setResponsive, setSizeFull, setSizeUndefined, setStyleName, setStyleName, setVisible, setWidth, setWidthUndefined
addAttachListener, 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, markAsDirty, markAsDirtyRecursive, registerRpc, registerRpc, removeAttachListener, removeDetachListener, removeExtension, removeListener, removeListener, removeListener, removeListener, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandler, setResource
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
addComponents, addListener, addListener, getComponentIterator, moveComponentsFrom, removeAllComponents, removeListener, removeListener
addListener, addStyleName, attach, getCaption, getDescription, getIcon, getId, getLocale, getParent, getPrimaryStyleName, getStyleName, getUI, isEnabled, isReadOnly, isVisible, removeListener, removeStyleName, setCaption, setEnabled, setIcon, setId, setParent, setPrimaryStyleName, setReadOnly, setStyleName, setVisible
addAttachListener, addDetachListener, detach, encodeState, getErrorHandler, getExtensions, getRpcManager, getStateType, handleConnectorRequest, isAttached, isConnectorEnabled, markAsDirty, markAsDirtyRecursive, removeAttachListener, removeDetachListener, removeExtension, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandler
getHeight, getHeightUnits, getWidth, getWidthUnits, setHeight, setHeight, setHeightUndefined, setSizeFull, setSizeUndefined, setWidth, setWidth, setWidthUndefined
forEach, spliterator
public UIRepeater(UIComponentData componentData)
componentData
- public Set<RecordHolder> getShownRecords()
UIComponentShowingRecords
getShownRecords
in interface UIComponentShowingRecords
public void initChildren(boolean isFirstLoad)
UIRefreshHandler
UIComponents.initChildren(java.util.List, boolean)
.initChildren
in interface UIRefreshHandler
isFirstLoad
- value of field UIFieldNames.IS_FIRST_LOAD
of the created init eventpublic void registerChildren()
UIRefreshHandler
UIScreen.registerUIComponent(UIComponent)
.registerChildren
in interface UIRefreshHandler
public void unregisterChildren()
UIRefreshHandler
UIScreen.unregisterUIComponent(UIComponent)
.unregisterChildren
in interface UIRefreshHandler
public void refresh()
UIComponent
UIComponentData.getHints()
.refresh
in interface UIComponent
public void updateContextFor(UIComponentScope scope)
UIComponentWithCustomScopes
updateContextFor
in interface UIComponentWithCustomScopes
public UIComponentData getComponentData()
UIComponent
getComponentData
in interface UIComponent
public Set<UIComponent> getRefreshedComponents()
getRefreshedComponents
in interface UIRefreshHandler
public com.vaadin.ui.AbstractComponent getWidget()
UIComponent
getWidget
in interface UIComponent
Copyright © 2007-2018 Whitestein Technologies. All Rights Reserved.