Packageorg.apache.flex.mobile.models
Classpublic class ViewManagerModel
InheritanceViewManagerModel Inheritance EventDispatcher Inheritance flash.events.EventDispatcher
Implements IBeadModel

Language Version : ActionScript 3.0
Product Version : FlexJS 0.0
Runtime Versions : Flash Player 10.2, AIR 2.6

The ViewManagerModel houses properties and values common to the components which make up view managers. These properties include the title, which view is currently active and selected.



Public Properties
 PropertyDefined By
  contentHeight : Number = 0
ViewManagerModel
  contentWidth : Number = 0
ViewManagerModel
  contentX : Number = 0
ViewManagerModel
  contentY : Number = 0
ViewManagerModel
  navigationBar : NavigationBar
The NavigationBar (or null if not present).
ViewManagerModel
  navigationBarItems : Array
The array of controls that make up the NavigationBar.
ViewManagerModel
  selectedIndex : Number
The index into the views array of the currently active view.
ViewManagerModel
  strand : IStrand
[write-only]
ViewManagerModel
  tabBar : TabBar
The TabBar (or null if not present).
ViewManagerModel
  title : String
The title of the view..
ViewManagerModel
  toolBar : ToolBar
The ToolBar (or null if not present).
ViewManagerModel
  toolBarItems : Array
The array of controls that make up the ToolBar..
ViewManagerModel
  views : Array
The array of views displayed in the contentArea of the ViewManager.
ViewManagerModel
Public Methods
 MethodDefined By
  
Constructor.
ViewManagerModel
  
popView():Object
Removes the most recently added view.
ViewManagerModel
  
pushView(value:Object):void
Pushes a view onto the top/end of the stack of views.
ViewManagerModel
Property Detail
contentHeightproperty
public var contentHeight:Number = 0

contentWidthproperty 
public var contentWidth:Number = 0

contentXproperty 
public var contentX:Number = 0

contentYproperty 
public var contentY:Number = 0

navigationBarproperty 
navigationBar:NavigationBar

Language Version : ActionScript 3.0
Product Version : FlexJS 0.0
Runtime Versions : Flash Player 10.2, AIR 2.6

The NavigationBar (or null if not present).


Implementation
    public function get navigationBar():NavigationBar
    public function set navigationBar(value:NavigationBar):void
navigationBarItemsproperty 
navigationBarItems:Array

Language Version : ActionScript 3.0
Product Version : FlexJS 0.0
Runtime Versions : Flash Player 10.2, AIR 2.6

The array of controls that make up the NavigationBar.


Implementation
    public function get navigationBarItems():Array
    public function set navigationBarItems(value:Array):void
selectedIndexproperty 
selectedIndex:Number

Language Version : ActionScript 3.0
Product Version : FlexJS 0.0
Runtime Versions : Flash Player 10.2, AIR 2.6

The index into the views array of the currently active view.


Implementation
    public function get selectedIndex():Number
    public function set selectedIndex(value:Number):void
strandproperty 
strand:IStrand  [write-only]


Implementation
    public function set strand(value:IStrand):void
tabBarproperty 
tabBar:TabBar

Language Version : ActionScript 3.0
Product Version : FlexJS 0.0
Runtime Versions : Flash Player 10.2, AIR 2.6

The TabBar (or null if not present).


Implementation
    public function get tabBar():TabBar
    public function set tabBar(value:TabBar):void
titleproperty 
title:String

Language Version : ActionScript 3.0
Product Version : FlexJS 0.0
Runtime Versions : Flash Player 10.2, AIR 2.6

The title of the view..


Implementation
    public function get title():String
    public function set title(value:String):void
toolBarproperty 
toolBar:ToolBar

Language Version : ActionScript 3.0
Product Version : FlexJS 0.0
Runtime Versions : Flash Player 10.2, AIR 2.6

The ToolBar (or null if not present).


Implementation
    public function get toolBar():ToolBar
    public function set toolBar(value:ToolBar):void
toolBarItemsproperty 
toolBarItems:Array

Language Version : ActionScript 3.0
Product Version : FlexJS 0.0
Runtime Versions : Flash Player 10.2, AIR 2.6

The array of controls that make up the ToolBar..


Implementation
    public function get toolBarItems():Array
    public function set toolBarItems(value:Array):void
viewsproperty 
views:Array

Language Version : ActionScript 3.0
Product Version : FlexJS 0.0
Runtime Versions : Flash Player 10.2, AIR 2.6

The array of views displayed in the contentArea of the ViewManager.


Implementation
    public function get views():Array
    public function set views(value:Array):void
Constructor Detail
ViewManagerModel()Constructor
public function ViewManagerModel()

Language Version : ActionScript 3.0
Product Version : FlexJS 0.0
Runtime Versions : Flash Player 10.2, AIR 2.6

Constructor.

Method Detail
popView()method
public function popView():Object

Language Version : ActionScript 3.0
Product Version : FlexJS 0.0
Runtime Versions : Flash Player 10.2, AIR 2.6

Removes the most recently added view. The next view in the stack becomes the active view. Mostly used by StackedViewManager.

Returns
Object
pushView()method 
public function pushView(value:Object):void

Language Version : ActionScript 3.0
Product Version : FlexJS 0.0
Runtime Versions : Flash Player 10.2, AIR 2.6

Pushes a view onto the top/end of the stack of views. This view becomes the active view. Mostly used by the StackedViewManager.

Parameters

value:Object