|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openxava.web.editors.TreeViewParser
public class TreeViewParser
Parse the tree view and produces a javascript snippet.
| Field Summary | |
|---|---|
static java.lang.String |
XAVA_TREE_VIEW_NODE_FULL_PATH
|
static java.lang.String |
XAVA_TREE_VIEW_PARSER
|
| Constructor Summary | |
|---|---|
TreeViewParser()
Default constructor |
|
| Method Summary | |
|---|---|
void |
createMetaTreeView(Tab tab,
java.lang.String viewObject,
java.lang.String collectionName,
Style style,
Messages errors)
Creates the MetaTreeView for later use |
TreeView |
getMetaTreeView(java.lang.String modelName)
Returns the saved metaTreeView |
java.util.Map<java.lang.String,TreeView> |
getMetaTreeViews()
Returns the metaTreeviews Map that stores the already processed Metatreeview. |
java.lang.String[] |
parse(java.lang.String modelName)
Creates the treeview script to be used in the jsp page |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String XAVA_TREE_VIEW_PARSER
public static final java.lang.String XAVA_TREE_VIEW_NODE_FULL_PATH
| Constructor Detail |
|---|
public TreeViewParser()
| Method Detail |
|---|
public void createMetaTreeView(Tab tab,
java.lang.String viewObject,
java.lang.String collectionName,
Style style,
Messages errors)
throws java.lang.Exception
tab - Tab object containing model, TableModel, etc.viewObject - Visible objectcollectionName - Name of the collectionstyle - Display styleerrors - Errors message container
java.lang.Exceptionpublic TreeView getMetaTreeView(java.lang.String modelName)
modelName - name of the model
public java.lang.String[] parse(java.lang.String modelName)
throws java.lang.Exception
modelName - name of the model to render
java.lang.Exceptionpublic java.util.Map<java.lang.String,TreeView> getMetaTreeViews()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||