|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openxava.web.editors.TreeViewReaderImpl
public class TreeViewReaderImpl
Implements the Tree view reader
| Constructor Summary | |
|---|---|
TreeViewReaderImpl()
|
|
| Method Summary | |
|---|---|
void |
close()
Ends the process of reading |
java.lang.Object |
getObjectAt(int rowIndex)
Returns the object representing the column |
java.lang.Object |
getValueAt(int rowIndex,
int columnIndex)
Retrieves the object value found at row / column |
void |
initialize(java.lang.String parentModelName,
java.util.Map parentKey,
java.lang.String collectionModelName,
java.util.Map[] allKeys,
java.lang.String[] columnNames)
Initializes the reader |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TreeViewReaderImpl()
| Method Detail |
|---|
public void initialize(java.lang.String parentModelName,
java.util.Map parentKey,
java.lang.String collectionModelName,
java.util.Map[] allKeys,
java.lang.String[] columnNames)
ITreeViewReader
initialize in interface ITreeViewReaderparentModelName - name of the parent model of the collectionparentKey - key for the parent objectcollectionModelName - name of the collection modelallKeys - all the keys to be read from the collectioncolumnNames - name of the columns in their column order.org.openxava.web.editors.ITreeViewReader#initialize(java.lang.String, java.lang.String[], java.util.Map, java.util.Map[])
public void close()
throws java.lang.Exception
ITreeViewReader
close in interface ITreeViewReaderjava.lang.ExceptionITreeViewReader.close()
public java.lang.Object getObjectAt(int rowIndex)
throws java.lang.Exception
ITreeViewReader
getObjectAt in interface ITreeViewReaderrowIndex - index of the row to read
java.lang.Exceptionorg.openxava.web.editors.ITreeViewReader#getRowObject()
public java.lang.Object getValueAt(int rowIndex,
int columnIndex)
throws java.lang.Exception
ITreeViewReader
getValueAt in interface ITreeViewReaderjava.lang.ExceptionITreeViewReader.getValueAt(int, int)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||