Interface Window

Hierarchy

Index

Properties

Methods

Properties

public accessibilityHidden: boolean

public accessibilityHint: string

public accessibilityLabel: string

public accessibilityValue: string

public activity: Activity

public anchorPoint: Point

public animatedCenter: Point

public autoAdjustScrollViewInsets: boolean

public backButtonTitle: string

public backButtonTitleImage: any

public backgroundColor: string

public backgroundDisabledColor: string

public backgroundDisabledImage: string

public backgroundFocusedColor: string

public backgroundFocusedImage: string

public backgroundGradient: Gradient

public backgroundImage: string

public backgroundLeftCap: number

public backgroundRepeat: boolean

public backgroundSelectedColor: string

public backgroundSelectedImage: string

public backgroundTopCap: number

public barColor: string

public barImage: string

public borderColor: string

public borderRadius: number

public borderWidth: number

public bottom: any

public bubbleParent: boolean

public center: Point

public children: View[]

public enabled: boolean

public exitOnClose: boolean

public extendEdges: Array<Number>

public focusable: boolean

public fullscreen: boolean

public height: any

public horizontalWrap: boolean

public includeOpaqueBars: boolean

public keepScreenOn: boolean

public layout: string

public left: any

public leftNavButton: View

public modal: boolean

public navBarHidden: boolean

public navTintColor: any

public opacity: number

public orientation: number

public orientationModes: Array<Number>

public rect: Dimension

public right: any

public rightNavButton: View

public size: Dimension

public softKeyboardOnFocus: number

public statusBarStyle: any

public tabBarHidden: boolean

public tintColor: any

public title: string

public titleControl: View

public titleImage: string

public titlePrompt: string

public titleid: string

public titlepromptid: string

public toolbar: Array<Object>

public top: any

public touchEnabled: boolean

public transform: any

public translucent: boolean

public url: string

public visible: boolean

public width: any

public windowPixelFormat: number

public windowSoftInputMode: number

public zIndex: number

Methods

public add(view: View)

Parameters

public addEventListener(name: string, callback: (...args: any[]) => any)

Parameters

  • name: string
  • callback: (...args: any[]) => any

public animate(animation: Animation, callback: (...args: any[]) => any)

Parameters

  • animation: Animation
  • callback: (...args: any[]) => any

public animate(animation: Dictionary, callback: (...args: any[]) => any)

Parameters

  • animation: Dictionary
  • callback: (...args: any[]) => any

public applyProperties(props: Dictionary)

Parameters

public close(params?: Dictionary)

Parameters

public close(params?: closeWindowParams)

Parameters

public convertPointToView(point: Point, destinationView: View): Point

Parameters

Returns

Point

public finishLayout()

public fireEvent(name: string, event: Dictionary)

Parameters

public getAccessibilityHidden(): boolean

Returns

boolean

public getAccessibilityHint(): string

Returns

string

public getAccessibilityLabel(): string

Returns

string

public getAccessibilityValue(): string

Returns

string

public getActivity(): Activity

Returns

Activity

public getAnchorPoint(): Point

Returns

Point

public getAnimatedCenter(): Point

Returns

Point

public getAutoAdjustScrollViewInsets(): boolean

Returns

boolean

public getBackButtonTitle(): string

Returns

string

public getBackButtonTitleImage(): any

Returns

any

public getBackgroundColor(): string

Returns

string

public getBackgroundDisabledColor(): string

Returns

string

public getBackgroundDisabledImage(): string

Returns

string

public getBackgroundFocusedColor(): string

Returns

string

public getBackgroundFocusedImage(): string

Returns

string

public getBackgroundGradient(): Gradient

Returns

Gradient

public getBackgroundImage(): string

Returns

string

public getBackgroundLeftCap(): number

Returns

number

public getBackgroundRepeat(): boolean

Returns

boolean

public getBackgroundSelectedColor(): string

Returns

string

public getBackgroundSelectedImage(): string

Returns

string

public getBackgroundTopCap(): number

Returns

number

public getBarColor(): string

Returns

string

public getBarImage(): string

Returns

string

public getBorderColor(): string

Returns

string

public getBorderRadius(): number

Returns

number

public getBorderWidth(): number

Returns

number

public getBottom(): any

Returns

any

public getBubbleParent(): boolean

Returns

boolean

public getCenter(): Point

Returns

Point

public getChildren(): View[]

Returns

View[]

public getEnabled(): boolean

Returns

boolean

public getExitOnClose(): boolean

Returns

boolean

