Packagecom.adobe.portfolio.components.details
Classpublic class DetailsCardItem
InheritanceDetailsCardItem Inheritance NavSkinnableComponent Inheritance 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

The DetailsCardItem class extends NavSkinnableComponent to implement a cell in a DetailsCard in the Details navigator.



Public Properties
 PropertyDefined 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
 InheritedskinState : String
NavSkinnableComponent
  sortedField : Boolean
DetailsCardItem
Protected Properties
 PropertyDefined By
 InheritedautoListen : AutoListen
NavSkinnableComponent
 InheritedautoWatch : AutoWatch
NavSkinnableComponent
 Inherited_skinState : String
NavSkinnableComponent
Public Methods
 MethodDefined By
  
DetailsCardItem
 Inherited
NavSkinnableComponent
  
getCalculatedWidth(field:DetailsField, measureField:UIFTETextField = null):Number
DetailsCardItem
 Inherited
NavSkinnableComponent
 Inherited
setCurrentState(stateName:String, playTransition:Boolean = true):void
[override]
NavSkinnableComponent
  
DetailsCardItem
Protected Methods
 MethodDefined By
 Inherited
addListener(listener:IEventDispatcher, type:String, handler:Function, useCapture:Boolean = false, priority:int = 0):void
NavSkinnableComponent
 Inherited
addWatcher(watcher:ChangeWatcher):void
NavSkinnableComponent
  
[override]
DetailsCardItem
 Inherited
detachSkin():void
[override]
NavSkinnableComponent
  
[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
 Inherited
initStates():void
NavSkinnableComponent
  
partAdded(partName:String, instance:Object):void
[override] Called when a skin has added a skin part for this instance.
DetailsCardItem
 Inherited
partRemoved(partName:String, instance:Object):void
[override]
NavSkinnableComponent
Skin Parts

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
Public Constants
 ConstantDefined By
 InheritedSTATE_DISABLED : String = disabled
[static]
NavSkinnableComponent
 InheritedSTATE_NORMAL : String = normal
[static]
NavSkinnableComponent
Protected Constants
 ConstantDefined By
  collectionMgr : CollectionManager
The navigator's CollectionManager instance.
DetailsCardItem
Property Detail
attachmentproperty
attachment:IAttachment

This property can be used as the source for data binding.


Implementation
    public function get attachment():IAttachment
    public function set attachment(value:IAttachment):void
dataproperty 
data:Object

The data object to be rendered. Only DetailsField objects are supported.


Implementation
    public function get data():Object
    public function set data(value:Object):void
detailsFieldproperty 
public var detailsField:DetailsField = null

The DetailsField data object being rendered by this component, set through the public data setter.

fieldNameproperty 
fieldName:String

This property can be used as the source for data binding.


Implementation
    public function get fieldName():String
    public function set fieldName(value:String):void
sortedFieldproperty 
sortedField:Boolean

This property can be used as the source for data binding.


Implementation
    public function get sortedField():Boolean
    public function set sortedField(value:Boolean):void
Constructor Detail
DetailsCardItem()Constructor
public function DetailsCardItem()



Method Detail
commitProperties()method
override protected function commitProperties():void

getCalculatedWidth()method 
public function getCalculatedWidth(field:DetailsField, measureField:UIFTETextField = null):Number

Parameters

field:DetailsField
 
measureField:UIFTETextField (default = null)

Returns
Number
getCurrentSkinState()method 
override protected function getCurrentSkinState():String

Returns the current state of this instance, which is a variant of the component state depending on whether or not the component is selected.

Returns
String
partAdded()method 
override protected function partAdded(partName:String, instance:Object):void

Called when a skin has added a skin part for this instance.

Parameters

partName:String
 
instance:Object

updateSortState()method 
public function updateSortState():void

Constant Detail
collectionMgrConstant
protected const collectionMgr:CollectionManager

The navigator's CollectionManager instance. All host interaction should go through this instance, rather than the INavigatorHost directly.