|
GWT 2.7.0 | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.google.gwt.view.client.DefaultSelectionEventManager.WhitelistEventTranslator<T>
T - the data typepublic static class DefaultSelectionEventManager.WhitelistEventTranslator<T>
An event translator that allows selection only for the specified whitelisted columns.
| Constructor Summary | |
|---|---|
DefaultSelectionEventManager.WhitelistEventTranslator(int... whitelistedColumns)
Construct a new DefaultSelectionEventManager.WhitelistEventTranslator. |
|
| Method Summary | |
|---|---|
boolean |
clearCurrentSelection(CellPreviewEvent<T> event)
Check whether a user selection event should clear all currently selected values. |
void |
clearWhitelist()
Clear all columns from the whitelist. |
boolean |
isColumnWhitelisted(int index)
Check if the specified column is whitelisted. |
void |
setColumnWhitelisted(int index,
boolean isWhitelisted)
Set whether or not the specified column in whitelisted. |
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.WhitelistEventTranslator(int... whitelistedColumns)
DefaultSelectionEventManager.WhitelistEventTranslator.
whitelistedColumns - the columns to whitelist| Method Detail |
|---|
public boolean clearCurrentSelection(CellPreviewEvent<T> event)
DefaultSelectionEventManager.EventTranslator
clearCurrentSelection in interface DefaultSelectionEventManager.EventTranslator<T>event - the CellPreviewEvent to translatepublic void clearWhitelist()
public boolean isColumnWhitelisted(int index)
index - the column index
public void setColumnWhitelisted(int index,
boolean isWhitelisted)
index - the column indexisWhitelisted - true to whitelist, false to allow disallow selectionpublic DefaultSelectionEventManager.SelectAction translateSelectionEvent(CellPreviewEvent<T> event)
DefaultSelectionEventManager.EventTranslatorDefaultSelectionEventManager.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 | |||||||