to.etc.domui.component.tbl
Interface ISelectionListener<T>

All Known Implementing Classes:
CheckBoxDataTable, DataTable, MultipleSelectionDataTable

public interface ISelectionListener<T>

A listener for selection events on a ISelectionModel. Register instances on it with ISelectionModel.addListener(ISelectionListener).

Author:
Frits Jalvingh Created on Feb 17, 2011

Method Summary
 void selectionAllChanged()
          Notification that the entire selection on a ISelectionModel is cleared or set: rewrite all shown rows.
 void selectionChanged(T row, boolean on)
          Notification that the selection of the item changed.
 

Method Detail

selectionChanged

void selectionChanged(@Nonnull
                      T row,
                      boolean on)
                      throws java.lang.Exception
Notification that the selection of the item changed. is sent via this call.

Parameters:
row -
on -
Throws:
java.lang.Exception

selectionAllChanged

void selectionAllChanged()
                         throws java.lang.Exception
Notification that the entire selection on a ISelectionModel is cleared or set: rewrite all shown rows.

Throws:
java.lang.Exception