public getExtendEdges(): Array<Number>

Returns

Array<Number>

public getFocusable(): boolean

Returns

boolean

public getFullscreen(): boolean

Returns

boolean

public getHeight(): any

Returns

any

public getHorizontalWrap(): boolean

Returns

boolean

public getIncludeOpaqueBars(): boolean

Returns

boolean

public getKeepScreenOn(): boolean

Returns

boolean

public getLayout(): string

Returns

string

public getLeft(): any

Returns

any

public getLeftNavButton(): View

Returns

View

public getModal(): boolean

Returns

boolean

public getNavBarHidden(): boolean

Returns

boolean

public getNavTintColor(): string

Returns

string

public getOpacity(): number

Returns

number

public getOrientation(): number

Returns

number

public getOrientationModes(): Array<Number>

Returns

Array<Number>

public getRect(): Dimension

Returns

Dimension

public getRight(): any

Returns

any

public getRightNavButton(): View

Returns

View

public getSize(): Dimension

Returns

Dimension

public getSoftKeyboardOnFocus(): number

Returns

number

public getStatusBarStyle(): number

Returns

number

public getTabBarHidden(): boolean

Returns

boolean

public getTintColor(): string

Returns

string

public getTitle(): string

Returns

string

public getTitleControl(): View

Returns

View

public getTitleImage(): string

Returns

string

public getTitlePrompt(): string

Returns

string

public getTitleid(): string

Returns

string

public getTitlepromptid(): string

Returns

string

public getToolbar(): Array<Object>

Returns

Array<Object>

public getTop(): any

Returns

any

public getTouchEnabled(): boolean

Returns

boolean

public getTransform(): any

Returns

any

public getTranslucent(): boolean

Returns

boolean

public getUrl(): string

Returns

string

public getVisible(): boolean

Returns

boolean

public getWidth(): any

Returns

any

public getWindowPixelFormat(): number

Returns

number

public getWindowSoftInputMode(): number

Returns

number

public getZIndex(): number

Returns

number

public hide()

public hideTabBar()

public open(params?: openWindowParams)

Parameters

public remove(view: View)

Parameters

public removeAllChildren()

public removeEventListener(name: string, callback: (...args: any[]) => any)

Parameters

  • name: string
  • callback: (...args: any[]) => any

public setAccessibilityHidden(accessibilityHidden: boolean)

Parameters

  • accessibilityHidden: boolean

public setAccessibilityHint(accessibilityHint: string)

Parameters

  • accessibilityHint: string

public setAccessibilityLabel(accessibilityLabel: string)

Parameters

  • accessibilityLabel: string

public setAccessibilityValue(accessibilityValue: string)

Parameters

  • accessibilityValue: string

public setAnchorPoint(anchorPoint: Point)

Parameters

public setAutoAdjustScrollViewInsets(autoAdjustScrollViewInsets: boolean)

Parameters

  • autoAdjustScrollViewInsets: boolean

public setBackButtonTitle(backButtonTitle: string)

Parameters

  • backButtonTitle: string

public setBackButtonTitleImage(backButtonTitleImage: string)

Parameters

  • backButtonTitleImage: string

public setBackButtonTitleImage(backButtonTitleImage: Blob)

Parameters

  • backButtonTitleImage: Blob

public setBackgroundColor(backgroundColor: string)

Parameters

  • backgroundColor: string

public setBackgroundDisabledColor(backgroundDisabledColor: string)

Parameters

  • backgroundDisabledColor: string

public setBackgroundDisabledImage(backgroundDisabledImage: string)

Parameters

  • backgroundDisabledImage: string

public setBackgroundFocusedColor(backgroundFocusedColor: string)

Parameters

  • backgroundFocusedColor: string

public setBackgroundFocusedImage(backgroundFocusedImage: string)

Parameters

  • backgroundFocusedImage: string

public setBackgroundGradient(backgroundGradient: Gradient)

Parameters

public setBackgroundImage(backgroundImage: string)

Parameters

  • backgroundImage: string

public setBackgroundLeftCap(backgroundLeftCap: number)

Parameters

  • backgroundLeftCap: number

public setBackgroundRepeat(backgroundRepeat: boolean)

Parameters

  • backgroundRepeat: boolean

public setBackgroundSelectedColor(backgroundSelectedColor: string)

Parameters

  • backgroundSelectedColor: string

public setBackgroundSelectedImage(backgroundSelectedImage: string)

Parameters

  • backgroundSelectedImage: string

public setBackgroundTopCap(backgroundTopCap: number)

