Class ScrollImpl.ScrollImplTrident

java.lang.Object
com.google.gwt.user.client.ui.ScrollImpl
com.google.gwt.user.client.ui.ScrollImpl.ScrollImplTrident
Enclosing class:
ScrollImpl

static class ScrollImpl.ScrollImplTrident extends ScrollImpl
IE does not fire a scroll event when the scrollable element or the container is resized, so we synthesize one as needed. IE scrolls in the positive direction, even in RTL mode.
  • Constructor Details

    • ScrollImplTrident

      ScrollImplTrident()
  • Method Details

    • initialize

      public void initialize(Element scrollable, Element container)
      Description copied from class: ScrollImpl
      Initialize a scrollable element.
      Overrides:
      initialize in class ScrollImpl
      Parameters:
      scrollable - the scrollable element
      container - the container
    • isRtl

      public boolean isRtl(Element scrollable)
      Description copied from class: ScrollImpl
      Check if the specified element has an RTL direction. We can't base this on the current locale because the user can modify the direction at the DOM level.
      Overrides:
      isRtl in class ScrollImpl
      Parameters:
      scrollable - the scrollable element
      Returns:
      true if the direction is RTL, false if LTR