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 | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.google.gwt.view.client.SelectionModel.AbstractSelectionModel
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface com.google.gwt.event.shared.HasHandlers | |||||||||||
From interface
com.google.gwt.view.client.ProvidesKey
| |||||||||||
From interface
com.google.gwt.view.client.SelectionModel
|
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.