public List < T > getItems ( ) { JsArray < JavaScriptObject > js_items = getItems ( getElement ( ) ) ; List < T > items = new ArrayList < T > ( ) ; for ( int i = 0 ; i < js_items . length ( ) ; i ++ ) { @ SuppressWarnings ( "unchecked" ) T item = ( T ) js_items . get ( i ) ; items . add ( item ) ; } return items ; }
Returns list of items contained in the