xd.core.axm.enterprise.view.skins

# AXMEnterpriseSplitActionButtonSkin - AS3 ADEP Adobe Experience Model

Package | xd.core.axm.enterprise.view.skins
Class | public class AXMEnterpriseSplitActionButtonSkin
Inheritance | AXMEnterpriseSplitActionButtonSkin 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

Default MXML Property `mxmlContent`

Related API Elements

spark.components.Button

Public Properties

| Property | Defined By
--- | --- | ---
|  | colorizeExclusions : Array [override] [read-only] Names of items that should not be colorized by the chromeColor style. | AXMEnterpriseSplitActionButtonSkin
|  | hostComponent : AXMButton A strongly typed property that references the component to which this skin is applied. | AXMEnterpriseSplitActionButtonSkin
|  | labelDisplay : Label A skin part that defines the label of the button. | AXMEnterpriseSplitActionButtonSkin

Public Methods

| Method | Defined By
--- | --- | ---
|  | AXMEnterpriseSplitActionButtonSkin() Constructor. | AXMEnterpriseSplitActionButtonSkin

Protected Methods

| Method | Defined By
--- | --- | ---
|  | initializationComplete():void [override] Finalizes the initialization of this component. | AXMEnterpriseSplitActionButtonSkin
|  | updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void [override] Draws the object and/or sizes and positions its children. | AXMEnterpriseSplitActionButtonSkin

Property Detail

### colorizeExclusions

property

`colorizeExclusions: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 not be colorized by the `chromeColor` style. Only items of type DisplayObject or GraphicElement should be excluded. Items of other types will be ignored.

Implementation
`override public function get colorizeExclusions():Array`

### hostComponent

property

`public var hostComponent:AXMButton`

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 strongly typed property that references the component to which this skin is applied.

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.

Constructor Detail

### AXMEnterpriseSplitActionButtonSkin

()
Constructor

`public function AXMEnterpriseSplitActionButtonSkin()`

Constructor.

Method Detail

### initializationComplete

()
method

`override protected function initializationComplete():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

Finalizes the initialization of this component.

This method is the last code that executes when you add a component to a parent for the first time using `addChild()` or `addChildAt()`. It handles some housekeeping related to dispatching the `initialize` event. If you are writing a component, you do not need to override this method.

### 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.

© 2015 Adobe Systems Incorporated. All rights reserved.
Mon Apr 10 2017, 12:28 PM -07:00