Package com.google.gwt.user.client.ui
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.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.ScrollImpl
ScrollImpl.ScrollImplTrident
-
-
Constructor Summary
Constructors Constructor Description ScrollImplTrident()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
initialize(Element scrollable, Element container)
Initialize a scrollable element.boolean
isRtl(Element scrollable)
Check if the specified element has an RTL direction.-
Methods inherited from class com.google.gwt.user.client.ui.ScrollImpl
get, getMaximumHorizontalScrollPosition, getMinimumHorizontalScrollPosition
-
-
-
-
Method Detail
-
initialize
public void initialize(Element scrollable, Element container)
Description copied from class:ScrollImpl
Initialize a scrollable element.- Overrides:
initialize
in classScrollImpl
- Parameters:
scrollable
- the scrollable elementcontainer
- 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 classScrollImpl
- Parameters:
scrollable
- the scrollable element- Returns:
- true if the direction is RTL, false if LTR
-
-