| Package | com.esri.aws.awx.widget |
| Class | public class BaseWidgetContainer |
| Inheritance | BaseWidgetContainer mx.core.UIComponent |
| Implements | IWidgetContainer, mx.controls.listClasses.IListItemRenderer, mx.core.IContainer, mx.managers.IFocusManagerContainer |
| Subclasses | AccordionWidgetContainer, BarWidgetContainer, DockWidgetContainer, FloatingWidgetContainer, WidgetNavigator |
It is extended by the five widget containers.
Default MXML PropertyMXMLwidgets
| Property | Defined by | ||
|---|---|---|---|
| data : Object | BaseWidgetContainer | ||
| numWidgets : int [read-only]
Number of widgets in widget container.
| BaseWidgetContainer | ||
| widgets : WidgetCollection
The widgetCollection of the widget container.
| BaseWidgetContainer | ||
| Property | Defined by | ||
|---|---|---|---|
| childrenCreationComplete : Boolean
Have the children been created?
| BaseWidgetContainer | ||
| collectionChanged : Boolean
Has the widget collection changed?
| BaseWidgetContainer | ||
| paddingBottom : Number
Padding for the bottom of the container.
| BaseWidgetContainer | ||
| paddingLeft : Number
Padding for the left of the container.
| BaseWidgetContainer | ||
| paddingRight : Number
Padding for the right of the container.
| BaseWidgetContainer | ||
| paddingTop : Number
Padding for the top of the container.
| BaseWidgetContainer | ||
| updateStyles : Boolean
Have the styles been updated?
| BaseWidgetContainer | ||
| Method | Defined by | ||
|---|---|---|---|
|
Creates a new BaseWidgetContainer.
| BaseWidgetContainer | ||
|
Adds a widget to widget container.
| BaseWidgetContainer | ||
|
Adds a widget to widget container (at a specific index).
| BaseWidgetContainer | ||
|
executeChildBindings(recurse:Boolean):void
Executes the bindings into this Container's child UIComponent objects.
| BaseWidgetContainer | ||
|
getAllWidgets():Array
Returns an array with all the widgets in the widget container.
| BaseWidgetContainer | ||
|
removeAllWidgets():void
Removes all widgets.
| BaseWidgetContainer | ||
|
removeWidget(widget:IWidget):void
Removes a widget from widget container.
| BaseWidgetContainer | ||
|
Removes widget from widget container (using index).
| BaseWidgetContainer | ||
| childrenCreationComplete | property |
protected var childrenCreationComplete:BooleanHave the children been created?
| collectionChanged | property |
protected var collectionChanged:BooleanHas the widget collection changed?
| data | property |
public var data:Object
This property can be used as the source for data binding.
| numWidgets | property |
numWidgets:int [read-only]Number of widgets in widget container.
Implementation public function get numWidgets():int
| paddingBottom | property |
protected var paddingBottom:NumberPadding for the bottom of the container.
| paddingLeft | property |
protected var paddingLeft:NumberPadding for the left of the container.
| paddingRight | property |
protected var paddingRight:NumberPadding for the right of the container.
| paddingTop | property |
protected var paddingTop:NumberPadding for the top of the container.
| updateStyles | property |
protected var updateStyles:BooleanHave the styles been updated?
| widgets | property |
widgets:WidgetCollection [read-write]The widgetCollection of the widget container.
Implementation public function get widgets():WidgetCollection
public function set widgets(value:WidgetCollection):void
| BaseWidgetContainer | () | constructor |
public function BaseWidgetContainer()Creates a new BaseWidgetContainer.
| addWidget | () | method |
public function addWidget(widget:IWidget):voidAdds a widget to widget container.
Parameterswidget:IWidget |
| addWidgetAt | () | method |
public function addWidgetAt(widget:IWidget, index:int):voidAdds a widget to widget container (at a specific index).
Parameterswidget:IWidget |
|
index:int |
| executeChildBindings | () | method |
public function executeChildBindings(recurse:Boolean):voidExecutes the bindings into this Container's child UIComponent objects. Flex calls this method automatically once a Container has been created.
Parametersrecurse:Boolean — If false, then only execute the bindings
on the immediate children of this Container.
If true, then also execute the bindings on this
container's grandchildren,
great-grandchildren, and so on.
|
| getAllWidgets | () | method |
public function getAllWidgets():ArrayReturns an array with all the widgets in the widget container.
ReturnsArray |
| removeAllWidgets | () | method |
public function removeAllWidgets():voidRemoves all widgets.
| removeWidget | () | method |
public function removeWidget(widget:IWidget):voidRemoves a widget from widget container.
Parameterswidget:IWidget |
| removeWidgetAt | () | method |
public function removeWidgetAt(index:int):IWidgetRemoves widget from widget container (using index).
Parametersindex:int |
IWidget |