PopupWindow
PopupWindow
Instance Method
constructor
Signature
declare class PopupWindow {
constructor();
}
Description
Create a new ApplicationWindow.
onCreate
Signature
declare class PopupWindow {
onCreate(): void
}
Description
Window lifecycle hook, called when Window is added to ApplicationFrame.
onStart
Signature
declare class PopupWindow {
onStart(): void
}
Description
Window lifecycle hook, called after onCreate.
onResume
Signature
declare class PopupWindow {
onResume(): void
}
Description
Window lifecycle hook, called when the layout is loaded, where you can query the view instance.
onStop
Signature
declare class PopupWindow {
onStop(): void
}
Description
Window lifecycle hook, which is called when Window is unmounted on ApplicationFrame.
onDestroy
Signature
declare class PopupWindow {
onDestroy(): void
}
Description
Window lifecycle hook, which is called when Window is unmounted on ApplicationFrame.
update
Signature
declare class PopupWindow {
update(x: number, y: number, width: number, height: number): void
}
Description
Updates the position and the dimension of the popup window.
dismiss
Signature
declare class PopupWindow {
dismiss(): void
}
Description
Disposes of the popup window.
createViewQuery
Signature
declare class PopupWindow {
createViewQuery(): View.ViewQuery
}
Description
Create a new viewQuery.
showAtLocation
Signature
declare class PopupWindow {
showAtLocation(parent: View, gravity: number, x: number, y: number): void
}
Description
Display the content view in a popup window at the specified location.
getContext
Signature
declare class PopupWindow {
getContext(): WindowContext
}
Description
Gets WindowContext.
getResources
Signature
declare class PopupWindow {
getResources(): Resources
}
Description
Gets Window Resources.
setContentXML
Signature
declare class PopupWindow {
setContentXML(xml: string): void
}
Description
Add layout file to window.
setContentView
Signature
declare class PopupWindow {
setContentView(contentView: View): void
}
Description
Change the popup's content.