C# 클래스 FairyGUI.ScrollPane

상속: EventDispatcher
파일 보기 프로젝트 열기: fairygui/FairyGUI-unity 1 사용 예제들

공개 메소드들

메소드 설명
CancelDragging ( ) : void

当滚动面板处于拖拽滚动状态或即将进入进入拖拽状态时,可以调用此方法停止或禁止本次拖拽。

Dispose ( ) : void

IsChildInView ( GObject obj ) : bool

ScrollBottom ( ) : void

ScrollBottom ( bool ani ) : void

ScrollDown ( ) : void

ScrollDown ( float speed, bool ani ) : void

ScrollLeft ( ) : void

ScrollLeft ( float speed, bool ani ) : void

ScrollPane ( GComponent owner, ScrollType scrollType, Margin scrollBarMargin, ScrollBarDisplayType scrollBarDisplay, int flags, string vtScrollBarRes, string hzScrollBarRes ) : System
ScrollRight ( ) : void

ScrollRight ( float speed, bool ani ) : void

ScrollToView ( GObject obj ) : void

ScrollToView ( GObject obj, bool ani ) : void

ScrollToView ( GObject obj, bool ani, bool setFirst ) : void

ScrollToView ( Rect rect, bool ani, bool setFirst ) : void

ScrollTop ( ) : void

ScrollTop ( bool ani ) : void

ScrollUp ( ) : void

ScrollUp ( float speed, bool ani ) : void

SetCurrentPageX ( int value, bool ani ) : void
SetCurrentPageY ( int value, bool ani ) : void
SetPercX ( float value, bool ani ) : void

SetPercY ( float value, bool ani ) : void

SetPosX ( float value, bool ani ) : void

SetPosY ( float value, bool ani ) : void

비공개 메소드들

메소드 설명
AdjustMaskContainer ( ) : void
ChangeContentSizeOnScrolling ( float deltaWidth, float deltaHeight, float deltaPosX, float deltaPosY ) : void
HandleSizeChanged ( bool onScrolling = false ) : void
KillTween ( ) : void
OnOwnerSizeChanged ( ) : void
PosChanged ( bool ani ) : void
Refresh ( ) : void
Refresh2 ( ) : void
SetContentSize ( float aWidth, float aHeight ) : void
SetSize ( float aWidth, float aHeight ) : void
ShowScrollBar ( bool val ) : void
SyncPos ( ) : void
UpdateClipSoft ( ) : void
ValidateHolderPos ( ) : void
__mouseWheel ( EventContext context ) : void
__rollOut ( object e ) : void
__rollOver ( object e ) : void
__showScrollBar ( object obj ) : void
__touchBegin ( EventContext context ) : void
__touchEnd ( EventContext context ) : void
__touchMove ( EventContext context ) : void
__tweenComplete ( ) : void
__tweenComplete2 ( ) : void
__tweenUpdate ( ) : void
__tweenUpdate2 ( ) : void
syncScrollBar ( bool end = false ) : void

메소드 상세

CancelDragging() 공개 메소드

当滚动面板处于拖拽滚动状态或即将进入进入拖拽状态时,可以调用此方法停止或禁止本次拖拽。
public CancelDragging ( ) : void
리턴 void

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

IsChildInView() 공개 메소드

public IsChildInView ( GObject obj ) : bool
obj GObject obj must be the direct child of this container
리턴 bool

ScrollBottom() 공개 메소드

public ScrollBottom ( ) : void
리턴 void

ScrollBottom() 공개 메소드

public ScrollBottom ( bool ani ) : void
ani bool
리턴 void

ScrollDown() 공개 메소드

public ScrollDown ( ) : void
리턴 void

ScrollDown() 공개 메소드

public ScrollDown ( float speed, bool ani ) : void
speed float
ani bool
리턴 void

ScrollLeft() 공개 메소드

public ScrollLeft ( ) : void
리턴 void

ScrollLeft() 공개 메소드

public ScrollLeft ( float speed, bool ani ) : void
speed float
ani bool
리턴 void

ScrollPane() 공개 메소드

public ScrollPane ( GComponent owner, ScrollType scrollType, Margin scrollBarMargin, ScrollBarDisplayType scrollBarDisplay, int flags, string vtScrollBarRes, string hzScrollBarRes ) : System
owner GComponent
scrollType ScrollType
scrollBarMargin Margin
scrollBarDisplay ScrollBarDisplayType
flags int
vtScrollBarRes string
hzScrollBarRes string
리턴 System

ScrollRight() 공개 메소드

public ScrollRight ( ) : void
리턴 void

ScrollRight() 공개 메소드

public ScrollRight ( float speed, bool ani ) : void
speed float
ani bool
리턴 void

ScrollToView() 공개 메소드

public ScrollToView ( GObject obj ) : void
obj GObject obj can be any object on stage, not limited to the direct child of this container.
리턴 void

ScrollToView() 공개 메소드

public ScrollToView ( GObject obj, bool ani ) : void
obj GObject obj can be any object on stage, not limited to the direct child of this container.
ani bool If moving to target position with animation
리턴 void

ScrollToView() 공개 메소드

public ScrollToView ( GObject obj, bool ani, bool setFirst ) : void
obj GObject obj can be any object on stage, not limited to the direct child of this container.
ani bool If moving to target position with animation
setFirst bool If true, scroll to make the target on the top/left; If false, scroll to make the target any position in view.
리턴 void

ScrollToView() 공개 메소드

public ScrollToView ( Rect rect, bool ani, bool setFirst ) : void
rect Rect Rect in local coordinates
ani bool If moving to target position with animation
setFirst bool If true, scroll to make the target on the top/left; If false, scroll to make the target any position in view.
리턴 void

ScrollTop() 공개 메소드

public ScrollTop ( ) : void
리턴 void

ScrollTop() 공개 메소드

public ScrollTop ( bool ani ) : void
ani bool
리턴 void

ScrollUp() 공개 메소드

public ScrollUp ( ) : void
리턴 void

ScrollUp() 공개 메소드

public ScrollUp ( float speed, bool ani ) : void
speed float
ani bool
리턴 void

SetCurrentPageX() 공개 메소드

public SetCurrentPageX ( int value, bool ani ) : void
value int
ani bool
리턴 void

SetCurrentPageY() 공개 메소드

public SetCurrentPageY ( int value, bool ani ) : void
value int
ani bool
리턴 void

SetPercX() 공개 메소드

public SetPercX ( float value, bool ani ) : void
value float
ani bool
리턴 void

SetPercY() 공개 메소드

public SetPercY ( float value, bool ani ) : void
value float
ani bool
리턴 void

SetPosX() 공개 메소드

public SetPosX ( float value, bool ani ) : void
value float
ani bool
리턴 void

SetPosY() 공개 메소드

public SetPosY ( float value, bool ani ) : void
value float
ani bool
리턴 void