| Package | com.esri.aws.awx.widget |
| Class | public class DockWidgetContainer |
| Inheritance | DockWidgetContainer BaseWidgetContainer mx.core.UIComponent |
The DockWidgetContainer contains a BarWidgetContainer, and thus, like the BarWidgetContainer supports two widget states: WidgetStates.ICON and WidgetStates.ICON_ACTION.
Tip: set the layout property of the mx:Application to "absolute" for best default location of the DockWidgetContainer.
<widget:DockWidgetContainer>
<widget:PanZoomWidgetLoader id="panZoomW" />
<widget:FindWidgetLoader id="findW" />
<widget:BaseMapWidget id="baseMapW"/>
</widget:DockWidgetContainer>
| Property | Defined by | ||
|---|---|---|---|
![]() | data : Object | BaseWidgetContainer | |
| direction : String
Sets the direction of the bar -- either "horizontal" or "vertical".
| DockWidgetContainer | ||
| dockState : String
Sets the state of the dock -- either "open" or "close".
| DockWidgetContainer | ||
![]() | 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 | |
![]() | 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 | |
| widgetBar : BarWidgetContainer
The widgetBar contained within the Dock.
| DockWidgetContainer | ||
| Method | Defined by | ||
|---|---|---|---|
|
widgetBarItemClickHandler(event:ItemClickEvent):void
This method handles the click event from the barWidgetContainer contained within the dock container.
| DockWidgetContainer | ||
| Style | Description | Defined 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.
| DockWidgetContainer | ||
|
backgroundColor
| Type: uint Format: Color CSS Inheritance: no Background color of a component. | DockWidgetContainer | ||
|
borderSkin
| Type: Class CSS Inheritance: no The border skin of the component. The default value is com.esri.aws.awx.widget.dockClasses.skins.DockBorder. | DockWidgetContainer | ||
|
cornerRadius
| Type: Number Format: Length CSS Inheritance: no Radius of component corners. | DockWidgetContainer | ||
|
innerShadowEnabled
| Type: Boolean CSS Inheritance: no Boolean property that specifies whether the component has a visible inner drop shadow. | DockWidgetContainer | ||
|
maximizeStyleName
| Type: String CSS Inheritance: no Style name for the maximize button. | DockWidgetContainer | ||
|
minimizeStyleName
| Type: String CSS Inheritance: no Style name for the minimize button. | DockWidgetContainer | ||
![]() | Type: Number Format: Length CSS Inheritance: no Number of pixels between the container's bottom border and the bottom of its content area. | BaseWidgetContainer | ||
![]() | Type: Number Format: Length CSS Inheritance: no Number of pixels between the container's left border and the left of its content area. | BaseWidgetContainer | ||
![]() | Type: Number Format: Length CSS Inheritance: no Number of pixels between the container's right border and the right of its content area. | BaseWidgetContainer | ||
![]() | Type: Number Format: Length CSS Inheritance: no Number of pixels between the container's top border and the top of its content area. | BaseWidgetContainer | ||
|
resizeHandleHeight
| Type: uint Format: Length CSS Inheritance: no Height of minimize and maximize buttons. | DockWidgetContainer | ||
|
resizeHandleWidth
| Type: uint Format: Length CSS Inheritance: no Width of minimize and maximize buttons. | DockWidgetContainer | ||
|
shadowAlpha
| Type: Number CSS Inheritance: no Alpha level of the shadow. | DockWidgetContainer | ||
|
widgetBarStyleName
| Type: String CSS Inheritance: no Style name for the BarWidgetContainer. | DockWidgetContainer | ||
| Constant | Defined by | ||
|---|---|---|---|
| CLOSE : String = "close" [static]
Constant used to set the dock state to close.
| DockWidgetContainer | ||
| HORIZONTAL : String = "horizontal" [static]
Constant used to set the direction to horizontal.
| DockWidgetContainer | ||
| OPEN : String = "open" [static]
Constant used to set the dock state to open.
| DockWidgetContainer | ||
| VERTICAL : String = "vertical" [static]
Constant used to set the direction to vertical.
| DockWidgetContainer | ||
| direction | property |
direction:String [read-write]Sets the direction of the bar -- either "horizontal" or "vertical".
Implementation public function get direction():String
public function set direction(value:String):void
| dockState | property |
dockState:String [read-write]Sets the state of the dock -- either "open" or "close".
This property can be used as the source for data binding.
Implementation public function get dockState():String
public function set dockState(value:String):void
| widgetBar | property |
protected var widgetBar:BarWidgetContainerThe widgetBar contained within the Dock. The widgetBar is the subcontainer that actually contains the widgets
| widgetBarItemClickHandler | () | method |
protected function widgetBarItemClickHandler(event:ItemClickEvent):voidThis method handles the click event from the barWidgetContainer contained within the dock container.
Parametersevent:ItemClickEvent |
| CLOSE | constant |
public static const CLOSE:String = "close"Constant used to set the dock state to close.
| HORIZONTAL | constant |
public static const HORIZONTAL:String = "horizontal"Constant used to set the direction to horizontal.
| OPEN | constant |
public static const OPEN:String = "open"Constant used to set the dock state to open.
| VERTICAL | constant |
public static const VERTICAL:String = "vertical"Constant used to set the direction to vertical.