Packagecom.gestureworks.cml.interfaces
Interfacepublic interface IList
Implementors List

Implements lists.



Public Properties
 PropertyDefined By
  currentIndex : int
Returns current list index.
IList
  currentValue : *
[read-only] Returns current list value.
IList
  length : int
[read-only] Returns list length.
IList
Public Methods
 MethodDefined By
  
append(value:*):void
Appends input value to list.
IList
  
getIndex(index:int):*
Returns value by input index
IList
  
insert(index:int, value:*):void
Inserts input value to list.
IList
  
prepend(value:*):void
Prepends input value to list.
IList
  
remove(index:int):void
Removes value from list.
IList
  
search(value:*):int
Returns index by input value.
IList
  
selectIndex(index:int):*
Returns value by input index.
IList
Property Detail
currentIndexproperty
currentIndex:int

Returns current list index.


Implementation
    public function get currentIndex():int
    public function set currentIndex(value:int):void
currentValueproperty 
currentValue:*  [read-only]

Returns current list value.


Implementation
    public function get currentValue():*
lengthproperty 
length:int  [read-only]

Returns list length.


Implementation
    public function get length():int
Method Detail
append()method
public function append(value:*):void

Appends input value to list.

Parameters

value:*

getIndex()method 
public function getIndex(index:int):*

Returns value by input index

Parameters

index:int

Returns
* — value
insert()method 
public function insert(index:int, value:*):void

Inserts input value to list. The indices ajust accordingly.

Parameters

index:int
 
value:*

prepend()method 
public function prepend(value:*):void

Prepends input value to list.

Parameters

value:*

remove()method 
public function remove(index:int):void

Removes value from list. The indices ajust accordingly.

Parameters

index:int

search()method 
public function search(value:*):int

Returns index by input value.

Parameters

value:*

Returns
int — index
selectIndex()method 
public function selectIndex(index:int):*

Returns value by input index.

Parameters

index:int

Returns
* — value