java.lang.Object | ||
↳ | com.google.gwt.view.client.SelectionModel.AbstractSelectionModel<T> | |
↳ | com.google.gwt.view.client.SingleSelectionModel<T> |
A simple selection model that allows only one object to be selected a a time.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Constructs a SingleSelectionModel without a key provider.
| |||||||||||
Constructs a SingleSelectionModel with the given key provider.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Gets the currently-selected object.
| |||||||||||
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Fire a
SelectionChangeEvent . |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() |
Constructs a SingleSelectionModel without a key provider.
Constructs a SingleSelectionModel with the given key provider.
keyProvider | an instance of ProvidesKey |
---|
Gets the currently-selected object.
Fire a SelectionChangeEvent
. Multiple firings may be coalesced.