de.matthiasmann.twl
Interface ScrollPane.Scrollable

All Known Implementing Classes:
FileTable, PropertySheet, Table, TableBase, TreeTable
Enclosing class:
ScrollPane

public static interface ScrollPane.Scrollable

Indicates that the content handles scrolling itself. This interfaces also allows for a larger scrollable size then the Widget size limitations. The ScrollPane will set the size of content to the available content area.


Method Summary
 void setScrollPosition(int scrollPosX, int scrollPosY)
          Called when the content is scrolled either by a call to ScrollPane.setScrollPositionX(int), ScrollPane.setScrollPositionY(int) or through one of the scrollbars.
 

Method Detail

setScrollPosition

void setScrollPosition(int scrollPosX,
                       int scrollPosY)
Called when the content is scrolled either by a call to ScrollPane.setScrollPositionX(int), ScrollPane.setScrollPositionY(int) or through one of the scrollbars.

Parameters:
scrollPosX - the new horizontal scroll position. Always >= 0.
scrollPosY - the new vertical scroll position. Always >= 0.