Skip to main content

SUIScrollView

class SUIScrollView

Scrolling view of UI elements.

See the SUIScrollView component topic to learn more about SUIScrollView.


public class SUIScrollView extends Component

— Constructors () —

ConstructorDescription
SUIScrollView()Creates a new SUIScrollView.

— Methods (8) —

NameDescription
[LayoutObject] getLayoutObject()Returns the layout("Child0" or "Other") of a child object of SUIScrollView.
void setLayoutObject([LayoutObject] value)Defines the layout("Child0" or "Other") of a child object of SUIScrollView.
[Orientation] getOrientation()Returns the current orientation("Horizontal", "Vertical" or "Both") of the SUIScrollView.
void setOrientation([Orientation] value)Sets the current orientation("Horizontal", "Vertical" or "Both") of the SUIScrollView.
int getScrollX()Returns the X scroll value of the SUIScrollView.
int getScrollY()Returns the Y scroll value of the SUIScrollView.
void setScrollX(int value)Sets the X scroll value of the SUIScrollView.
void setScrollY(int value)Sets the Y scroll value of the SUIScrollView.