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
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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
initialize
(Element scrollable, Element container) Initialize a scrollable element.boolean
Check if the specified element has an RTL direction.Methods inherited from class com.google.gwt.user.client.ui.ScrollImpl
get, getMaximumHorizontalScrollPosition, getMinimumHorizontalScrollPosition
-
Constructor Details
-
ScrollImplTrident
ScrollImplTrident()
-
-
Method Details
-
initialize
Description copied from class:ScrollImpl
Initialize a scrollable element.- Overrides:
initialize
in classScrollImpl
- Parameters:
scrollable
- the scrollable elementcontainer
- the container
-
isRtl
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
-