Package | com.gestureworks.cml.interfaces |
Interface | public interface IList |
Implementors | List |
Property | Defined By | ||
---|---|---|---|
currentIndex : int
Returns current list index. | IList | ||
currentValue : * [read-only]
Returns current list value. | IList | ||
length : int [read-only]
Returns list length. | IList |
Method | Defined 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 |
currentIndex | property |
currentIndex:int
Returns current list index.
public function get currentIndex():int
public function set currentIndex(value:int):void
currentValue | property |
currentValue:*
[read-only] Returns current list value.
public function get currentValue():*
length | property |
length:int
[read-only] Returns list length.
public function get length():int
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 |
* — 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:* |
int — index
|
selectIndex | () | method |
public function selectIndex(index:int):*
Returns value by input index.
Parameters
index:int |
* — value
|