| Package | com.esri.aws.awx.widget |
| Class | public class AccordionWidgetContainer |
| Inheritance | AccordionWidgetContainer BaseWidgetContainer mx.core.UIComponent |
The AccordionWidgetContainer supports one widget state: WidgetStates.DEFAULT.
<widget:AccordionWidgetContainer width="450">
<widget:PanZoomWidget id="panZoomW" />
<widget:BaseMapWidget id="baseMapW"/>
<widget:FindWidget id="findW" />
<widget:MyCustomWidget id="whatever" />
</widget:AccordionWidgetContainer>
| Property | Defined by | ||
|---|---|---|---|
| childrenMaximumHeight : Number
Maximum height for the widget views.
| AccordionWidgetContainer | ||
![]() | data : Object | BaseWidgetContainer | |
![]() | numWidgets : int
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 | |
| itemCreationComplete : Boolean
Tells whether or not the items have been created.
| AccordionWidgetContainer | ||
| myStyleChanged : Boolean
Tells whether or not the style has changed.
| AccordionWidgetContainer | ||
![]() | 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 | |
| separatorColor : Number
Color of the widget separator.
| AccordionWidgetContainer | ||
| separators : Array
Array of separators visible in the widget container.
| AccordionWidgetContainer | ||
| separatorThickness : Number
Thickness of the widget separator.
| AccordionWidgetContainer | ||
| totalHeight : Number
Total height of the widget container.
| AccordionWidgetContainer | ||
| totalWidth : Number
Total width of the widget container.
| AccordionWidgetContainer | ||
![]() | updateStyles : Boolean
Have the styles been updated?
| BaseWidgetContainer | |
| widgetViews : Array
Array of widget views visible in the widget container.
| AccordionWidgetContainer | ||
| Method | Defined by | ||
|---|---|---|---|
|
Creates a new AccordionWidgetContainer.
| AccordionWidgetContainer | ||
![]() |
Adds a widget to widget container.
| BaseWidgetContainer | |
![]() |
addWidgetAt(widget:IWidget, index:int):void
Adds a widget to widget container (at a specific index).
| BaseWidgetContainer | |
|
close():void
Closes the widget container and removes any widget popups.
| AccordionWidgetContainer | ||
![]() |
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 | |
|
openAll():void
Opens all of the views contained within the widget container.
| AccordionWidgetContainer | ||
![]() |
removeAllWidgets():void
Removes all widgets.
| BaseWidgetContainer | |
![]() |
removeWidget(widget:IWidget):void
Removes a widget from widget container.
| BaseWidgetContainer | |
![]() |
removeWidgetAt(index:int):IWidget
Removes widget from widget container (using index).
| BaseWidgetContainer | |
|
styleChanged(styleProp:String):void
| AccordionWidgetContainer | ||
| Method | Defined by | ||
|---|---|---|---|
|
addSeparator(w:Number, h:Number):void
Adds a separator to the widget container.
| AccordionWidgetContainer | ||
|
collectionChangeHandler(event:CollectionEvent):void
| AccordionWidgetContainer | ||
|
commitProperties():void
| AccordionWidgetContainer | ||
|
createChildren():void
| AccordionWidgetContainer | ||
|
createItems():void
Creates the widget views and adds them to the widget container.
| AccordionWidgetContainer | ||
|
layoutItems(unscaledWidth:Number, unscaledHeight:Number):void
Lays out the widget views and separators accordingly
| AccordionWidgetContainer | ||
|
makeSeperators(width:Number):void
Creates the separator with the given width
| AccordionWidgetContainer | ||
|
measure():void
| AccordionWidgetContainer | ||
|
measureItems():void
Determines the height and width of the widget container.
| AccordionWidgetContainer | ||
|
removeAll():void
Removes all separators and widgets from the widget container.
| AccordionWidgetContainer | ||
|
restoreState(stateCache:Array):void
Restores the last known state of the widget container.
| AccordionWidgetContainer | ||
|
saveState():Array
Saves the current state of the widget container.
| AccordionWidgetContainer | ||
|
updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void
| AccordionWidgetContainer | ||
| childrenMaximumHeight | property |
public var childrenMaximumHeight:NumberMaximum height for the widget views.
This property can be used as the source for data binding.
| itemCreationComplete | property |
protected var itemCreationComplete:BooleanTells whether or not the items have been created.
| myStyleChanged | property |
protected var myStyleChanged:BooleanTells whether or not the style has changed.
| separatorColor | property |
protected var separatorColor:NumberColor of the widget separator.
| separators | property |
protected var separators:ArrayArray of separators visible in the widget container.
| separatorThickness | property |
protected var separatorThickness:NumberThickness of the widget separator.
| totalHeight | property |
protected var totalHeight:NumberTotal height of the widget container.
| totalWidth | property |
protected var totalWidth:NumberTotal width of the widget container.
| widgetViews | property |
protected var widgetViews:ArrayArray of widget views visible in the widget container.
| AccordionWidgetContainer | () | constructor |
public function AccordionWidgetContainer()Creates a new AccordionWidgetContainer.
| addSeparator | () | method |
protected function addSeparator(w:Number, h:Number):voidAdds a separator to the widget container.
Parametersw:Number |
|
h:Number |
| close | () | method |
public function close():voidCloses the widget container and removes any widget popups.
| collectionChangeHandler | () | method |
protected override function collectionChangeHandler(event:CollectionEvent):voidParameters
event:CollectionEvent |
| commitProperties | () | method |
protected override function commitProperties():void
| createChildren | () | method |
protected override function createChildren():void
| createItems | () | method |
protected function createItems():voidCreates the widget views and adds them to the widget container.
| layoutItems | () | method |
protected function layoutItems(unscaledWidth:Number, unscaledHeight:Number):voidLays out the widget views and separators accordingly
ParametersunscaledWidth:Number |
|
unscaledHeight:Number |
| makeSeperators | () | method |
protected function makeSeperators(width:Number):voidCreates the separator with the given width
Parameterswidth:Number |
| measure | () | method |
protected override function measure():void
| measureItems | () | method |
protected function measureItems():voidDetermines the height and width of the widget container.
| openAll | () | method |
public function openAll():voidOpens all of the views contained within the widget container.
| removeAll | () | method |
protected function removeAll():voidRemoves all separators and widgets from the widget container.
| restoreState | () | method |
protected function restoreState(stateCache:Array):voidRestores the last known state of the widget container.
ParametersstateCache:Array |
| saveState | () | method |
protected function saveState():ArraySaves the current state of the widget container.
ReturnsArray |
| styleChanged | () | method |
public override function styleChanged(styleProp:String):voidParameters
styleProp:String |
| updateDisplayList | () | method |
protected override function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):voidParameters
unscaledWidth:Number |
|
unscaledHeight:Number |