Packagecom.adobe.portfolio.utils
Classpublic class AttachmentCollection
InheritanceAttachmentCollection Inheritance mx.collections.ListCollectionView

Language Version : ActionScript 3.0
Product Version : Portfolio 10.0
Runtime Versions : Flash Player 10.1, AIR 2.0

The AttachmentCollection class extends ListCollectionView to support a collection of IAttachment objects. Its source list can be changed dynamically so that the same object can effectively be redirected to different collections with minimal overhead for clients.



Public Properties
 PropertyDefined By
  hostItems : IList
[write-only]
AttachmentCollection
Public Methods
 MethodDefined By
  
AttachmentCollection(source:IList = null)
AttachmentCollection
Protected Methods
 MethodDefined By
  
AttachmentCollection
  
onHostItemsChanged(evt:CollectionEvent):void
Listens for changes to the hostItems, and propogates them to this collection.
AttachmentCollection
  
onOurItemsChanged(evt:CollectionEvent):void
Listens for changes to ourselves so that we can add field listeners.
AttachmentCollection
Property Detail
hostItemsproperty
hostItems:IList  [write-only]


Implementation
    public function set hostItems(value:IList):void
Constructor Detail
AttachmentCollection()Constructor
public function AttachmentCollection(source:IList = null)



Parameters
source:IList (default = null)
Method Detail
onFieldValueChanged()method
protected function onFieldValueChanged(evt:FieldValueChangedEvent):void

Parameters

evt:FieldValueChangedEvent

onHostItemsChanged()method 
protected function onHostItemsChanged(evt:CollectionEvent):void

Listens for changes to the hostItems, and propogates them to this collection.

Parameters

evt:CollectionEvent

onOurItemsChanged()method 
protected function onOurItemsChanged(evt:CollectionEvent):void

Listens for changes to ourselves so that we can add field listeners.

Parameters

evt:CollectionEvent