|
GWT 2.7.0 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.google.gwt.view.client.SelectionModel.AbstractSelectionModel<T> com.google.gwt.view.client.MultiSelectionModel<T> com.google.gwt.view.client.OrderedMultiSelectionModel<T>
T
- the record data typepublic class OrderedMultiSelectionModel<T>
A simple selection model that allows multiple items to be selected and retains order of selection. Selecting the same item multiple times does not change the order (item won't be moved to the end of selection). OrderedMultiSelectionModel uses LinkedHashMaps, which may increase the size of your compiled output if you do not use LinkedHashMaps elsewhere in your application.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.google.gwt.view.client.MultiSelectionModel |
---|
MultiSelectionModel.SelectionChange<T> |
Nested classes/interfaces inherited from interface com.google.gwt.view.client.SelectionModel |
---|
SelectionModel.AbstractSelectionModel<T> |
Field Summary |
---|
Fields inherited from class com.google.gwt.view.client.MultiSelectionModel |
---|
selectedSet |
Constructor Summary | |
---|---|
OrderedMultiSelectionModel()
Constructs a OrderedMultiSelectionModel without a key provider. |
|
OrderedMultiSelectionModel(ProvidesKey<T> keyProvider)
Constructs a OrderedMultiSelectionModel with the given key provider. |
Method Summary | |
---|---|
java.util.List<T> |
getSelectedList()
Get the List of selected items as a copy. |
Methods inherited from class com.google.gwt.view.client.MultiSelectionModel |
---|
clear, fireSelectionChangeEvent, getSelectedSet, isSelected, resolveChanges, setSelected |
Methods inherited from class com.google.gwt.view.client.SelectionModel.AbstractSelectionModel |
---|
addSelectionChangeHandler, fireEvent, getKey, getKeyProvider, isEventCancelled, isEventScheduled, scheduleSelectionChangeEvent, setEventCancelled, setEventScheduled |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.google.gwt.view.client.SelectionModel |
---|
addSelectionChangeHandler |
Methods inherited from interface com.google.gwt.event.shared.HasHandlers |
---|
fireEvent |
Methods inherited from interface com.google.gwt.view.client.ProvidesKey |
---|
getKey |
Constructor Detail |
---|
public OrderedMultiSelectionModel()
public OrderedMultiSelectionModel(ProvidesKey<T> keyProvider)
keyProvider
- an instance of ProvidesKeyMethod Detail |
---|
public java.util.List<T> getSelectedList()
|
GWT 2.7.0 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |