Class CheckboxColumn<T>
- java.lang.Object
-
- com.flowingcode.vaadin.addons.gridhelpers.CheckboxColumn<T>
-
- Type Parameters:
T
-
- All Implemented Interfaces:
Serializable
public final class CheckboxColumn<T> extends Object implements Serializable
A grid column where boolean value is rendered as aCheckbox
. By default select all checkbox is visible when grid uses anInMemoryDataProvider
, or it's hidden when aBackEndDataProvider
is used. When select all checkbox is visible,CheckboxColumn
must be explicitly refreshed if grid dataprovider changes after column creation usingCheckboxColumn.refresh()
method.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CheckboxColumn.CheckboxColumnConfiguration<T>
static class
CheckboxColumn.CheckboxPosition
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Set<T>
getSelectedItems()
Returns the items whose corresponding checkbox is checked.void
refresh()
Refreshes select all checkbox status to reflect the underlying data.
-