|
GWT 2.7.0 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.google.gwt.view.client.DefaultSelectionEventManager.CheckboxEventTranslator<T>
T
- the data typepublic static class DefaultSelectionEventManager.CheckboxEventTranslator<T>
Implementation of DefaultSelectionEventManager.BlacklistEventTranslator
that only triggers selection when
any checkbox is selected.
Constructor Summary | |
---|---|
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. |
Method Summary | |
---|---|
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 . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultSelectionEventManager.CheckboxEventTranslator()
DefaultSelectionEventManager.CheckboxEventTranslator
that will trigger
selection when any checkbox in any column is selected.
public DefaultSelectionEventManager.CheckboxEventTranslator(int column)
DefaultSelectionEventManager.CheckboxEventTranslator
that will trigger
selection when a checkbox in the specified column is selected.
column
- the column index, or -1 for all columnsMethod Detail |
---|
public boolean clearCurrentSelection(CellPreviewEvent<T> event)
DefaultSelectionEventManager.EventTranslator
clearCurrentSelection
in interface DefaultSelectionEventManager.EventTranslator<T>
event
- the CellPreviewEvent
to translatepublic DefaultSelectionEventManager.SelectAction translateSelectionEvent(CellPreviewEvent<T> event)
DefaultSelectionEventManager.EventTranslator
DefaultSelectionEventManager.SelectAction
.
translateSelectionEvent
in interface DefaultSelectionEventManager.EventTranslator<T>
event
- the CellPreviewEvent
to translate
|
GWT 2.7.0 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |