ApplicationWindow
ApplicationWindow
Instance Method
constructor
Signature
declare class ApplicationWindow {
constructor()
}
Description
Create a new applicationWindow.
onCreate
Signature
declare class ApplicationWindow {
onCreate():void
}
Description
Window lifecycle hook, called when Window is added to ApplicationFrame.
onStart
Signature
declare class ApplicationWindow {
onStart():void
}
Description
Window lifecycle hook, called after onCreate.
onResume
Signature
declare class ApplicationWindow {
onResume():void
}
Description
Window lifecycle hook, called when the layout is loaded, where you can query the view instance.
onStop
Signature
declare class ApplicationWindow {
onStop():void
}
Description
Window lifecycle hook, which is called when Window is unmounted on ApplicationFrame.
onDestroy
Signature
declare class ApplicationWindow {
onDestroy():void
}
Description
Window lifecycle hook, which is called when Window is unmounted on ApplicationFrame.
createViewQuery
Signature
declare class ApplicationWindow {
createViewQuery():View.ViewQuery
}
Description
Create a new ViewQuery.
addContentView
Signature
declare class ApplicationWindow {
addContentView(view: View, params: ViewGroup.LayoutParams):void
}
Description
Add an additional content view to the Window.
setContentXML
Signature
declare class ApplicationWindow {
setContentXML(xml: string):void
}
Description
Add layout file to window.
getDecorView
Signature
declare class ApplicationWindow {
getDecorView():View
}
Description
Gets Window root view.
getContext
Signature
declare class ApplicationWindow {
getContext():WindowContext
}
Description
Gets WindowContext
getResources
Signature
declare class ApplicationWindow {
getResources():Resources
}
Description
Gets Window Resource