Skip to main content

ApplicationWindow

ApplicationWindow

Instance Method

constructor

declare class ApplicationWindow {
constructor()
}
  • Description

    Create a new applicationWindow.

onCreate

declare class ApplicationWindow {
onCreate():void
}
  • Description

    Window lifecycle hook, called when Window is added to ApplicationFrame.

onStart

declare class ApplicationWindow {
onStart():void
}
  • Description

    Window lifecycle hook, called after onCreate.

onResume

declare class ApplicationWindow {
onResume():void
}
  • Description

    Window lifecycle hook, called when the layout is loaded, where you can query the view instance.

onStop

declare class ApplicationWindow {
onStop():void
}
  • Description

    Window lifecycle hook, which is called when Window is unmounted on ApplicationFrame.

onDestroy

declare class ApplicationWindow {
onDestroy():void
}
  • Description

    Window lifecycle hook, which is called when Window is unmounted on ApplicationFrame.

createViewQuery

declare class ApplicationWindow {
createViewQuery():View.ViewQuery
}
  • Description

    Create a new ViewQuery.

addContentView

declare class ApplicationWindow {
addContentView(view: View, params: ViewGroup.LayoutParams):void
}
  • Description

    Add an additional content view to the Window.

setContentXML

declare class ApplicationWindow {
setContentXML(xml: string):void
}
  • Description

    Add layout file to window.

getDecorView

declare class ApplicationWindow {
getDecorView():View
}
  • Description

    Gets Window root view.

getContext

declare class ApplicationWindow {
getContext():WindowContext
}
  • Description

    Gets WindowContext

getResources

declare class ApplicationWindow {
getResources():Resources
}
  • Description

    Gets Window Resource