Packagecom.adobe.portfolio.components.details
Classpublic class DetailsHeaderItem
InheritanceDetailsHeaderItem Inheritance NavSkinnableComponent Inheritance spark.components.supportClasses.SkinnableComponent
Implements mx.managers.IFocusManagerComponent, mx.controls.listClasses.IListItemRenderer



Public Properties
 PropertyDefined By
  data : Object
The data object to be rendered.
DetailsHeaderItem
  detailsField : DetailsField = null
The DetailsField data object being rendered by this component, set through the public data setter.
DetailsHeaderItem
  field : IField
DetailsHeaderItem
  resizable : Boolean
DetailsHeaderItem
 InheritedskinState : String
NavSkinnableComponent
  sortAscending : Boolean
DetailsHeaderItem
  sortedField : Boolean
DetailsHeaderItem
Protected Properties
 PropertyDefined By
 InheritedautoListen : AutoListen
NavSkinnableComponent
 InheritedautoWatch : AutoWatch
NavSkinnableComponent
 Inherited_skinState : String
NavSkinnableComponent
Public Methods
 MethodDefined By
  
DetailsHeaderItem
  
[override]
DetailsHeaderItem
  
getCalculatedWidth(field:DetailsField, measureField:UIFTETextField = null):Number
DetailsHeaderItem
 Inherited
NavSkinnableComponent
 Inherited
setCurrentState(stateName:String, playTransition:Boolean = true):void
[override]
NavSkinnableComponent
  
DetailsHeaderItem
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]
DetailsHeaderItem
 Inherited
detachSkin():void
[override]
NavSkinnableComponent
 Inherited
[override]
NavSkinnableComponent
 Inherited
initStates():void
NavSkinnableComponent
  
partAdded(partName:String, instance:Object):void
[override] Called when a skin has added a skin part for this instance.
DetailsHeaderItem
 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
  
headerItems:spark.components.HGroup
Required: true Part Type: Static
The group containing the header items so clicks around the items can be detected
DetailsHeaderItem
  
headerName:FieldTextInput
Required: true Part Type: Static
The (editable if user-defined) header text
DetailsHeaderItem
  
resizeSeparator:spark.components.HGroup
Required: true Part Type: Static
A button/region that identifies where columns can be resized from.
DetailsHeaderItem
  
sortIndicator:spark.components.HGroup
Required: true Part Type: Static
An icon to show that this column is being sorted with ascending/descending sort.
DetailsHeaderItem
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.
DetailsHeaderItem
Property Detail
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.

fieldproperty 
field:IField

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


Implementation
    public function get field():IField
    public function set field(value:IField):void
resizableproperty 
resizable:Boolean

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


Implementation
    public function get resizable():Boolean
    public function set resizable(value:Boolean):void
sortAscendingproperty 
sortAscending:Boolean

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


Implementation
    public function get sortAscending():Boolean
    public function set sortAscending(value:Boolean):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
DetailsHeaderItem()Constructor
public function DetailsHeaderItem()



Method Detail
addListenAndWatch()method
override public function addListenAndWatch():void

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