ActionScript® 3.0 Reference for the Adobe® Flash® Platform
Home  |  Show Packages and Classes List |  Packages  |  Classes  |  What's New  |  Index  |  Appendixes
xd.core.axm.enterprise.view.skins 

AXMEnterpriseDropDownListSkin  - AS3 ADEP Adobe Experience Model

Packagexd.core.axm.enterprise.view.skins
Classpublic class AXMEnterpriseDropDownListSkin
InheritanceAXMEnterpriseDropDownListSkin Inheritance AXMSkin
Implements IBindingClient, IStateClient2

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Experience Services - Adobe Experience Model 10
Runtime Versions: AIR 2.6, Flash Player 10.2

The default skin class for the AXMEnterpriseDropDownList.

Default MXML PropertymxmlContent

Related API Elements



Public Properties
 PropertyDefined By
  background : Rect
Defines the appearance of drop-down list's background fill.
AXMEnterpriseDropDownListSkin
  contentItems : Array
[override] [read-only] Names of items that should have their color property defined by the contentBackgroundColor style.
AXMEnterpriseDropDownListSkin
  dataGroup : DataGroup
An optional skin part that defines the DataGroup in the skin class where data items get pushed into, rendered, and laid out.
AXMEnterpriseDropDownListSkin
  dropDown : Group
List drop down
AXMEnterpriseDropDownListSkin
  labelDisplay : Label
A skin part that defines the label of the button.
AXMEnterpriseDropDownListSkin
  openButton : Button
The default skin is AXMEnterpriseDropDownListButtonSkin. A skin part that defines the anchor button.
AXMEnterpriseDropDownListSkin
  popUp : PopUpAnchor
The PopUpAnchor control that opens the drop-down list.
AXMEnterpriseDropDownListSkin
Public Methods
 MethodDefined By
  
Constructor.
AXMEnterpriseDropDownListSkin
Protected Methods
 MethodDefined By
  
[override] Performs any final processing after child objects are created.
AXMEnterpriseDropDownListSkin
  
updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void
[override] Draws the object and/or sizes and positions its children.
AXMEnterpriseDropDownListSkin
Property Detail

background

property
public var background:Rect

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Experience Services - Adobe Experience Model 10
Runtime Versions: AIR 2.6, Flash Player 10.2

Defines the appearance of drop-down list's background fill.

This property can be used as the source for data binding. When this property is modified, it dispatches the Bindable event.

contentItems

property 
contentItems:Array  [read-only] [override]

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Experience Services - Adobe Experience Model 10
Runtime Versions: AIR 2.6, Flash Player 10.2

Names of items that should have their color property defined by the contentBackgroundColor style.



Implementation
    override public function get contentItems():Array

dataGroup

property 
public var dataGroup:DataGroup

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Experience Services - Adobe Experience Model 10
Runtime Versions: AIR 2.6, Flash Player 10.2

An optional skin part that defines the DataGroup in the skin class where data items get pushed into, rendered, and laid out.

This property can be used as the source for data binding. When this property is modified, it dispatches the Bindable event.

dropDown

property 
public var dropDown:Group

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Experience Services - Adobe Experience Model 10
Runtime Versions: AIR 2.6, Flash Player 10.2

List drop down

This property can be used as the source for data binding. When this property is modified, it dispatches the Bindable event.

labelDisplay

property 
public var labelDisplay:Label

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Experience Services - Adobe Experience Model 10
Runtime Versions: AIR 2.6, Flash Player 10.2

A skin part that defines the label of the button.

This property can be used as the source for data binding. When this property is modified, it dispatches the Bindable event.

openButton

property 
public var openButton:Button

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Experience Services - Adobe Experience Model 10
Runtime Versions: AIR 2.6, Flash Player 10.2

The default skin is AXMEnterpriseDropDownListButtonSkin.

A skin part that defines the anchor button.

This property can be used as the source for data binding. When this property is modified, it dispatches the Bindable event.

Related API Elements

popUp

property 
public var popUp:PopUpAnchor

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Experience Services - Adobe Experience Model 10
Runtime Versions: AIR 2.6, Flash Player 10.2

The PopUpAnchor control that opens the drop-down list.

In a custom skin class that uses transitions, set the itemDestructionPolicy property to none.

This property can be used as the source for data binding. When this property is modified, it dispatches the Bindable event.

Constructor Detail

AXMEnterpriseDropDownListSkin

()Constructor
public function AXMEnterpriseDropDownListSkin()

Constructor.

Method Detail

childrenCreated

()method
override protected function childrenCreated():void

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Experience Services - Adobe Experience Model 10
Runtime Versions: AIR 2.6, Flash Player 10.2

Performs any final processing after child objects are created. This is an advanced method that you might override when creating a subclass of UIComponent.

updateDisplayList

()method 
override protected function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Experience Services - Adobe Experience Model 10
Runtime Versions: AIR 2.6, Flash Player 10.2

Draws the object and/or sizes and positions its children. This is an advanced method that you might override when creating a subclass of UIComponent.

You do not call this method directly. Flex calls the updateDisplayList() method when the component is added to a container using the addChild() method, and when the component's invalidateDisplayList() method is called.

If the component has no children, this method is where you would do programmatic drawing using methods on the component's Graphics object such as graphics.drawRect().

If the component has children, this method is where you would call the move() and setActualSize() methods on its children.

Components can do programmatic drawing even if they have children. In doing either, use the component's unscaledWidth and unscaledHeight as its bounds.

It is important to use unscaledWidth and unscaledHeight instead of the width and height properties.

Parameters

unscaledWidth:Number — Specifies the width of the component, in pixels, in the component's coordinates, regardless of the value of the scaleX property of the component.
 
unscaledHeight:Number — Specifies the height of the component, in pixels, in the component's coordinates, regardless of the value of the scaleY property of the component.