com.vaadin.client.connectors.
Class MultiSelectionModelConnector
- java.lang.Object
-
- com.vaadin.client.ui.AbstractConnector
-
- com.vaadin.client.extensions.AbstractExtensionConnector
-
- com.vaadin.client.connectors.AbstractSelectionModelConnector<SelectionModel.Multi<JsonObject>>
-
- com.vaadin.client.connectors.MultiSelectionModelConnector
-
All Implemented Interfaces:
com.google.gwt.event.shared.EventHandler, StateChangeEvent.StateChangeHandler, ServerConnector, Connector, Serializable
public class MultiSelectionModelConnector extends AbstractSelectionModelConnector<SelectionModel.Multi<JsonObject>>
Connector for server-side
MultiSelectionModelConnector.MultiSelectionModel
.Since:
7.6
Author:
Vaadin Ltd
See Also:
-
-
Nested Class Summary
Nested Classes Modifier and Type Class and Description protected class
MultiSelectionModelConnector.MultiSelectionModel
The default multi selection model used for this connector.
-
Nested classes/interfaces inherited from class com.vaadin.client.connectors.AbstractSelectionModelConnector
AbstractSelectionModelConnector.AbstractSelectionModel
-
-
Constructor Summary
Constructors Constructor and Description MultiSelectionModelConnector()
-
Method Summary
All Methods Modifier and Type Method and Description protected SelectionModel.Multi<JsonObject>
createSelectionModel()
protected void
extend(ServerConnector target)
Called when the extension is attached to its parent.
MultiSelectionModelState
getState()
Returns the shared state object for this connector.
void
onUnregister()
Event called when connector has been unregistered.
-
Methods inherited from class com.vaadin.client.connectors.AbstractSelectionModelConnector
getGrid, getParent, getRowHandle, getRowKey
-
Methods inherited from class com.vaadin.client.extensions.AbstractExtensionConnector
setParent
-
Methods inherited from class com.vaadin.client.ui.AbstractConnector
addStateChangeHandler, addStateChangeHandler, createState, doInit, ensureHandlerManager, fireEvent, forceStateChange, getChildren, getConnection, getConnectorId, getResourceUrl, getRpcImplementations, getRpcProxy, getStateType, hasEventListener, init, isEnabled, onStateChanged, registerRpc, removeStateChangeHandler, removeStateChangeHandler, setChildren, unregisterRpc, updateEnabledState
-
-
-
-
Method Detail
-
extend
protected void extend(ServerConnector target)
Description copied from class:
AbstractExtensionConnector
Called when the extension is attached to its parent. This method is only called once as an extension cannot be moved from one parent to another.
Specified by:
extend
in classAbstractExtensionConnector
Parameters:
target
- The connector this extension extends
-
onUnregister
public void onUnregister()
Description copied from interface:
ServerConnector
Event called when connector has been unregistered.
Specified by:
onUnregister
in interfaceServerConnector
Overrides:
onUnregister
in classAbstractConnector
-
createSelectionModel
protected SelectionModel.Multi<JsonObject> createSelectionModel()
Specified by:
createSelectionModel
in classAbstractSelectionModelConnector<SelectionModel.Multi<JsonObject>>
-
getState
public MultiSelectionModelState getState()
Description copied from class:
AbstractConnector
Returns the shared state object for this connector. Override this method to define the shared state type for your connector.
Specified by:
getState
in interfaceServerConnector
Overrides:
getState
in classAbstractConnector
Returns:
the current shared state (never null)
-
-