| Package | com.adobe.portfolio.components.details |
| Class | public class DetailsCardItem |
| Inheritance | DetailsCardItem NavSkinnableComponent spark.components.supportClasses.SkinnableComponent |
| Implements | mx.controls.listClasses.IListItemRenderer |
| Language Version : | ActionScript 3.0 |
| Product Version : | Portfolio 10.0 |
| Runtime Versions : | Flash Player 10.1, AIR 2.0 |
| Property | Defined By | ||
|---|---|---|---|
| attachment : IAttachment | DetailsCardItem | ||
| data : Object
The data object to be rendered. | DetailsCardItem | ||
| detailsField : DetailsField = null
The DetailsField data object being rendered by this component, set through the public
data setter. | DetailsCardItem | ||
| fieldName : String | DetailsCardItem | ||
![]() | skinState : String | NavSkinnableComponent | |
| sortedField : Boolean | DetailsCardItem | ||
| Method | Defined By | ||
|---|---|---|---|
| DetailsCardItem | |||
![]() | addListenAndWatch():void | NavSkinnableComponent | |
getCalculatedWidth(field:DetailsField, measureField:UIFTETextField = null):Number | DetailsCardItem | ||
![]() | removeListenAndWatch():void | NavSkinnableComponent | |
![]() | setCurrentState(stateName:String, playTransition:Boolean = true):void [override] | NavSkinnableComponent | |
updateSortState():void | DetailsCardItem | ||
| Method | Defined By | ||
|---|---|---|---|
![]() | addListener(listener:IEventDispatcher, type:String, handler:Function, useCapture:Boolean = false, priority:int = 0):void | NavSkinnableComponent | |
![]() | addWatcher(watcher:ChangeWatcher):void | NavSkinnableComponent | |
commitProperties():void [override] | DetailsCardItem | ||
![]() | detachSkin():void [override] | NavSkinnableComponent | |
getCurrentSkinState():String [override]
Returns the current state of this instance, which is a variant of the component state depending on
whether or not the component is selected. | DetailsCardItem | ||
![]() | initStates():void | NavSkinnableComponent | |
partAdded(partName:String, instance:Object):void [override] Called when a skin has added a skin part for this instance. | DetailsCardItem | ||
![]() | partRemoved(partName:String, instance:Object):void [override] | NavSkinnableComponent | |
This component uses skins made up of skin parts. Do not set the skin parts directly. The component's skin sets the skin parts.
| Skin Part | Description | Defined By | ||
|---|---|---|---|---|
dateTimeChooser:DateTimeChooser | Required: false Part Type: Static The date/time chooser for user defined date fields | DetailsCardItem | ||
manyLinesTextEntry:FieldTextArea | Required: true Part Type: Static The multi line text field for the card item | DetailsCardItem | ||
oneLineTextEntry:FieldTextInput | Required: true Part Type: Static The one line text field for the card item | DetailsCardItem | ||
| Constant | Defined By | ||
|---|---|---|---|
| collectionMgr : CollectionManager The navigator's CollectionManager instance. | DetailsCardItem | ||
| attachment | property |
attachment:IAttachmentThis property can be used as the source for data binding.
public function get attachment():IAttachment public function set attachment(value:IAttachment):void| data | property |
data:ObjectThe data object to be rendered. Only DetailsField objects are supported.
public function get data():Object public function set data(value:Object):void| detailsField | property |
public var detailsField:DetailsField = nullThe DetailsField data object being rendered by this component, set through the public data setter.
| fieldName | property |
fieldName:StringThis property can be used as the source for data binding.
public function get fieldName():String public function set fieldName(value:String):void| sortedField | property |
sortedField:BooleanThis property can be used as the source for data binding.
public function get sortedField():Boolean public function set sortedField(value:Boolean):void| DetailsCardItem | () | Constructor |
public function DetailsCardItem()| commitProperties | () | method |
override protected function commitProperties():void| getCalculatedWidth | () | method |
public function getCalculatedWidth(field:DetailsField, measureField:UIFTETextField = null):NumberParameters
field:DetailsField | |
measureField:UIFTETextField (default = null) |
Number |
| getCurrentSkinState | () | method |
override protected function getCurrentSkinState():StringReturns the current state of this instance, which is a variant of the component state depending on whether or not the component is selected.
ReturnsString |
| partAdded | () | method |
override protected function partAdded(partName:String, instance:Object):voidCalled when a skin has added a skin part for this instance.
Parameters
partName:String | |
instance:Object |
| updateSortState | () | method |
public function updateSortState():void| collectionMgr | Constant |
protected const collectionMgr:CollectionManagerThe navigator's CollectionManager instance. All host interaction should go through this instance, rather than the INavigatorHost directly.