jlist








jlist




function asd()
{
parent.document.title="jlist";
}




Documentation Contents








Overview 
File 
 Class 
Tree 

Index 
Help 




jrunscript JavaScript built-ins





 PREV CLASS
 NEXT CLASS

FRAMES  
 NO FRAMES  
 




All Classes





SUMMARY: FIELD | CONSTR | METHOD

DETAIL: FIELD | CONSTR | METHOD






Class jlist
Object
|
+--jlist






class
jlist





Defined in init.js























Constructor Summary





jlist

(list)


           
Creates a convenient script object to deal with java.util.List instances.






 




















Constructor Detail





jlist
jlist(list)



Creates a convenient script object to deal with java.util.List instances.
The result script object behaves like an array. For example,
scriptObj[index] syntax can be used to access values in the List instance.
'length' field gives size of the List.

Example:


var x = new java.util.ArrayList(4);
x.add('Java');
x.add('JavaScript');
x.add('SQL');
x.add('XML');

var y = jlist(x);
print(y[2]); // prints third element of list
print(y.length); // prints size of the list





Parameters:

map - java.util.List instance that will be wrapped

































Overview 
File 
 Class 
Tree 

Index 
Help 




jrunscript JavaScript built-ins





 PREV CLASS
 NEXT CLASS

FRAMES  
 NO FRAMES  
 




All Classes





SUMMARY: FIELD | CONSTR | METHOD

DETAIL: FIELD | CONSTR | METHOD









Documentation generated by JSDoc on Wed Jun 8 13:29:43 2005




Copyright © 1995-2010 Sun Microsystems, Inc. All Rights Reserved. Please send comments using this Feedback page.

Java Technology








Wyszukiwarka

Podobne podstrony:
JList AccessibleJList AccessibleJListChild
JList AccessibleJList AccessibleJListChild
JList
JList AccessibleJList
JList DropLocation
JList
JList AccessibleJList
JList DropLocation

więcej podobnych podstron