The ScrollPane type exposes the following members.
Methods|
| Name | Description |
|---|
 | AddEventListener(String, EventCallback0) | (Inherited from EventDispatcher.) |
 | AddEventListener(String, EventCallback1) | (Inherited from EventDispatcher.) |
 | BroadcastEvent | (Inherited from EventDispatcher.) |
 | BubbleEvent | (Inherited from EventDispatcher.) |
 | CancelDragging |
当滚动面板处于拖拽滚动状态或即将进入拖拽状态时,可以调用此方法停止或禁止本次拖拽。
|
 | DispatchEvent(String) | (Inherited from EventDispatcher.) |
 | DispatchEvent(EventContext) | (Inherited from EventDispatcher.) |
 | DispatchEvent(String, Object) | (Inherited from EventDispatcher.) |
 | DispatchEvent(String, Object, Object) | (Inherited from EventDispatcher.) |
 | Dispose | |
 | IsChildInView | |
 | LockFooter |
设置Footer固定显示。如果size为0,则取消固定显示。
|
 | LockHeader |
设置Header固定显示。如果size为0,则取消固定显示。
|
 | RemoveEventListener(String, EventCallback0) | (Inherited from EventDispatcher.) |
 | RemoveEventListener(String, EventCallback1) | (Inherited from EventDispatcher.) |
 | RemoveEventListeners | (Inherited from EventDispatcher.) |
 | RemoveEventListeners(String) | (Inherited from EventDispatcher.) |
 | ScrollBottom | |
 | ScrollBottom(Boolean) | |
 | ScrollDown | |
 | ScrollDown(Single, Boolean) | |
 | ScrollLeft | |
 | ScrollLeft(Single, Boolean) | |
 | ScrollRight | |
 | ScrollRight(Single, Boolean) | |
 | ScrollTop | |
 | ScrollTop(Boolean) | |
 | ScrollToView(GObject) | |
 | ScrollToView(GObject, Boolean) | |
 | ScrollToView(Rect, Boolean, Boolean) | |
 | ScrollToView(GObject, Boolean, Boolean) | |
 | ScrollUp | |
 | ScrollUp(Single, Boolean) | |
 | SetCurrentPageX |
如果处于分页模式,可设置X轴的页码。
|
 | SetCurrentPageY |
如果处于分页模式,可设置Y轴的页码。
|
 | SetPercX |
设置当前X轴滚动位置百分比,0~1(包含)。
|
 | SetPercY |
设置当前Y轴滚动位置百分比,0~1(包含)。
|
 | SetPosX |
设置当前X轴滚动位置。
|
 | SetPosY |
设置当前Y轴滚动位置。
|
 | Setup | |
Top
See Also