Interface HasCellHoverHandlers
- All Superinterfaces:
HasHandlers
- All Known Implementing Classes:
CalendarView,CubeGrid,DateGrid,EditTree,ListGrid,ListPalette,Menu,MenuPalette,PickListMenu,RecordEditor,SelectionTreeMenu,TableView,TreeGrid,TreePalette
-
Method Summary
Modifier and TypeMethodDescriptionaddCellHoverHandler(CellHoverHandler handler) Called when the mouse hovers over a cell ifthis.canHoveristrue.Methods inherited from interface com.google.gwt.event.shared.HasHandlers
fireEvent
-
Method Details
-
addCellHoverHandler
Called when the mouse hovers over a cell ifthis.canHoveristrue. To suppress the hover text from being shown ifshowHoveristrueforthisor 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:
handler- the cellHover handler- Returns:
HandlerRegistrationused to remove this handler
-