Java com.google.gwt.user.client.ui ScrollPanel fields, constructors, methods, implement or subclass

Example usage for Java com.google.gwt.user.client.ui ScrollPanel fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for com.google.gwt.user.client.ui ScrollPanel.

The text is from its open source code.

Subclass

com.google.gwt.user.client.ui.ScrollPanel has subclasses.
Click this link to see all its subclasses.

Constructor

ScrollPanel(Widget child)
Creates a new scroll panel with the given child widget.
ScrollPanel()
Creates an empty scroll panel.

Method

HandlerRegistrationaddScrollHandler(ScrollHandler handler)
intgetHorizontalScrollPosition()
Gets the horizontal scroll position.
intgetMaximumVerticalScrollPosition()
intgetScrollPosition()
Gets the vertical scroll position.
intgetVerticalScrollPosition()
voidscrollToBottom()
Scroll to the bottom of this panel.
voidsetAlwaysShowScrollBars(boolean alwaysShow)
Sets whether this panel always shows its scroll bars, or only when necessary.
voidsetHeight(String height)
Sets the object's height.
voidsetHorizontalScrollPosition(int position)
Sets the horizontal scroll position.
voidsetScrollPosition(int position)
Sets the vertical scroll position.
voidsetSize(String width, String height)
Sets the object's size.
voidsetVerticalScrollPosition(int position)
voidsetWidth(String width)
Sets the object's width.