T - the type of items in gridpublic interface MultiSelectionModel<T> extends GridSelectionModel<T>, SelectionModel.Multi<T>
ClientConnector.AttachEvent, ClientConnector.AttachListener, ClientConnector.ConnectorErrorEvent, ClientConnector.DetachEvent, ClientConnector.DetachListenerSelectionModel.Multi<T>, SelectionModel.Single<T>| Modifier and Type | Method and Description |
|---|---|
Registration |
addMultiSelectionListener(MultiSelectionListener<T> listener)
Adds a selection listener that will be called when the selection is
changed either by the user or programmatically.
|
default Registration |
addSelectionListener(SelectionListener<T> listener)
Adds a generic listener to this selection model, accepting both single
and multiselection events.
|
MultiSelect<T> |
asMultiSelect()
Gets a wrapper to use this multiselection model as a multiselect in
Binder. |
isUserSelectionAllowed, remove, setUserSelectionAllowedaddAttachListener, addDetachListener, attach, beforeClientResponse, detach, encodeState, getErrorHandler, getExtensions, getParent, getRpcManager, getStateType, getUI, handleConnectorRequest, isAttached, isConnectorEnabled, markAsDirty, markAsDirtyRecursive, removeAttachListener, removeDetachListener, removeExtension, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandlergetConnectorIddeselect, deselectItems, getFirstSelectedItem, select, selectAll, selectItems, updateSelectiondeselectAll, getSelectedItems, isSelectedMultiSelect<T> asMultiSelect()
Binder.default Registration addSelectionListener(SelectionListener<T> listener)
Use addMultiSelectionListener(MultiSelectionListener) for more
specific event on multiselection.
addSelectionListener in interface SelectionModel<T>listener - the listener to addaddMultiSelectionListener(MultiSelectionListener)Registration addMultiSelectionListener(MultiSelectionListener<T> listener)
listener - the value change listener, not nullCopyright © 2017 Vaadin Ltd. All rights reserved.