Package org.openxava.web.editors
Class TreeViewReaderImpl
java.lang.Object
org.openxava.web.editors.TreeViewReaderImpl
- All Implemented Interfaces:
ITreeViewReader
Implements the Tree view reader
- Author:
- Federico Alcantara
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()Ends the process of readinggetObjectAt(int rowIndex) Returns the object representing the columnvoidinitialize(String parentModelName, Map parentKey, String collectionModelName, Map[] allKeys) Initializes the reader
-
Constructor Details
-
TreeViewReaderImpl
public TreeViewReaderImpl()
-
-
Method Details
-
initialize
public void initialize(String parentModelName, Map parentKey, String collectionModelName, Map[] allKeys) Description copied from interface:ITreeViewReaderInitializes the reader- Specified by:
initializein interfaceITreeViewReader- Parameters:
parentModelName- 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 collection- See Also:
-
org.openxava.web.editors.ITreeViewReader#initialize(java.lang.String, java.lang.String[], java.util.Map, java.util.Map[])
-
close
Description copied from interface:ITreeViewReaderEnds the process of reading- Specified by:
closein interfaceITreeViewReader- Throws:
Exception- See Also:
-
getObjectAt
Description copied from interface:ITreeViewReaderReturns the object representing the column- Specified by:
getObjectAtin interfaceITreeViewReader- Parameters:
rowIndex- index of the row to read- Returns:
- Throws:
Exception- See Also:
-
org.openxava.web.editors.ITreeViewReader#getRowObject()
-