public class UIGrid extends com.vaadin.ui.Grid implements UIComponent, UIComponentWithHints2, UIRefreshHandler
com.vaadin.ui.Grid.AbstractGridExtension, com.vaadin.ui.Grid.AbstractRenderer<T>, com.vaadin.ui.Grid.AbstractSelectionModel, com.vaadin.ui.Grid.CellDescriptionGenerator, com.vaadin.ui.Grid.CellReference, com.vaadin.ui.Grid.CellStyleGenerator, com.vaadin.ui.Grid.Column, com.vaadin.ui.Grid.ColumnReorderEvent, com.vaadin.ui.Grid.ColumnReorderListener, com.vaadin.ui.Grid.ColumnResizeEvent, com.vaadin.ui.Grid.ColumnResizeListener, com.vaadin.ui.Grid.ColumnVisibilityChangeEvent, com.vaadin.ui.Grid.ColumnVisibilityChangeListener, com.vaadin.ui.Grid.CommitErrorEvent, com.vaadin.ui.Grid.DefaultEditorErrorHandler, com.vaadin.ui.Grid.DetailComponentManager, com.vaadin.ui.Grid.DetailsGenerator, com.vaadin.ui.Grid.EditorCloseEvent, com.vaadin.ui.Grid.EditorErrorHandler, com.vaadin.ui.Grid.EditorEvent, com.vaadin.ui.Grid.EditorFieldFactory, com.vaadin.ui.Grid.EditorListener, com.vaadin.ui.Grid.EditorMoveEvent, com.vaadin.ui.Grid.EditorOpenEvent, com.vaadin.ui.Grid.Footer, com.vaadin.ui.Grid.FooterCell, com.vaadin.ui.Grid.FooterRow, com.vaadin.ui.Grid.GridContextClickEvent, com.vaadin.ui.Grid.Header, com.vaadin.ui.Grid.HeaderCell, com.vaadin.ui.Grid.HeaderRow, com.vaadin.ui.Grid.MultiSelectionModel, com.vaadin.ui.Grid.NoSelectionModel, com.vaadin.ui.Grid.RowDescriptionGenerator, com.vaadin.ui.Grid.RowReference, com.vaadin.ui.Grid.RowStyleGenerator, com.vaadin.ui.Grid.SelectionMode, com.vaadin.ui.Grid.SelectionModel, com.vaadin.ui.Grid.SingleSelectionModel, com.vaadin.ui.Grid.StaticSection<ROWTYPE extends com.vaadin.ui.Grid.StaticSection.StaticRow<?>>com.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| Constructor and Description |
|---|
UIGrid(UIComponentData data) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
applyColumnHints() |
boolean |
applyHint(String hintName,
Variant<Object> newValue,
Variant<Object> oldValue)
Applies the given hint to this component.
|
void |
attach() |
UIComponentData |
getComponentData()
Returns the component definition (LSPS RecordHolder instance which is
subtype of "ui::Component") associated with this Vaadin component.
|
Set<UIComponent> |
getRefreshedComponents() |
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() |
boolean |
unapplyHint(String hintName,
Variant<Object> oldValue)
The hint has been removed from the hint map.
|
void |
unregisterChildren()
Should unregister all child components in the screen.
|
addColumn, addColumn, addColumnProperty, addColumnReorderListener, addColumnResizeListener, addColumnVisibilityChangeListener, addFooterRowAt, addHeaderRowAt, addItemClickListener, addListener, addRow, addSelectionListener, addSortListener, appendFooterRow, appendHeaderRow, beforeClientResponse, cancelEditor, clearSortOrder, deselect, deselectAll, doCancelEditor, doEditItem, editItem, fireSelectionEvent, getCellDescriptionGenerator, getCellStyleGenerator, getColumn, getColumnResizeMode, getColumns, getContainerDataSource, getCustomAttributes, getDefaultHeaderRow, getDetailsGenerator, getEditedItemId, getEditorCancelCaption, getEditorErrorHandler, getEditorFieldFactory, getEditorFieldGroup, getEditorSaveCaption, getFooter, getFooterRow, getFooterRowCount, getFrozenColumnCount, getHeader, getHeaderRow, getHeaderRowCount, getHeightByRows, getHeightMode, getRowDescriptionGenerator, getRowStyleGenerator, getSelectedRow, getSelectedRows, getSelectionModel, getSortOrder, getState, getState, isColumnReorderingAllowed, isDetailsVisible, isEditorActive, isEditorBuffered, isEditorEnabled, isFooterVisible, isHeaderVisible, isRendered, isSelected, iterator, prependFooterRow, prependHeaderRow, readDesign, recalculateColumnWidths, refreshAllRows, refreshRows, removeAllColumns, removeColumn, removeColumnReorderListener, removeColumnResizeListener, removeColumnVisibilityChangeListener, removeFooterRow, removeFooterRow, removeHeaderRow, removeHeaderRow, removeItemClickListener, removeListener, removeSelectionListener, removeSortListener, saveEditor, scrollTo, scrollTo, scrollToEnd, scrollToStart, select, setCellDescriptionGenerator, setCellStyleGenerator, setColumnOrder, setColumnReorderingAllowed, setColumnResizeMode, setColumns, setContainerDataSource, setDefaultHeaderRow, setDetailsGenerator, setDetailsVisible, setEditorBuffered, setEditorCancelCaption, setEditorEnabled, setEditorErrorHandler, setEditorFieldFactory, setEditorFieldGroup, setEditorSaveCaption, setFooterVisible, setFrozenColumnCount, setHeaderVisible, setHeight, setHeightByRows, setHeightMode, setRowDescriptionGenerator, setRowStyleGenerator, setSelectionMode, setSelectionModel, setSortOrder, sort, sort, sort, writeDesignaddBlurListener, addFocusListener, addListener, addListener, focus, getTabIndex, removeBlurListener, removeFocusListener, removeListener, removeListener, setTabIndexaddContextClickListener, addListener, addShortcutListener, addStyleName, detach, findAncestor, fireComponentErrorEvent, fireComponentEvent, getActionManager, getCaption, getComponentError, getData, getDebugId, getDescription, getErrorMessage, getExplicitImmediateValue, getHeight, getHeightUnits, getIcon, getId, getLocale, getParent, getPrimaryStyleName, 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, 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, markAsDirty, markAsDirtyRecursive, registerRpc, registerRpc, removeAttachListener, removeDetachListener, removeExtension, removeListener, removeListener, removeListener, removeListener, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandler, setResourceclone, finalize, getClass, notify, notifyAll, wait, wait, waitaddListener, addStyleName, getCaption, getDescription, getIcon, getId, getLocale, getParent, getPrimaryStyleName, getStyleName, getUI, isEnabled, isReadOnly, isVisible, removeListener, removeStyleName, setCaption, setEnabled, setIcon, setId, setParent, setPrimaryStyleName, setReadOnly, setStyleName, setVisibleaddAttachListener, addDetachListener, detach, encodeState, getErrorHandler, getExtensions, getRpcManager, getStateType, handleConnectorRequest, isAttached, isConnectorEnabled, markAsDirty, markAsDirtyRecursive, removeAttachListener, removeDetachListener, removeExtension, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandlergetHeight, getHeightUnits, getWidth, getWidthUnits, setHeight, setHeightUndefined, setSizeFull, setSizeUndefined, setWidth, setWidth, setWidthUndefinedforEach, spliteratorpublic UIGrid(UIComponentData data)
public void refresh()
UIComponentUIComponentData.getHints().refresh in interface UIComponentprotected void applyColumnHints()
public void attach()
attach in interface com.vaadin.server.ClientConnectorattach in interface com.vaadin.ui.Componentattach in class com.vaadin.ui.AbstractComponentpublic UIComponentData getComponentData()
UIComponentgetComponentData in interface UIComponentpublic com.vaadin.ui.AbstractComponent getWidget()
UIComponentgetWidget in interface UIComponentpublic 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 Set<UIComponent> getRefreshedComponents()
getRefreshedComponents in interface UIRefreshHandlerpublic void registerChildren()
UIRefreshHandlerUIScreen.registerUIComponent(UIComponent).registerChildren in interface UIRefreshHandlerpublic void unregisterChildren()
UIRefreshHandlerUIScreen.unregisterUIComponent(UIComponent).unregisterChildren in interface UIRefreshHandlerpublic void initChildren(boolean isFirstLoad)
UIRefreshHandlerUIComponents.initChildren(java.util.List, boolean).initChildren in interface UIRefreshHandlerisFirstLoad - value of field UIFieldNames.IS_FIRST_LOAD
of the created init eventCopyright © 2007-2018 Whitestein Technologies. All Rights Reserved.