包 | xd.core.axm.enterprise.view.skins |
类 | public class AXMEnterpriseDropDownListSkin |
继承 | AXMEnterpriseDropDownListSkin AXMSkin |
实现 | IBindingClient, IStateClient2 |
语言版本: | ActionScript 3.0 |
产品版本: | Adobe Digital Enterprise Platform Experience Services - Adobe Experience Model 10 |
运行时版本: | AIR 2.6, Flash Player 10.2 |
默认 MXML 属性mxmlContent
相关 API 元素
属性 | 由以下参数定义 | ||
---|---|---|---|
background : Rect Defines the appearance of drop-down list's background fill. | AXMEnterpriseDropDownListSkin | ||
contentItems : Array [覆盖] [只读]
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 |
方法 | 由以下参数定义 | ||
---|---|---|---|
Constructor. | AXMEnterpriseDropDownListSkin |
方法 | 由以下参数定义 | ||
---|---|---|---|
[覆盖]
Performs any final processing after child objects are created. | AXMEnterpriseDropDownListSkin | ||
[覆盖]
Draws the object and/or sizes and positions its children. | AXMEnterpriseDropDownListSkin |
background | 属性 |
public var background:Rect
语言版本: | ActionScript 3.0 |
产品版本: | Adobe Digital Enterprise Platform Experience Services - Adobe Experience Model 10 |
运行时版本: | AIR 2.6, Flash Player 10.2 |
Defines the appearance of drop-down list's background fill.
此属性可用作数据绑定的源。修改此属性后,将调度 Bindable
事件。
contentItems | 属性 |
contentItems:Array
[只读] [覆盖] 语言版本: | ActionScript 3.0 |
产品版本: | Adobe Digital Enterprise Platform Experience Services - Adobe Experience Model 10 |
运行时版本: | AIR 2.6, Flash Player 10.2 |
Names of items that should have their color
property defined by
the contentBackgroundColor
style.
实现
override public function get contentItems():Array
dataGroup | 属性 |
public var dataGroup:DataGroup
语言版本: | ActionScript 3.0 |
产品版本: | Adobe Digital Enterprise Platform Experience Services - Adobe Experience Model 10 |
运行时版本: | AIR 2.6, Flash Player 10.2 |
定义外观类中的 DataGroup(数据项目将被推入其中,并进行呈示和布置)的可选外观部件。
此属性可用作数据绑定的源。修改此属性后,将调度 Bindable
事件。
dropDown | 属性 |
public var dropDown:Group
语言版本: | ActionScript 3.0 |
产品版本: | Adobe Digital Enterprise Platform Experience Services - Adobe Experience Model 10 |
运行时版本: | AIR 2.6, Flash Player 10.2 |
List drop down
此属性可用作数据绑定的源。修改此属性后,将调度 Bindable
事件。
labelDisplay | 属性 |
public var labelDisplay:Label
语言版本: | ActionScript 3.0 |
产品版本: | Adobe Digital Enterprise Platform Experience Services - Adobe Experience Model 10 |
运行时版本: | AIR 2.6, Flash Player 10.2 |
定义按钮的标签的外观部件。
此属性可用作数据绑定的源。修改此属性后,将调度 Bindable
事件。
openButton | 属性 |
public var openButton:Button
语言版本: | ActionScript 3.0 |
产品版本: | Adobe Digital Enterprise Platform Experience Services - Adobe Experience Model 10 |
运行时版本: | AIR 2.6, Flash Player 10.2 |
The default skin is AXMEnterpriseDropDownListButtonSkin.
定义锚点按钮的外观部件。此属性可用作数据绑定的源。修改此属性后,将调度 Bindable
事件。
相关 API 元素
popUp | 属性 |
public var popUp:PopUpAnchor
语言版本: | ActionScript 3.0 |
产品版本: | Adobe Digital Enterprise Platform Experience Services - Adobe Experience Model 10 |
运行时版本: | 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
.
此属性可用作数据绑定的源。修改此属性后,将调度 Bindable
事件。
AXMEnterpriseDropDownListSkin | () | 构造函数 |
public function AXMEnterpriseDropDownListSkin()
Constructor.
childrenCreated | () | 方法 |
override protected function childrenCreated():void
语言版本: | ActionScript 3.0 |
产品版本: | Adobe Digital Enterprise Platform Experience Services - Adobe Experience Model 10 |
运行时版本: | 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 | () | 方法 |
override protected function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void
语言版本: | ActionScript 3.0 |
产品版本: | Adobe Digital Enterprise Platform Experience Services - Adobe Experience Model 10 |
运行时版本: | 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.
参数
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.
|
Tue Jun 12 2018, 11:04 AM Z