|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.gwt.view.client.SelectionModel.AbstractSelectionModel<T>
com.google.gwt.view.client.DefaultSelectionModel<T>
T - the data type of records in the listpublic abstract class DefaultSelectionModel<T>
A convenience SelectionModel that allows records to be selected
according to a subclass-defined rule, plus a list of positive or negative
exceptions.
Note: This class is new and its interface subject to change.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface com.google.gwt.view.client.SelectionModel |
|---|
SelectionModel.AbstractSelectionModel<T>, SelectionModel.SelectionChangeEvent, SelectionModel.SelectionChangeHandler |
| Constructor Summary | |
|---|---|
DefaultSelectionModel()
|
|
| Method Summary | |
|---|---|
void |
clearExceptions()
Removes all exceptions. |
abstract boolean |
isDefaultSelected(T object)
Returns true if the given object should be selected by default. |
boolean |
isSelected(T object)
If the given object is marked as an exception, return the exception value. |
void |
setSelected(T object,
boolean selected)
Sets an object's selection state. |
| Methods inherited from class com.google.gwt.view.client.SelectionModel.AbstractSelectionModel |
|---|
addSelectionChangeHandler, fireEvent, getKey, getKeyProvider, setKeyProvider |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultSelectionModel()
| Method Detail |
|---|
public void clearExceptions()
public abstract boolean isDefaultSelected(T object)
public boolean isSelected(T object)
object - the object
public void setSelected(T object,
boolean selected)
object - the object to select or deselectselected - true to select, false to deselect
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||