T - the tree item typepublic static final class Tree.TreeMultiSelectionModel<T> extends MultiSelectionModelImpl<T>
MultiSelectionModel.SelectAllCheckBoxVisibilityClientConnector.AttachEvent, ClientConnector.AttachListener, ClientConnector.ConnectorErrorEvent, ClientConnector.DetachEvent, ClientConnector.DetachListenerSelectionModel.Multi<T>, SelectionModel.Single<T>| Constructor and Description |
|---|
TreeMultiSelectionModel() |
| Modifier and Type | Method and Description |
|---|---|
protected TreeMultiSelectionModelState |
getState()
Returns the shared state for this connector.
|
protected TreeMultiSelectionModelState |
getState(boolean markAsDirty)
Returns the shared state for this connector.
|
addMultiSelectionListener, asMultiSelect, beforeClientResponse, deselectAll, getSelectAllCheckBoxVisibility, getSelectedItems, init, isAllSelected, isSelectAllCheckBoxVisible, isSelected, onDeselectAll, onSelectAll, refreshData, selectAll, selectionContainsId, setSelectAllCheckBoxVisibility, updateCanSelectAll, updateSelection, updateSelectiondestroyAllData, extend, generateData, getGrid, isUserSelectionAllowed, remove, setUserSelectionAllowedaddComponentToGrid, getInternalIdForColumn, getParent, removeComponentFromGridgetData, refreshextend, getSupportedParentType, setParentaddAttachListener, addDetachListener, addExtension, addListener, addListener, addListener, addMethodInvocationToQueue, attach, createState, detach, encodeState, equals, fireEvent, getAllChildrenIterable, getConnectorId, getErrorHandler, getExtensions, getListeners, getResource, getRpcManager, getRpcProxy, getSession, getStateType, getUI, handleConnectorRequest, hashCode, hasListeners, isAttached, isConnectorEnabled, isThis, markAsDirty, markAsDirtyRecursive, registerRpc, registerRpc, removeAttachListener, removeDetachListener, removeExtension, removeListener, removeListener, removeListener, removeListener, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandler, setResource, updateDiffstateclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitaddSelectionListenerisUserSelectionAllowed, remove, setUserSelectionAllowedaddAttachListener, addDetachListener, attach, detach, encodeState, getErrorHandler, getExtensions, getParent, getRpcManager, getStateType, getUI, handleConnectorRequest, isAttached, isConnectorEnabled, markAsDirty, markAsDirtyRecursive, removeAttachListener, removeDetachListener, removeExtension, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandlergetConnectorIddeselect, deselectItems, getFirstSelectedItem, select, selectItemsdestroyDataprotected TreeMultiSelectionModelState getState()
AbstractClientConnector
As a side effect, marks the connector dirty so any changes done to the
state will be sent to the client. Use getState(false) to avoid
marking the connector as dirty.
getState in class MultiSelectionModelImpl<T>protected TreeMultiSelectionModelState getState(boolean markAsDirty)
AbstractClientConnectorgetState in class MultiSelectionModelImpl<T>markAsDirty - true if the connector should automatically be marked dirty,
false otherwiseAbstractClientConnector.getState()Copyright © 2020 Vaadin Ltd. All rights reserved.