Click or drag to resize

ScrollPane Methods

The ScrollPane type exposes the following members.

Methods
  NameDescription
Public methodAddEventListener(String, EventCallback0)
(Inherited from EventDispatcher.)
Public methodAddEventListener(String, EventCallback1)
(Inherited from EventDispatcher.)
Public methodBroadcastEvent
(Inherited from EventDispatcher.)
Public methodBubbleEvent
(Inherited from EventDispatcher.)
Public methodCancelDragging
当滚动面板处于拖拽滚动状态或即将进入拖拽状态时,可以调用此方法停止或禁止本次拖拽。
Public methodDispatchEvent(String)
(Inherited from EventDispatcher.)
Public methodDispatchEvent(EventContext)
(Inherited from EventDispatcher.)
Public methodDispatchEvent(String, Object)
(Inherited from EventDispatcher.)
Public methodDispatchEvent(String, Object, Object) (Inherited from EventDispatcher.)
Public methodDispose
Public methodIsChildInView
Public methodLockFooter
设置Footer固定显示。如果size为0,则取消固定显示。
Public methodLockHeader
设置Header固定显示。如果size为0,则取消固定显示。
Public methodRemoveEventListener(String, EventCallback0)
(Inherited from EventDispatcher.)
Public methodRemoveEventListener(String, EventCallback1)
(Inherited from EventDispatcher.)
Public methodRemoveEventListeners
(Inherited from EventDispatcher.)
Public methodRemoveEventListeners(String)
(Inherited from EventDispatcher.)
Public methodScrollBottom
Public methodScrollBottom(Boolean)
Public methodScrollDown
Public methodScrollDown(Single, Boolean)
Public methodScrollLeft
Public methodScrollLeft(Single, Boolean)
Public methodScrollRight
Public methodScrollRight(Single, Boolean)
Public methodScrollTop
Public methodScrollTop(Boolean)
Public methodScrollToView(GObject)
Public methodScrollToView(GObject, Boolean)
Public methodScrollToView(Rect, Boolean, Boolean)
Public methodScrollToView(GObject, Boolean, Boolean)
Public methodScrollUp
Public methodScrollUp(Single, Boolean)
Public methodSetCurrentPageX
如果处于分页模式,可设置X轴的页码。
Public methodSetCurrentPageY
如果处于分页模式,可设置Y轴的页码。
Public methodSetPercX
设置当前X轴滚动位置百分比,0~1(包含)。
Public methodSetPercY
设置当前Y轴滚动位置百分比,0~1(包含)。
Public methodSetPosX
设置当前X轴滚动位置。
Public methodSetPosY
设置当前Y轴滚动位置。
Public methodSetup
Top
See Also