套件 | 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 |
An optional skin part that defines the DataGroup in the skin class where data items get pushed into, rendered, and laid out.
此屬性可以做為資料繫結的來源。一旦修改此屬性,將傳送 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 |
A skin part that defines the label of the button.
此屬性可以做為資料繫結的來源。一旦修改此屬性,將傳送 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.
A skin part that defines the anchor button.此屬性可以做為資料繫結的來源。一旦修改此屬性,將傳送 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, 03:47 PM Z