com.sun.rave.web.ui.component.util.handlers
Class TreeHandlers

java.lang.Object
  extended by com.sun.rave.web.ui.component.util.handlers.TreeHandlers

public class TreeHandlers
extends java.lang.Object

This class contains Handler methods that perform Tree and TreeNode specific functions.


Field Summary
static java.lang.String CURRENT_NODE
           This constant defines the input parameter key used to pass in the TreeNode.
 
Constructor Summary
TreeHandlers()
           Default Constructor.
 
Method Summary
 void decodeTree(HandlerContext context)
           This method provides the decode() functionality for the Tree.
 void getImageKeys(HandlerContext context)
           This Handler creates a List of image theme icons that should be rendered from left to right representing the lines and other images that create a portion of the tree.
 void selectTreeNode(HandlerContext context)
           This Handler selects the specified TreeNode.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CURRENT_NODE

public static final java.lang.String CURRENT_NODE

This constant defines the input parameter key used to pass in the TreeNode. ("node")

See Also:
Constant Field Values
Constructor Detail

TreeHandlers

public TreeHandlers()

Default Constructor.

Method Detail

getImageKeys

public void getImageKeys(HandlerContext context)

This Handler creates a List of image theme icons that should be rendered from left to right representing the lines and other images that create a portion of the tree.

Parameters:
context - The HandlerContext.

selectTreeNode

public void selectTreeNode(HandlerContext context)

This Handler selects the specified TreeNode. The previous selection (if any) will be unselected.

Parameters:
context - The HandlerContext.

decodeTree

public void decodeTree(HandlerContext context)

This method provides the decode() functionality for the Tree.

Parameters:
context - The HandlerContext.