|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sri.emo.controller.ViewNodeAsTree
public class ViewNodeAsTree
This is a state handler that renders the node into a javascript-based tree menu.
| Field Summary | |
|---|---|
static String |
PARAM_COLLAPSE_ALL
Parameter for collapse all command. |
static String |
PARAM_EXPAND_ALL
Parameter for expand all comand. |
static String |
TREE_VIEW_ATTRIBUTE
The attribute in the request where the tree view data structure is stored. |
| Constructor Summary | |
|---|---|
ViewNodeAsTree(Node nodeToRender)
Constructor that takes the node to render as a parameter. |
|
| Method Summary | |
|---|---|
void |
handleRequest(ExpressoRequest request,
ExpressoResponse response)
Called to handle the request. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String TREE_VIEW_ATTRIBUTE
public static final String PARAM_EXPAND_ALL
public static final String PARAM_COLLAPSE_ALL
| Constructor Detail |
|---|
public ViewNodeAsTree(Node nodeToRender)
nodeToRender - Node the node to render, must not be null.| Method Detail |
|---|
public void handleRequest(ExpressoRequest request,
ExpressoResponse response)
throws DBException,
ControllerException
handleRequest in interface StateHandlerrequest - ExpressoRequest The Function's ExpressoRequest
object.response - ExpressoResponse The Function's ExpressoResponse
object.
DBException - upon underlying database exception error.
ControllerException - upon underlying ControllerException error.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||