Packagecom.yworks.util
Classpublic class WrappingCollectionModel
InheritanceWrappingCollectionModel Inheritance CompositeCollectionModel Inheritance com.yworks.support.EventDispatchingProxy

Wraps the provided collection model in order to add write support to a otherwise non-writable ICollectionModel implementation (e.g. CompositeCollectionModel).



Public Methods
 MethodDefined By
  
WrappingCollectionModel
  
addAll(iter:Iterable):void
[override] This implementation does not allow to add or remove items.
WrappingCollectionModel
  
addItem(item:Object):Boolean
[override] This implementation does not allow to add or remove items.
WrappingCollectionModel
 Inherited
clear():void
Removes all of the elements from this collection.
CompositeCollectionModel
 Inherited
contains(item:Object):Boolean
Returns true if this collection contains the specified element.
CompositeCollectionModel
 Inherited
dispose():void
CompositeCollectionModel
 Inherited
getItemAt(index:int):Object
Returns the element at the specified position in this collection.
CompositeCollectionModel
 Inherited
isEmpty():Boolean
CompositeCollectionModel
 Inherited
Returns an iterator over a set of elements.
CompositeCollectionModel
 Inherited
length():uint
Returns the number of elements in this collection.
CompositeCollectionModel
  
removeItem(item:Object):Boolean
[override] This implementation does not allow to add or remove items.
WrappingCollectionModel
 Inherited
toArray():Array
Returns an array containing all of the elements in this collection.
CompositeCollectionModel
Constructor Detail
WrappingCollectionModel()Constructor
public function WrappingCollectionModel(wrapped:ICollectionModel)



Parameters
wrapped:ICollectionModel
Method Detail
addAll()method
override public function addAll(iter:Iterable):void

This implementation does not allow to add or remove items.

Parameters

iter:Iterable

addItem()method 
override public function addItem(item:Object):Boolean

This implementation does not allow to add or remove items.

Parameters

item:Object

Returns
Boolean
removeItem()method 
override public function removeItem(item:Object):Boolean

This implementation does not allow to add or remove items.

Parameters

item:Object

Returns
Boolean