T
- the type of the rows in gridpublic class SelectAllEvent<T> extends com.google.gwt.event.shared.GwtEvent<SelectAllHandler<T>>
Constructor and Description |
---|
SelectAllEvent(SelectionModel<T> selectionModel)
Constructs a new select all event when all rows in grid are selected.
|
SelectAllEvent(SelectionModel<T> selectionModel,
boolean allSelected) |
Modifier and Type | Method and Description |
---|---|
protected void |
dispatch(SelectAllHandler<T> handler) |
com.google.gwt.event.shared.GwtEvent.Type<SelectAllHandler<T>> |
getAssociatedType() |
SelectionModel<T> |
getSelectionModel()
The selection model in use.
|
static com.google.gwt.event.shared.GwtEvent.Type<SelectAllHandler<?>> |
getType()
Gets the type of the handlers for this event.
|
boolean |
isAllSelected()
Returns whether all the rows were selected, or deselected.
|
assertLive, getSource, isLive, kill, revive
public SelectAllEvent(SelectionModel<T> selectionModel)
selectionModel
- the selection model in usepublic SelectAllEvent(SelectionModel<T> selectionModel, boolean allSelected)
selectionModel
- the selection model in useallSelected
- true
for all selected, false
for all
deselectedpublic static final com.google.gwt.event.shared.GwtEvent.Type<SelectAllHandler<?>> getType()
public com.google.gwt.event.shared.GwtEvent.Type<SelectAllHandler<T>> getAssociatedType()
getAssociatedType
in class com.google.gwt.event.shared.GwtEvent<SelectAllHandler<T>>
protected void dispatch(SelectAllHandler<T> handler)
dispatch
in class com.google.gwt.event.shared.GwtEvent<SelectAllHandler<T>>
public SelectionModel<T> getSelectionModel()
public boolean isAllSelected()
true
for selecting all rows, or false
for
deselecting all rowsCopyright © 2018 Vaadin Ltd. All rights reserved.