T
- the tree item typepublic static final class Tree.TreeMultiSelectionModel<T> extends MultiSelectionModelImpl<T>
MultiSelectionModel.SelectAllCheckBoxVisibility
ClientConnector.AttachEvent, ClientConnector.AttachListener, ClientConnector.ConnectorErrorEvent, ClientConnector.DetachEvent, ClientConnector.DetachListener
SelectionModel.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, updateSelection
destroyAllData, extend, generateData, getGrid, isUserSelectionAllowed, remove, setUserSelectionAllowed
addComponentToGrid, getInternalIdForColumn, getParent, removeComponentFromGrid
getData, refresh
extend, getSupportedParentType, setParent
addAttachListener, 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, updateDiffstate
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
addSelectionListener
isUserSelectionAllowed, remove, setUserSelectionAllowed
addAttachListener, addDetachListener, attach, detach, encodeState, getErrorHandler, getExtensions, getParent, getRpcManager, getStateType, getUI, handleConnectorRequest, isAttached, isConnectorEnabled, markAsDirty, markAsDirtyRecursive, removeAttachListener, removeDetachListener, removeExtension, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandler
getConnectorId
deselect, deselectItems, getFirstSelectedItem, select, selectItems
destroyData
protected 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)
AbstractClientConnector
getState
in class MultiSelectionModelImpl<T>
markAsDirty
- true if the connector should automatically be marked dirty,
false otherwiseAbstractClientConnector.getState()
Copyright © 2018 Vaadin Ltd. All rights reserved.