|
GWT 2.7.0 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.google.gwt.user.client.ui.ScrollImpl
class ScrollImpl
Implementation of scrolling behavior.
Nested Class Summary | |
---|---|
(package private) static class |
ScrollImpl.ScrollImplTrident
IE does not fire a scroll event when the scrollable element or the container is resized, so we synthesize one as needed. |
Constructor Summary | |
---|---|
ScrollImpl()
|
Method Summary | |
---|---|
(package private) static ScrollImpl |
get()
Get the singleton instance of ScrollImpl . |
int |
getMaximumHorizontalScrollPosition(Element scrollable)
Get the maximum horizontal scroll position. |
int |
getMinimumHorizontalScrollPosition(Element scrollable)
Get the minimum horizontal scroll position. |
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 java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
ScrollImpl()
Method Detail |
---|
static ScrollImpl get()
ScrollImpl
.
public int getMaximumHorizontalScrollPosition(Element scrollable)
scrollable
- the scrollable element
public int getMinimumHorizontalScrollPosition(Element scrollable)
scrollable
- the scrollable element
public void initialize(Element scrollable, Element container)
scrollable
- the scrollable elementcontainer
- the containerpublic boolean isRtl(Element scrollable)
scrollable
- the scrollable element
|
GWT 2.7.0 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |