Interface ScrollPane
access this type via: ui.ScrollPane (provides, requires or uses)
--- extends:KeyEventObject
A scroll area, which contains another graphical widget, and allows the user to scroll around that contained widget if its width or height is greater than the scroll pane's width/height.
Functions
ScrollPane(optional storeGraphicsObject content)
void setContent(storeGraphicsObject g)
void setBackground(storeColor c)
void setSize(int w, int h)
void showScroll(bool v, bool h)
ScrollPane(optional storeGraphicsObject content)
Instantiate a new scroll pane.
void setContent(storeGraphicsObject g)
Set the graphics object to place inside the scroll pane.
void setBackground(storeColor c)
Set the background color used by the scroll pane, where the content doesn't fill the whole panel.
void setSize(int w, int h)
Set the width and height of the scroll pane.
void showScroll(bool v, bool h)
Set whether the scroll pane shows its vertical and/or horizontal scroll widgets.