-
public class DrawingPlanIterator extends Iterator
-
-
Constructor Summary
Constructors Constructor Description DrawingPlanIterator(String jsChart)
-
Method Summary
Modifier and Type Method Description static DrawingPlanIteratorinstantiate()StringgetJsBase()voidadvance()Advances the iterator to the next item. voidget(String fieldName)Gets the value from the current row by the field name. voidgetIndex()Returns the index of the item to which iterator points to. voidgetRowsCount()Returns the number of rows in the view. voidmeta(String name)Gets the metadata value by the field name. DrawingPlanIteratormeta(String name, String value)Sets metadata value by the field name. DrawingPlanIteratorreset()Resets the data iterator to its zero state (before the first item of the view). voidselect(Number index)Sets a passed index as the current index and returns it in case of success. -
-
Constructor Detail
-
DrawingPlanIterator
DrawingPlanIterator(String jsChart)
-
-
Method Detail
-
instantiate
static DrawingPlanIterator instantiate()
-
advance
void advance()
Advances the iterator to the next item.
-
getIndex
void getIndex()
Returns the index of the item to which iterator points to.
-
getRowsCount
void getRowsCount()
Returns the number of rows in the view.
-
meta
DrawingPlanIterator meta(String name, String value)
Sets metadata value by the field name.
-
reset
DrawingPlanIterator reset()
Resets the data iterator to its zero state (before the first item of the view).
-
-
-
-