Inherits from TiViewProxy : TiProxy : NSObject
Conforms to TiAnimationDelegate
TiOrientationController
TiUIViewController
Declared in TiWindowProxy.h

Overview

The class is a specialization for TiViews that act like top level windows when opened, closed, etc.

Tasks

Properties

closing

Whether or not the window is being closed.

@property (nonatomic, readonly) BOOL closing

Declared In

TiWindowProxy.h

controller

Returns view controller for the window’s view.

@property (nonatomic, readwrite, retain) UIViewController *controller

Declared In

TiWindowProxy.h

navController

Returns navigation controller for the window’s view.

@property (nonatomic, readwrite, retain) UINavigationController *navController

Declared In

TiWindowProxy.h

opening

Whether or not the window is being opened.

@property (nonatomic, readonly) BOOL opening

Declared In

TiWindowProxy.h

orientationFlags

Provides access to window orientation flags.

@property (nonatomic, readonly, assign) TiOrientationFlags orientationFlags

Declared In

TiWindowProxy.h

parentOrientationController

Provides access to parent oriantation controller.

@property (nonatomic, readwrite, assign) id<> parentOrientationController

Declared In

TiWindowProxy.h

Instance Methods

fireFocus:

Tells the window proxy to fire focus event.

- (void)fireFocus:(BOOL)newFocused

Parameters

newFocused

YES to fire focus event, blur otherwise.

Declared In

TiWindowProxy.h

prepareForNavView:

Prepares the window proxy to be added to a UINavigationController.

- (void)prepareForNavView:(UINavigationController *)navController

Parameters

navController

The navigation view controller the window proxy will be added to.

Discussion

Called in place of open for windows that belong to navigation groups.

Declared In

TiWindowProxy.h

setupWindowDecorations

Tells the window proxy to setup window’s decorations.

- (void)setupWindowDecorations

Declared In

TiWindowProxy.h

windowReady

Tells the window proxy when its window is opened.

- (void)windowReady

Declared In

TiWindowProxy.h