1HTMLDocument.getListItem(3kayaK)aya module referenHcTeMLDocument.getListItem(3kaya)
2
3
4

NAME

6       HTMLDocument::getListItem - Retrieve a list item
7

SYNOPSIS

9       ElementTree getListItem( ElementTree list, Int index )
10

ARGUMENTS

12       list The list to search
13
14       index The index to retrieve (starting at zero)
15

DESCRIPTION

17       Gets  the  list item within a list at the specified index. If the index
18       given is not in the list, an Array.OutOfBounds (3kaya)  Exception  will
19       be  thrown.  If  the  list  given  is  not actually a list, a HTMLDocu‐
20       ment.RequiresElement (3kaya) Exception is thrown.
21
22
23    list = addList(parent,Unordered,10);
24    for i in [0..9] {
25       item = getListItem(list,i);
26       addString(item,"This is item "+(i+1));
27    }
28

AUTHORS

30       Kaya  standard  library  by  Edwin  Brady,  Chris  Morris  and   others
31       (kaya@kayalang.org). For further information see http://kayalang.org/
32

LICENSE

34       The  Kaya  standard  library  is free software; you can redistribute it
35       and/or modify it under the terms  of  the  GNU  Lesser  General  Public
36       License  (version  2.1  or  any later version) as published by the Free
37       Software Foundation.
38
40       HTMLDocument.addList (3kaya)
41       HTMLDocument.addListItem (3kaya)
42       HTMLDocument.pushListItem (3kaya)
43
44
45
46Kaya                             December 2010 HTMLDocument.getListItem(3kaya)
Impressum