java.lang.Object | |
↳ | com.google.gwt.view.client.SelectionModel.AbstractSelectionModel<T> |
Known Direct Subclasses |
A default implementation of SelectionModel
that provides listener
addition and removal.
Protected Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Construct an AbstractSelectionModel with a given key provider.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Adds a
SelectionChangeEvent handler. | |||||||||||
Fires the given event to the handlers listening to the event's type.
| |||||||||||
Get the key for a list item.
| |||||||||||
Returns a
ProvidesKey instance that simply returns the input data
item. |
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Fire a
SelectionChangeEvent . | |||||||||||
Return true if the next scheduled event should be canceled.
| |||||||||||
Return true if an event is scheduled to be fired.
| |||||||||||
Schedules a
SelectionChangeEvent to fire at the
end of the current event loop. | |||||||||||
Set whether the next scheduled event should be canceled.
| |||||||||||
Set whether an event is scheduled to be fired.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
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
|
Construct an AbstractSelectionModel with a given key provider.
keyProvider | an instance of ProvidesKey |
---|
Adds a SelectionChangeEvent
handler.
handler | the handler |
---|
Fires the given event to the handlers listening to the event's type.
Any exceptions thrown by handlers will be bundled into a
UmbrellaException
and then re-thrown after all handlers have
completed. An exception thrown by a handler will not prevent other handlers
from executing.
event | the event |
---|
Get the key for a list item.
item | the list item |
---|
Returns a ProvidesKey
instance that simply returns the input data
item.
Fire a SelectionChangeEvent
. Multiple firings may be coalesced.
Return true if the next scheduled event should be canceled.
Return true if an event is scheduled to be fired.
Schedules a SelectionChangeEvent
to fire at the
end of the current event loop.
Set whether the next scheduled event should be canceled.
isEventCancelled | if true, cancel the event |
---|
Set whether an event is scheduled to be fired.
isEventScheduled | if true, schedule the event |
---|