Property | Type | Description | |
---|---|---|---|
_requestingCmd | int |
Method | Description | |
---|---|---|
AddUISource ( IUISource source ) : void |
Set a UISource to this window. It must call before the window is shown. When the window is first time to show, UISource.Load is called. Only after all UISource is loaded, the window will continue to init. 为窗口添加一个源。这个方法建议在构造函数调用。当窗口第一次显示前,UISource的Load方法将被调用,然后只有所有的UISource 都ready后,窗口才会继续初始化和显示。
|
|
BringToFront ( ) : void |
|
|
CenterOn ( |
Make the window be center of the screen.
|
|
CloseModalWait ( ) : bool |
|
|
CloseModalWait ( int requestingCmd ) : bool |
Close modal waiting. If rquestingCmd is equal to the value you transfer in ShowModalWait, mowal wait will be closed. Otherwise, this function has no effect. 关闭模式等待。如果requestingCmd和ShowModalWait传入的不相同,则这个函数没有任何动作,立即返回。
|
|
Dispose ( ) : void | ||
Hide ( ) : void |
|
|
HideImmediately ( ) : void |
Hide window immediately, no OnHide will be called.
|
|
Init ( ) : void |
|
|
Show ( ) : void |
|
|
ShowModalWait ( ) : void |
|
|
ShowModalWait ( int requestingCmd ) : void |
Display a modal waiting sign in the front. 显示一个等待标志在最前面。等待标志的资源可以通过UIConfig.windowModalWaiting。等待标志组件会设置为屏幕大小,请内部做好关联。 还可以设定一个requestingCmd作为等待的命令字,在CloseModalWait里传入相同的命令字ModalWait将结束,否则CloseModalWait无效。
|
|
ShowOn ( |
|
|
ToggleStatus ( ) : void |
Switch show and hide status.
|
|
Window ( ) : System.Collections.Generic |
Method | Description | |
---|---|---|
DoHideAnimation ( ) : void |
|
|
DoShowAnimation ( ) : void |
|
|
LayoutModalWaitPane ( ) : void | ||
OnHide ( ) : void |
|
|
OnInit ( ) : void |
|
|
OnShown ( ) : void |
|
|
__onHide ( ) : void | ||
__onShown ( ) : void | ||
__uiLoadComplete ( ) : void | ||
_init ( ) : void | ||
closeEventHandler ( ) : void |
Method | Description | |
---|---|---|
__dragStart ( |
||
__touchBegin ( |
public AddUISource ( IUISource source ) : void | ||
source | IUISource | |
return | void |
public CenterOn ( |
||
r | ||
restraint | bool | Add relations to ensure keeping center on screen size changed. |
return | void |
public CloseModalWait ( int requestingCmd ) : bool | ||
requestingCmd | int | |
return | bool |
public ShowModalWait ( int requestingCmd ) : void | ||
requestingCmd | int | |
return | void |
public Window ( ) : System.Collections.Generic | ||
return | System.Collections.Generic |