public static class

DefaultSelectionEventManager.CheckboxEventTranslator

extends Object
implements DefaultSelectionEventManager.EventTranslator<T>
java.lang.Object
   ↳ com.google.gwt.view.client.DefaultSelectionEventManager.CheckboxEventTranslator<T>

Class Overview

Implementation of DefaultSelectionEventManager.CheckboxEventTranslator that only triggers selection when any checkbox is selected.

Summary

Public Constructors
DefaultSelectionEventManager.CheckboxEventTranslator()
Construct a new DefaultSelectionEventManager.CheckboxEventTranslator that will trigger selection when any checkbox in any column is selected.
DefaultSelectionEventManager.CheckboxEventTranslator(int column)
Construct a new DefaultSelectionEventManager.CheckboxEventTranslator that will trigger selection when a checkbox in the specified column is selected.
Public Methods
boolean clearCurrentSelection(CellPreviewEvent<T> event)
Check whether a user selection event should clear all currently selected values.
DefaultSelectionEventManager.SelectAction translateSelectionEvent(CellPreviewEvent<T> event)
Translate the user selection event into a DefaultSelectionEventManager.SelectAction.
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.google.gwt.view.client.DefaultSelectionEventManager.EventTranslator

Public Constructors

public DefaultSelectionEventManager.CheckboxEventTranslator ()

Construct a new DefaultSelectionEventManager.CheckboxEventTranslator that will trigger selection when any checkbox in any column is selected.

public DefaultSelectionEventManager.CheckboxEventTranslator (int column)

Construct a new DefaultSelectionEventManager.CheckboxEventTranslator that will trigger selection when a checkbox in the specified column is selected.

Parameters
column the column index, or -1 for all columns

Public Methods

public boolean clearCurrentSelection (CellPreviewEvent<T> event)

Check whether a user selection event should clear all currently selected values.

Parameters
event the CellPreviewEvent to translate

public DefaultSelectionEventManager.SelectAction translateSelectionEvent (CellPreviewEvent<T> event)

Translate the user selection event into a DefaultSelectionEventManager.SelectAction.

Parameters
event the CellPreviewEvent to translate