| Package | com.adobe.portfolio.components.details |
| Class | public class Details |
| Inheritance | Details NavSkinnableComponent spark.components.supportClasses.SkinnableComponent |
| Property | Defined By | ||
|---|---|---|---|
| detailsFields : ArrayList | Details | ||
| fieldColumnMinWidth : Number [read-only] | Details | ||
| fieldColumnTotalWidth : Number [read-only] | Details | ||
| horizontalScrollPosition : Number [read-only]
A common horizontalScrollPosition used by both the header and card list. | Details | ||
![]() | skinState : String | NavSkinnableComponent | |
| Method | Defined By | ||
|---|---|---|---|
Details() | Details | ||
addListenAndWatch():void [override] | Details | ||
getFieldColumnWidths():Array | Details | ||
![]() | removeListenAndWatch():void | NavSkinnableComponent | |
![]() | setCurrentState(stateName:String, playTransition:Boolean = true):void [override] | NavSkinnableComponent | |
updateFieldOrder(movedField:IField, afterFieldName:String):void | Details | ||
updateSortOrder(fieldName:String, descending:Boolean):void | Details | ||
| Method | Defined By | ||
|---|---|---|---|
![]() | addListener(listener:IEventDispatcher, type:String, handler:Function, useCapture:Boolean = false, priority:int = 0):void | NavSkinnableComponent | |
![]() | addWatcher(watcher:ChangeWatcher):void | NavSkinnableComponent | |
authoringModeChanged(value:Boolean):void | Details | ||
![]() | detachSkin():void [override] | NavSkinnableComponent | |
fieldsChanged(value:Array):void | Details | ||
![]() | getCurrentSkinState():String [override] | NavSkinnableComponent | |
initializeAccessibility():void [override] | Details | ||
![]() | initStates():void | NavSkinnableComponent | |
measure():void [override] | Details | ||
onCollectionChange(event:CollectionEvent):void An event listener to respond to events from the current collection. | Details | ||
onColumnResizeStart(event:DataGridEvent):void | Details | ||
onHeaderClicked(event:DataGridEvent):void | Details | ||
onHeaderResize(event:ResizeEvent):void | Details | ||
onHostEvent(event:NavHostEvent):void An event listener to respond to events from the collectionManager. | Details | ||
partAdded(partName:String, instance:Object):void [override] Called when a skin has added a skin part for this instance. | Details | ||
![]() | partRemoved(partName:String, instance:Object):void [override] | NavSkinnableComponent | |
sortChanged(value:Array):void | Details | ||
updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void [override] | Details | ||
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 | ||
|---|---|---|---|---|
detailsCards:DetailsCardList | Required: true Part Type: Static The body portion of the details card list. | Details | ||
detailsHeader:DetailsHeader | Required: true Part Type: Static The header portion of the details card list. | Details | ||
measureCanvas:mx.containers.Canvas | Required: true Part Type: Static A container needed to add an IUITextField for measuring text. When provided, measureField will be created and added to its rawChildren. | Details | ||
| Constant | Defined By | ||
|---|---|---|---|
| collectionMgr : CollectionManager The navigator's CollectionManager instance. | Details | ||
| MAXIMUM_DATA_ITEMS_TO_CHECK : Number = 10 [static] | Details | ||
| PREVIEW_ICON_HEIGHT : Number = 50 [static] | Details | ||
| PREVIEW_ICON_WIDTH : Number = 75 [static] | Details | ||
![]() | STATE_DISABLED : String = disabled [static] | NavSkinnableComponent | |
![]() | STATE_NORMAL : String = normal [static] | NavSkinnableComponent | |
| detailsFields | property |
detailsFields:ArrayListThis property can be used as the source for data binding.
public function get detailsFields():ArrayList public function set detailsFields(value:ArrayList):void| fieldColumnMinWidth | property |
fieldColumnMinWidth:Number [read-only] This property can be used as the source for data binding.
public function get fieldColumnMinWidth():Number| fieldColumnTotalWidth | property |
fieldColumnTotalWidth:Number [read-only] This property can be used as the source for data binding.
public function get fieldColumnTotalWidth():Number| horizontalScrollPosition | property |
horizontalScrollPosition:Number [read-only] A common horizontalScrollPosition used by both the header and card list.
This property can be used as the source for data binding.
public function get horizontalScrollPosition():Number| Details | () | Constructor |
public function Details()| addListenAndWatch | () | method |
override public function addListenAndWatch():void| authoringModeChanged | () | method |
protected function authoringModeChanged(value:Boolean):voidParameters
value:Boolean |
| fieldsChanged | () | method |
protected function fieldsChanged(value:Array):voidParameters
value:Array |
| getFieldColumnWidths | () | method |
public function getFieldColumnWidths():ArrayReturnsArray |
| initializeAccessibility | () | method |
override protected function initializeAccessibility():void| measure | () | method |
override protected function measure():void| onCollectionChange | () | method |
protected function onCollectionChange(event:CollectionEvent):voidAn event listener to respond to events from the current collection.
Parameters
event:CollectionEvent |
| onColumnResizeStart | () | method |
protected function onColumnResizeStart(event:DataGridEvent):voidParameters
event:DataGridEvent |
| onHeaderClicked | () | method |
protected function onHeaderClicked(event:DataGridEvent):voidParameters
event:DataGridEvent |
| onHeaderResize | () | method |
protected function onHeaderResize(event:ResizeEvent):voidParameters
event:ResizeEvent |
| onHostEvent | () | method |
protected function onHostEvent(event:NavHostEvent):voidAn event listener to respond to events from the collectionManager.
Parameters
event:NavHostEvent |
| 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 |
| sortChanged | () | method |
protected function sortChanged(value:Array):voidParameters
value:Array |
| updateDisplayList | () | method |
override protected function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):voidParameters
unscaledWidth:Number | |
unscaledHeight:Number |
| updateFieldOrder | () | method |
public function updateFieldOrder(movedField:IField, afterFieldName:String):voidParameters
movedField:IField | |
afterFieldName:String |
| updateSortOrder | () | method |
public function updateSortOrder(fieldName:String, descending:Boolean):voidParameters
fieldName:String | |
descending:Boolean |
| collectionMgr | Constant |
public const collectionMgr:CollectionManagerThe navigator's CollectionManager instance. All host interaction should go through this instance, rather than the INavigatorHost directly.
| MAXIMUM_DATA_ITEMS_TO_CHECK | Constant |
public static const MAXIMUM_DATA_ITEMS_TO_CHECK:Number = 10| PREVIEW_ICON_HEIGHT | Constant |
public static const PREVIEW_ICON_HEIGHT:Number = 50| PREVIEW_ICON_WIDTH | Constant |
public static const PREVIEW_ICON_WIDTH:Number = 75