interface IScroller {
    get barDisplay(): ScrollBarDisplay;
    set barDisplay(value: ScrollBarDisplay): void;
    get barFloating(): boolean;
    set barFloating(value: boolean): void;
    get barMargin(): number[];
    set barMargin(value: number[]): void;
    get barOnLeft(): boolean;
    set barOnLeft(value: boolean): void;
    get bouncebackEffect(): ScrollBounceBackEffect;
    set bouncebackEffect(value: ScrollBounceBackEffect): void;
    get contentHeight(): number;
    get contentWidth(): number;
    get decelerationRate(): number;
    set decelerationRate(value: number): void;
    get direction(): ScrollDirection;
    set direction(value: ScrollDirection): void;
    get footer(): GWidget;
    get footerRes(): Prefab;
    set footerRes(value: Prefab): void;
    get header(): GWidget;
    get headerRes(): Prefab;
    set headerRes(value: Prefab): void;
    get hScrollBar(): GScrollBar;
    get hScrollBarRes(): Prefab;
    set hScrollBarRes(value: Prefab): void;
    get inertiaDisabled(): boolean;
    set inertiaDisabled(value: boolean): void;
    get isBottomMost(): boolean;
    get isDragged(): boolean;
    get isRightMost(): boolean;
    get mouseWheelDisabled(): boolean;
    set mouseWheelDisabled(value: boolean): void;
    get owner(): GPanel;
    set owner(value: GPanel): void;
    get paddingMaskDisabled(): boolean;
    set paddingMaskDisabled(value: boolean): void;
    get pageMode(): boolean;
    set pageMode(value: boolean): void;
    get pageX(): number;
    set pageX(value: number): void;
    get pageY(): number;
    set pageY(value: number): void;
    get percX(): number;
    set percX(value: number): void;
    get percY(): number;
    set percY(value: number): void;
    get posX(): number;
    set posX(value: number): void;
    get posY(): number;
    set posY(value: number): void;
    get scrollingPosX(): number;
    get scrollingPosY(): number;
    get snapToItem(): boolean;
    set snapToItem(value: boolean): void;
    get step(): number;
    set step(value: number): void;
    get touchEffect(): ScrollTouchEffect;
    set touchEffect(value: ScrollTouchEffect): void;
    get touchEffectButton(): number;
    set touchEffectButton(value: number): void;
    get viewHeight(): number;
    get viewWidth(): number;
    get vScrollBar(): GScrollBar;
    get vScrollBarRes(): Prefab;
    set vScrollBarRes(value: Prefab): void;
    cancelDragging(): void;
    destroy(): void;
    getFirstChildInView(): number;
    isChildInView(obj: GWidget): boolean;
    lockFooter(size: number): void;
    lockHeader(size: number): void;
    scrollBottom(ani?: boolean): void;
    scrollDown(ratio?: number, ani?: boolean): void;
    scrollLeft(ratio?: number, ani?: boolean): void;
    scrollRight(ratio?: number, ani?: boolean): void;
    scrollTo(target: GWidget, ani?: boolean, setFirst?: boolean): void;
    scrollTo(target: GWidget, ani?: boolean, secondTarget?: GWidget): void;
    scrollTo(target: Rectangle, ani?: boolean, setFirst?: boolean): void;
    scrollTo(target: number, ani?: boolean, setFirst?: boolean): void;
    scrollTop(ani?: boolean): void;
    scrollUp(ratio?: number, ani?: boolean): void;
    setPageX(value: number, ani?: boolean): void;
    setPageY(value: number, ani?: boolean): void;
    setPercX(value: number, ani?: boolean): void;
    setPercY(value: number, ani?: boolean): void;
    setPosX(value: number, ani?: boolean): void;
    setPosY(value: number, ani?: boolean): void;
    setViewSize(width: number, height: number): void;
}

实现于

访问器

方法