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.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 |
---|
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, writeDesign
addBlurListener, addFocusListener, addListener, addListener, focus, getTabIndex, removeBlurListener, removeFocusListener, removeListener, removeListener, setTabIndex
addContextClickListener, 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, 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
addListener, addStyleName, 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, setHeightUndefined, setSizeFull, setSizeUndefined, setWidth, setWidth, setWidthUndefined
forEach, spliterator
public UIGrid(UIComponentData data)
public void refresh()
UIComponent
UIComponentData.getHints()
.refresh
in interface UIComponent
protected void applyColumnHints()
public void attach()
attach
in interface com.vaadin.server.ClientConnector
attach
in interface com.vaadin.ui.Component
attach
in class com.vaadin.ui.AbstractComponent
public UIComponentData getComponentData()
UIComponent
getComponentData
in interface UIComponent
public com.vaadin.ui.AbstractComponent getWidget()
UIComponent
getWidget
in interface UIComponent
public boolean applyHint(String hintName, Variant<Object> newValue, Variant<Object> oldValue)
UIComponentWithHints2
applyHint
in interface UIComponentWithHints2
hintName
- 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)
UIComponentWithHints2
unapplyHint
in interface UIComponentWithHints2
hintName
- 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 UIRefreshHandler
public void registerChildren()
UIRefreshHandler
UIScreen.registerUIComponent(UIComponent)
.registerChildren
in interface UIRefreshHandler
public void unregisterChildren()
UIRefreshHandler
UIScreen.unregisterUIComponent(UIComponent)
.unregisterChildren
in interface UIRefreshHandler
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 eventCopyright © 2007-2018 Whitestein Technologies. All Rights Reserved.