Interface CellHoverHandler
- All Superinterfaces:
EventHandler
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onCellHover
(CellHoverEvent event) Called when the mouse hovers over a cell ifthis.canHover
istrue
.
-
Method Details
-
onCellHover
Called when the mouse hovers over a cell ifthis.canHover
istrue
. To suppress the hover text from being shown ifshowHover
istrue
forthis
or the field, cancel theCellHoverEvent
. For example:grid.addCellHoverHandler(new CellHoverHandler() { @Override public void onCellHover(CellHoverEvent event) { if (/* some condition for when to suppress the hover */) { event.cancel(); } } });
- Parameters:
event
- the event
-