com.vaadin.client.connectors
Class SingleSelectionModelConnector

java.lang.Object
  extended by com.vaadin.client.ui.AbstractConnector
      extended by com.vaadin.client.extensions.AbstractExtensionConnector
          extended by com.vaadin.client.connectors.AbstractSelectionModelConnector<SelectionModel.Single<elemental.json.JsonObject>>
              extended by com.vaadin.client.connectors.SingleSelectionModelConnector
All Implemented Interfaces:
com.google.gwt.event.shared.EventHandler, StateChangeEvent.StateChangeHandler, ServerConnector, com.vaadin.shared.Connector, java.io.Serializable

public class SingleSelectionModelConnector
extends AbstractSelectionModelConnector<SelectionModel.Single<elemental.json.JsonObject>>

Connector for server-side SingleSelectionModelConnector.SingleSelectionModel.

Since:
7.6
Author:
Vaadin Ltd
See Also:
Serialized Form

Nested Class Summary
 class SingleSelectionModelConnector.SingleSelectionModel
          SingleSelectionModel without a selection column renderer.
 
Nested classes/interfaces inherited from class com.vaadin.client.connectors.AbstractSelectionModelConnector
AbstractSelectionModelConnector.AbstractSelectionModel
 
Constructor Summary
SingleSelectionModelConnector()
           
 
Method Summary
protected  SelectionModel.Single<elemental.json.JsonObject> createSelectionModel()
           
protected  void extend(ServerConnector target)
          Called when the extension is attached to its parent.
 com.vaadin.shared.ui.grid.selection.SingleSelectionModelState 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SingleSelectionModelConnector

public SingleSelectionModelConnector()
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 class AbstractExtensionConnector
Parameters:
target - The connector this extension extends

getState

public com.vaadin.shared.ui.grid.selection.SingleSelectionModelState 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 interface ServerConnector
Overrides:
getState in class AbstractConnector
Returns:
the current shared state (never null)

onUnregister

public void onUnregister()
Description copied from interface: ServerConnector
Event called when connector has been unregistered.

Specified by:
onUnregister in interface ServerConnector
Overrides:
onUnregister in class AbstractConnector

createSelectionModel

protected SelectionModel.Single<elemental.json.JsonObject> createSelectionModel()
Specified by:
createSelectionModel in class AbstractSelectionModelConnector<SelectionModel.Single<elemental.json.JsonObject>>


Copyright © 2000-2014 Vaadin Ltd. All Rights Reserved.