Parameters

  • backgroundTopCap: number

public setBarColor(barColor: string)

Parameters

  • barColor: string

public setBarImage(barImage: string)

Parameters

  • barImage: string

public setBorderColor(borderColor: string)

Parameters

  • borderColor: string

public setBorderRadius(borderRadius: number)

Parameters

  • borderRadius: number

public setBorderWidth(borderWidth: number)

Parameters

  • borderWidth: number

public setBottom(bottom: number)

Parameters

  • bottom: number

public setBottom(bottom: string)

Parameters

  • bottom: string

public setBubbleParent(bubbleParent: boolean)

Parameters

  • bubbleParent: boolean

public setCenter(center: Point)

Parameters

public setEnabled(enabled: boolean)

Parameters

  • enabled: boolean

public setExtendEdges(extendEdges: Array<Number>)

Parameters

  • extendEdges: Array<Number>

public setFocusable(focusable: boolean)

Parameters

  • focusable: boolean

public setFullscreen(fullscreen: boolean)

Parameters

  • fullscreen: boolean

public setHeight(height: number)

Parameters

  • height: number

public setHeight(height: string)

Parameters

  • height: string

public setHorizontalWrap(horizontalWrap: boolean)

Parameters

  • horizontalWrap: boolean

public setIncludeOpaqueBars(includeOpaqueBars: boolean)

Parameters

  • includeOpaqueBars: boolean

public setKeepScreenOn(keepScreenOn: boolean)

Parameters

  • keepScreenOn: boolean

public setLayout(layout: string)

Parameters

  • layout: string

public setLeft(left: number)

Parameters

  • left: number

public setLeft(left: string)

Parameters

  • left: string

public setLeftNavButton(leftNavButton: View)

Parameters

  • leftNavButton: View

public setModal(modal: boolean)

Parameters

  • modal: boolean

public setNavBarHidden(navBarHidden: boolean)

Parameters

  • navBarHidden: boolean

public setNavTintColor(navTintColor: string)

Parameters

  • navTintColor: string

public setOpacity(opacity: number)

Parameters

  • opacity: number

public setOrientationModes(orientationModes: Array<Number>)

Parameters

  • orientationModes: Array<Number>

public setRight(right: number)

Parameters

  • right: number

public setRight(right: string)

Parameters

  • right: string

public setRightNavButton(rightNavButton: View)

Parameters

  • rightNavButton: View

public setSoftKeyboardOnFocus(softKeyboardOnFocus: number)

Parameters

  • softKeyboardOnFocus: number

public setStatusBarStyle(statusBarStyle: number)

Parameters

  • statusBarStyle: number

public setTabBarHidden(tabBarHidden: boolean)

Parameters

  • tabBarHidden: boolean

public setTintColor(tintColor: string)

Parameters

  • tintColor: string

public setTitle(title: string)

Parameters

  • title: string

public setTitleControl(titleControl: View)

Parameters

  • titleControl: View

public setTitleImage(titleImage: string)

Parameters

  • titleImage: string

public setTitlePrompt(titlePrompt: string)

Parameters

  • titlePrompt: string

public setTitleid(titleid: string)

Parameters

  • titleid: string

public setTitlepromptid(titlepromptid: string)

Parameters

  • titlepromptid: string

public setToolbar(items: Array<Object>, params?: windowToolbarParam)

Parameters

public setTop(top: number)

Parameters

  • top: number

public setTop(top: string)

Parameters

  • top: string

public setTouchEnabled(touchEnabled: boolean)

Parameters

  • touchEnabled: boolean

public setTransform(transform: _2DMatrix)

Parameters

public setTransform(transform: _3DMatrix)

Parameters

public setTranslucent(translucent: boolean)

Parameters

  • translucent: boolean

public setVisible(visible: boolean)

Parameters

  • visible: boolean

public setWidth(width: number)

Parameters

  • width: number

public setWidth(width: string)

Parameters

  • width: string

public setWindowPixelFormat(windowPixelFormat: number)

Parameters

  • windowPixelFormat: number

public setZIndex(zIndex: number)

Parameters

  • zIndex: number

public show(args?: Array<any>)

Parameters

  • args?: Array<any> optional

public startLayout()

public toImage(callback?: (...args: any[]) => any, honorScaleFactor?: boolean): Blob

Parameters

  • callback?: (...args: any[]) => any optional
  • honorScaleFactor?: boolean optional

Returns

Blob

public updateLayout(params: Dictionary)

Parameters