Packagecom.esri.aws.awx.widget
Classpublic class WidgetNavigator
InheritanceWidgetNavigator Inheritance BaseWidgetContainer Inheritance mx.core.UIComponent

WidgetNavigator is container for widgets, similar to Flex TabNavigator. It extends the BaseWidgetContainer.

Like a ViewStack or TabNavigator container, a WidgetNavigator container has a collection of child containers, in which only one child at a time is visible.



Public Properties
 PropertyDefined by
  autoResize : Boolean
Determines whether or not the container resizes as needed.
WidgetNavigator
 Inheriteddata : Object
BaseWidgetContainer
 InheritednumWidgets : int
Number of widgets in widget container.
BaseWidgetContainer
  selectedIndex : int
The index of the selected IWidget in the widgets array.
WidgetNavigator
  selectedItem : IWidget
The IWidget currently selected in the container.
WidgetNavigator
 Inheritedwidgets : WidgetCollection
The widgetCollection of the widget container.
BaseWidgetContainer
Protected Properties
 PropertyDefined by
 InheritedchildrenCreationComplete : Boolean
Have the children been created?
BaseWidgetContainer
 InheritedcollectionChanged : Boolean
Has the widget collection changed?
BaseWidgetContainer
 InheritedpaddingBottom : Number
Padding for the bottom of the container.
BaseWidgetContainer
 InheritedpaddingLeft : Number
Padding for the left of the container.
BaseWidgetContainer
 InheritedpaddingRight : Number
Padding for the right of the container.
BaseWidgetContainer
 InheritedpaddingTop : Number
Padding for the top of the container.
BaseWidgetContainer
 InheritedupdateStyles : Boolean
Have the styles been updated?
BaseWidgetContainer
Public Methods
 MethodDefined by
 Inherited
addWidget(widget:IWidget):void
Adds a widget to widget container.
BaseWidgetContainer
 Inherited
addWidgetAt(widget:IWidget, index:int):void
Adds a widget to widget container (at a specific index).
BaseWidgetContainer
 Inherited
executeChildBindings(recurse:Boolean):void
Executes the bindings into this Container's child UIComponent objects.
BaseWidgetContainer
 Inherited
getAllWidgets():Array
Returns an array with all the widgets in the widget container.
BaseWidgetContainer
 Inherited
Removes all widgets.
BaseWidgetContainer
 Inherited
removeWidget(widget:IWidget):void
Removes a widget from widget container.
BaseWidgetContainer
 Inherited
removeWidgetAt(index:int):IWidget
Removes widget from widget container (using index).
BaseWidgetContainer
Protected Methods
 MethodDefined by
  
collectionSelectionHandler(event:WidgetCollectionEvent):void
WidgetNavigator
  
WidgetNavigator
Styles
 StyleDescriptionDefined by
  
backgroundAlpha
Type: Number   CSS Inheritance: no
Alpha level of the color defined by the backgroundColor property of the image or SWF file defined by the backgroundImage style. Valid values range from 0.0 to 1.0.
WidgetNavigator
  
backgroundColor
Type: uint   Format: Color   CSS Inheritance: no
Background color of a component.
WidgetNavigator
  
borderColor
Type: uint   Format: Color   CSS Inheritance: no
Color of the border.
WidgetNavigator
  
borderThickness
Type: Number   Format: Length   CSS Inheritance: no
Bounding box thickness. Only used when borderStyle is set to "solid". The default value is 1.
WidgetNavigator
  
dropShadowColor
Type: uint   Format: Color   CSS Inheritance: yes
Color of the drop shadow.
WidgetNavigator
  
dropShadowEnabled
Type: Boolean   CSS Inheritance: no
Enables the drop shadow. The default value is true.
WidgetNavigator
  
paddingBottom
Type: Number   Format: Length   CSS Inheritance: no
Padding on the bottom of the container. The default value is 0.
WidgetNavigator
  
paddingLeft
Type: Number   Format: Length   CSS Inheritance: no
Padding on the left of the container. The default value is 0.
WidgetNavigator
  
paddingRight
Type: Number   Format: Length   CSS Inheritance: no
Padding on the right of the container. The default value is 0.
WidgetNavigator
  
paddingTop
Type: Number   Format: Length   CSS Inheritance: no
Padding on the top of the container. The default value is 0.
WidgetNavigator
  
separatorStyleName
Type: string   CSS Inheritance: no
Style name for the separator box that divides the list of widgets from the widget view. Styles contained in this sub-style (and their corresponding defaults) are: width = 3; backgroundColor = 0x909090; backgroundAlpha = 1; backgroundImage = null;
WidgetNavigator
  
shadowDirection
Type: String   CSS Inheritance: no
Direction of the drop shadow. Possible values are "left", "center", and "right".
WidgetNavigator
  
shadowDistance
Type: Number   Format: Length   CSS Inheritance: no
Distance of the drop shadow. If the property is set to a negative value, the shadow appears above the component.
WidgetNavigator
  
widgetListStyleName
Type: string   CSS Inheritance: no
Style name for the WidgetList area (the left-hand list of widgets). Styles contained in this sub-style (and their corresponding defaults) are: paddingBottom = 5; paddingTop = 5; paddingLeft = 5; paddingRight = 5; verticalGap = 0; borderColor = 0x909090; borderStyle = "solid"; borderThickness = 1; borderAlpha = 1; backgroundColor = 0xffffff; backgroundAlpha = 1; selectionColor = 0x5383b4; rollOverColor = 0x9bbed8; rowHeight; width; alternatingItemColors;
WidgetNavigator
  
widgetRowStyleName
Type: string   CSS Inheritance: no
Style name for the individual rows of widgets in the Widget List. Styles contained in this sub-style (and their corresponding defaults) are: paddingBottom = 3; paddingTop = 3; paddingLeft = 3; paddingRight = 3; borderSides = "top bottom"; borderColor = 0x909090; borderStyle = "solid"; borderThickness = 1; backgroundColor = 0xffffff; backgroundAlpha = 1; horizontalGap = 0; fontColor="0x0B333C"; fontAntiAliasType="normal"; fontFamily="Verdana"; fontSize="10"; fontStyle="normal"; fontWeight="bold"; textAlign="left"; verticalAlign = "middle";
WidgetNavigator
  
widgetViewStyleName
Type: string   CSS Inheritance: no
Style name for the widget view on the right of the container. Styles contained in this sub-style (and their corresponding defaults) are: paddingBottom = 5; paddingTop = 5; paddingLeft = 5; paddingRight = 5; horizontalAlign = "center"; verticalAlign = "middle";
WidgetNavigator
Property detail
autoResizeproperty
autoResize:Boolean  [read-write]

Determines whether or not the container resizes as needed. If set to false, it will use the size of the first widget view for each subsequent widget.

Implementation
    public function get autoResize():Boolean
    public function set autoResize(value:Boolean):void
selectedIndexproperty 
selectedIndex:int  [read-write]

The index of the selected IWidget in the widgets array.

Implementation
    public function get selectedIndex():int
    public function set selectedIndex(value:int):void
selectedItemproperty 
selectedItem:IWidget  [read-write]

The IWidget currently selected in the container.

Implementation
    public function get selectedItem():IWidget
    public function set selectedItem(value:IWidget):void
Method detail
collectionSelectionHandler()method
protected override function collectionSelectionHandler(event:WidgetCollectionEvent):void

Parameters
event:WidgetCollectionEvent
readStyleValues()method 
protected override function readStyleValues():void