Interface HasDrawAreaChangedHandlers

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

public interface HasDrawAreaChangedHandlers extends HasHandlers
  • Method Details

    • addDrawAreaChangedHandler

      HandlerRegistration addDrawAreaChangedHandler(DrawAreaChangedHandler handler)
      Notification method that fires when the drawArea changes due to scrolling. Receives the previous drawArea co-ordinates as parameters. Call getDrawArea() to get the new drawArea co-ordinates.

      Note that if this grid is showing any frozen fields, they will not be included in the oldStartCol, oldEndCol range reported by this method. Frozen fields are assumed never to be scrolled out of view.

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