public abstract class AbstractSelectionBehavior extends java.lang.Object implements SelectionBehavior
Constructor and Description |
---|
AbstractSelectionBehavior() |
Modifier and Type | Method and Description |
---|---|
SelectionChange |
setAllSelected(SelectionTableBean<?> table,
boolean selected,
UIEventInfo event) |
protected abstract void |
setAllSelectedImpl(SelectionTableBean<?> selectionTable,
boolean selected,
UIEventInfo event) |
SelectionChange |
setSelected(SelectionTableBean<?> table,
TableData data,
boolean selected,
UIEventInfo event) |
protected abstract void |
setSelectedImpl(SelectionTableBean<?> selectionTable,
TableData data,
boolean selected,
UIEventInfo event) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getPreferredSelectionModel
public final SelectionChange setAllSelected(SelectionTableBean<?> table, boolean selected, UIEventInfo event)
setAllSelected
in interface SelectionBehavior
table
- The table where the select all operation was invoked.selected
- Whether all TableData should be selected or not.event
- Event information from the user interface, if applicable.public final SelectionChange setSelected(SelectionTableBean<?> table, TableData data, boolean selected, UIEventInfo event)
setSelected
in interface SelectionBehavior
table
- The table where the select operation was invoked.data
- The TableData whose selection state should change.selected
- Whether the TableData should be selected or unselected.event
- Event information from the user interface, if applicable.protected abstract void setAllSelectedImpl(SelectionTableBean<?> selectionTable, boolean selected, UIEventInfo event)
protected abstract void setSelectedImpl(SelectionTableBean<?> selectionTable, TableData data, boolean selected, UIEventInfo event)
Copyright ? Technia AB. All Rights Reserved.