TiWindowProxy Class Reference
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
-
parentOrientationController
Provides access to parent oriantation controller.
property -
orientationFlags
Provides access to window orientation flags.
property -
– fireFocus:
Tells the window proxy to fire focus event.
-
opening
Whether or not the window is being opened.
property -
closing
Whether or not the window is being closed.
property -
– windowReady
Tells the window proxy when its window is opened.
-
– prepareForNavView:
Prepares the window proxy to be added to a UINavigationController.
-
controller
Returns view controller for the window’s view.
property -
navController
Returns navigation controller for the window’s view.
property -
– setupWindowDecorations
Tells the window proxy to setup window’s decorations.
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
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