Метод | Описание | |
---|---|---|
CancelDragging ( ) : void |
当滚动面板处于拖拽滚动状态或即将进入进入拖拽状态时,可以调用此方法停止或禁止本次拖拽。
|
|
Dispose ( ) : void |
|
|
IsChildInView ( |
|
|
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 |
public IsChildInView ( |
||
obj | obj must be the direct child of this container | |
Результат | bool |
public ScrollDown ( float speed, bool ani ) : void | ||
speed | float | |
ani | bool | |
Результат | void |
public ScrollLeft ( float speed, bool ani ) : void | ||
speed | float | |
ani | bool | |
Результат | void |
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 |
public ScrollRight ( float speed, bool ani ) : void | ||
speed | float | |
ani | bool | |
Результат | void |
public ScrollToView ( GObject obj ) : void | ||
obj | GObject | obj can be any object on stage, not limited to the direct child of this container. |
Результат | void |
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 |
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 |
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 |
public ScrollUp ( float speed, bool ani ) : void | ||
speed | float | |
ani | bool | |
Результат | void |
public SetCurrentPageX ( int value, bool ani ) : void | ||
value | int | |
ani | bool | |
Результат | void |
public SetCurrentPageY ( int value, bool ani ) : void | ||
value | int | |
ani | bool | |
Результат | void |
public SetPercX ( float value, bool ani ) : void | ||
value | float | |
ani | bool | |
Результат | void |
public SetPercY ( float value, bool ani ) : void | ||
value | float | |
ani | bool | |
Результат | void |
public SetPosX ( float value, bool ani ) : void | ||
value | float | |
ani | bool | |
Результат | void |
public SetPosY ( float value, bool ani ) : void | ||
value | float | |
ani | bool | |
Результат | void |