| Package | graphics.transitions |
| Class | public class TweenBuffer |
| Inheritance | TweenBuffer Object |
| Implements | Iterable |
| Method | Defined By | ||
|---|---|---|---|
TweenBuffer(entries:Array = null)
Creates a new TweenBuffer instance. | TweenBuffer | ||
add(entry:TweenEntry):Boolean
Inserts a new TweenEntry in the buffer. | TweenBuffer | ||
clear():void
Removes all elements register in the buffer. | TweenBuffer | ||
clone():*
Returns a shallow copy of this object. | TweenBuffer | ||
contains(prop:String):Boolean
Returns true if the specified property exist in this buffer. | TweenBuffer | ||
get(prop:String):TweenEntry
Returns the specified TweenEntry reference. | TweenBuffer | ||
getProperties():Array
Returns the Array representation of all property names in this buffer. | TweenBuffer | ||
Returns an iterator of this buffer. | TweenBuffer | ||
remove(entry:*):Boolean
Removes an entry in the model. | TweenBuffer | ||
size():Number
Returns the number of elements in the buffer. | TweenBuffer | ||
toArray():Array
Returns the Array representation of all TweenEntry objects in this buffer. | TweenBuffer | ||
Returns the Map representation of all TweenEntry objects in this buffer. | TweenBuffer | ||
toString():String
Returns the String representation of this object. | TweenBuffer | ||
| TweenBuffer | () | Constructor |
public function TweenBuffer(entries:Array = null)Creates a new TweenBuffer instance.
Parametersentries:Array (default = null) — The array to initialize the model with some TweenEntry objects. All no TweenEntry objects are ignored.
|
| add | () | method |
public function add(entry:TweenEntry):BooleanInserts a new TweenEntry in the buffer.
Parameters
entry:TweenEntry |
Boolean |
| clear | () | method |
public function clear():voidRemoves all elements register in the buffer.
| clone | () | method |
public function clone():*Returns a shallow copy of this object. This method keep all Tween entries and the id of the original object.
var model:TweenBuffer = new TweenBuffer() ;
var clone:TweenBuffer = model.clone() as TweenBuffer ;
Returns* — A shallow copy of this object.
|
| contains | () | method |
public function contains(prop:String):Boolean
Returns true if the specified property exist in this buffer.
Parameters
prop:String |
Boolean — true if the specified property exist in this buffer.
|
| get | () | method |
public function get(prop:String):TweenEntryReturns the specified TweenEntry reference.
Parameters
prop:String |
TweenEntry — the specified TweenEntry reference.
|
| getProperties | () | method |
public function getProperties():ArrayReturns the Array representation of all property names in this buffer.
ReturnsArray — the Array representation of all property names in this buffer.
|
| iterator | () | method |
public function iterator():IteratorReturns an iterator of this buffer.
ReturnsIterator — an iterator of this buffer.
|
| remove | () | method |
public function remove(entry:*):BooleanRemoves an entry in the model.
Parameters
entry:* |
Boolean |
| size | () | method |
public function size():NumberReturns the number of elements in the buffer.
ReturnsNumber — the number of elements in the buffer.
|
| toArray | () | method |
public function toArray():ArrayReturns the Array representation of all TweenEntry objects in this buffer.
ReturnsArray — the Array representation of all TweenEntry objects in this buffer.
|
| toMap | () | method |
public function toMap():MapReturns the Map representation of all TweenEntry objects in this buffer.
ReturnsMap — the Map representation of all TweenEntry objects in this buffer.
|
| toString | () | method |
public function toString():StringReturns the String representation of this object.
ReturnsString — the String representation of this object.
|