Interface Scrollable

Scrollable interface.

This interface is implemented by all visual objects that can be scrolled. The unit of scrolling is pixel.

Synopsis

Since

3.0

Inheritance Path.  com.itmill.toolkit.terminal.Scrollable

getScrollOffsetX()

Parameters

return

Horizontal scrolling position in pixels.

Get scroll X offset.

Scrolling offset is the number of pixels this scrollable has been scrolled to left.

getScrollOffsetY()

Parameters

return

Vertical scrolling position in pixels.

Get scroll Y offset.

Scrolling offset is the number of pixels this scrollable has been scrolled to down.

isScrollable()

Parameters

return

True iff the scrolling is allowed.

Is the scrolling enabled.

Enabling scrolling allows the user to scroll the scrollable view interactively

setScrollable(boolean)

Parameters

isScrollingEnabled

True iff the scrolling is allowed.

Enable or disable scrolling..

Enabling scrolling allows the user to scroll the scrollable view interactively

setScrollOffsetX(int)

Parameters

xOffset.

Set scroll X offset.

Scrolling offset is the number of pixels this scrollable has been scrolled to left.

setScrollOffsetY(int)

Parameters

yOffset.

Set scroll Y offset.

Scrolling offset is the number of pixels this scrollable has been scrolled to down.