public abstract class GridView<T,P extends GridViewPresenter<T>> extends com.vaadin.ui.Composite implements ContentView, com.vaadin.ui.Component.Focusable
ListView
,
TreeView
,
Serialized Formcom.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
com.vaadin.server.Sizeable.Unit
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
Modifier and Type | Field and Description |
---|---|
protected GridViewDefinition<T> |
definition |
protected com.vaadin.ui.components.grid.Editor<T> |
editor |
protected com.vaadin.ui.Grid<T> |
grid |
protected P |
presenter |
protected ValueContext<T> |
valueContext |
Modifier | Constructor and Description |
---|---|
protected |
GridView(ValueContext<T> valueContext,
GridViewDefinition<T> definition) |
Modifier and Type | Method and Description |
---|---|
protected abstract P |
createPresenter() |
void |
focus() |
int |
getTabIndex() |
protected void |
scrollToSelectedItem() |
protected void |
select(Stream<T> values) |
void |
setTabIndex(int tabIndex) |
void |
setVisible(boolean visible) |
addStyleName, beforeClientResponse, getCaption, getComponentError, getCompositionRoot, getDebugId, getDescription, getErrorMessage, getHeight, getHeightUnits, getIcon, getId, getPrimaryStyleName, getState, getState, getStyleName, getWidth, getWidthUnits, isCaptionAsHtml, isEnabled, iterator, removeStyleName, setCaption, setCaptionAsHtml, setComponentError, setCompositionRoot, setDebugId, setDescription, setDescription, setEnabled, setHeight, setHeight, setHeightUndefined, setIcon, setId, setPrimaryStyleName, setSizeFull, setSizeUndefined, setStyleName, setStyleName, setWidth, setWidth, setWidthUndefined
addContextClickListener, addListener, addShortcutListener, attach, detach, findAncestor, fireComponentErrorEvent, fireComponentEvent, getActionManager, getCustomAttributes, getData, getLocale, getParent, isConnectorEnabled, isOrHasAncestor, isReadOnly, isRequiredIndicatorVisible, isResponsive, isVisible, readDesign, removeContextClickListener, removeListener, removeShortcutListener, setData, setHeightFull, setLocale, setParent, setReadOnly, setRequiredIndicatorVisible, setResponsive, setWidthFull, writeDesign
addAttachListener, addDetachListener, addExtension, addListener, addListener, addListener, 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, removeListener, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandler, setResource, updateDiffstate
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
accessViewBeanStore, asVaadinComponent, bindContext, bindInstance, create, create, create, create, destroy, getComponentProvider, getCurrentViewReference
addListener, addStyleName, addStyleNames, attach, getCaption, getDescription, getIcon, getId, getLocale, getParent, getPrimaryStyleName, getStyleName, getUI, isEnabled, isVisible, readDesign, removeListener, removeStyleName, removeStyleNames, setCaption, setEnabled, setIcon, setId, setParent, setPrimaryStyleName, setStyleName, setStyleName, writeDesign
addAttachListener, addDetachListener, beforeClientResponse, detach, encodeState, getErrorHandler, getExtensions, getRpcManager, getStateType, handleConnectorRequest, isAttached, isConnectorEnabled, markAsDirty, markAsDirtyRecursive, removeAttachListener, removeDetachListener, removeExtension, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandler
getHeight, getHeightUnits, getWidth, getWidthUnits, setHeight, setHeight, setHeightFull, setHeightUndefined, setSizeFull, setSizeUndefined, setWidth, setWidth, setWidthFull, setWidthUndefined
forEach, spliterator
protected final ValueContext<T> valueContext
protected final GridViewDefinition<T> definition
protected final com.vaadin.ui.Grid<T> grid
protected final P extends GridViewPresenter<T> presenter
protected final com.vaadin.ui.components.grid.Editor<T> editor
protected GridView(ValueContext<T> valueContext, GridViewDefinition<T> definition)
public void setVisible(boolean visible)
setVisible
in interface com.vaadin.ui.Component
setVisible
in class com.vaadin.ui.AbstractComponent
public void focus()
focus
in interface com.vaadin.ui.Component.Focusable
focus
in class com.vaadin.ui.AbstractComponent
protected void scrollToSelectedItem()
public int getTabIndex()
getTabIndex
in interface com.vaadin.ui.Component.Focusable
public void setTabIndex(int tabIndex)
setTabIndex
in interface com.vaadin.ui.Component.Focusable
protected abstract P createPresenter()
Copyright © 2021 Magnolia International Ltd.. All rights reserved.