to.etc.domui.component.tbl
Class DefaultSelectAllHandler

java.lang.Object
  extended by to.etc.domui.component.tbl.DefaultSelectAllHandler
All Implemented Interfaces:
ISelectionAllHandler

public class DefaultSelectAllHandler
extends java.lang.Object
implements ISelectionAllHandler

A default "select all" handler which delegates to either the model (preferred) or the selection model itself (slow).

Author:
Frits Jalvingh Created on Feb 17, 2011

Constructor Summary
DefaultSelectAllHandler()
           
 
Method Summary
<T> void
selectAll(ITableModel<T> sourceModel, ISelectionModel<T> selectionModel)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultSelectAllHandler

public DefaultSelectAllHandler()
Method Detail

selectAll

public <T> void selectAll(ITableModel<T> sourceModel,
                          ISelectionModel<T> selectionModel)
               throws java.lang.Exception
Specified by:
selectAll in interface ISelectionAllHandler
Throws:
java.lang.Exception