Interface HasSelectionUpdatedHandlers

All Superinterfaces:
HasHandlers
All Known Implementing Classes:
CalendarView, CubeGrid, DateGrid, EditTree, ListGrid, ListPalette, Menu, MenuPalette, PickListMenu, RecordEditor, SelectionTreeMenu, TableView, TreeGrid, TreePalette

public interface HasSelectionUpdatedHandlers extends HasHandlers
  • Method Details

    • addSelectionUpdatedHandler

      HandlerRegistration addSelectionUpdatedHandler(SelectionUpdatedHandler handler)
      Called when the selection changes. Note that this method fires exactly once for any given change to the selection unlike the selectionChanged event.

      This event is fired once after selection/deselection has completed. The result is one event per mouse-down event. For a drag selection there will be two events fired: one when the first record is selected and one when the range is completed.

      This event is also fired when selection is updated by a direct call to one of the DataBoundComponent select/deselect methods. Calls on the Selection object do not trigger this event.

      Parameters:
      handler - the selectionUpdated handler
      Returns:
      HandlerRegistration used to remove this handler