org.apache.beehive.netui.tags.tree
Class TreePropertyOverride

Object
  extended by SimpleTagSupport
      extended by AbstractSimpleTag
          extended by TreePropertyOverride
All Implemented Interfaces:
JspTag, SimpleTag, INetuiTag

public class TreePropertyOverride
extends AbstractSimpleTag


Constructor Summary
TreePropertyOverride()
           
 
Method Summary
 void doTag()
          Render this Tree control.
 String getTagName()
          Return the name of the Tag.
 void setDefaultIcon(String defaultIcon)
          Sets the default icon for TreeElements for a blank area of the tree.
 void setExpansionAction(String action)
          Sets the action used for expanding and contracting tree nodes.
 void setImageHandleDownLast(String imageHandleDownLast)
          Sets the image name for an open non-leaf node with no line below it.
 void setImageHandleDownMiddle(String imageHandleDownMiddle)
          Sets the image name for an open non-leaf node with a line below it.
 void setImageHandleRightLast(String imageHandleRightLast)
          Sets the image name for a closed non-leaf node with no line below it.
 void setImageHandleRightMiddle(String imageHandleRightMiddle)
          Sets the image name for a closed non-leaf node with a line below it.
 void setImageLineLast(String imageLineLast)
          Sets the image name for a blank area of the tree.
 void setImageLineMiddle(String imageLineMiddle)
          Sets the image name for an area with a line through it.
 void setImageLineVertical(String imageLineVertical)
          Sets the image name for an area with a line through it.
 void setImageRoot(String imageRoot)
          Sets the name of the directory containing the images for our icons, relative to the page including this tag.
 void setSelectionAction(String action)
          Sets the action used for expanding and contracting tree nodes.
 
Methods inherited from class AbstractSimpleTag
addTagIdMapping, getBufferBody, getInlineError, getPageContext, getScriptReporter, getUserLocale, hasErrors, registerTagError, registerTagError, reportErrors, rewriteName, setNonEmptyValueAttribute, setRequiredValueAttribute, write
 
Methods inherited from class SimpleTagSupport
findAncestorWithClass, getJspBody, getJspContext, getParent, setJspBody, setJspContext, setParent
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TreePropertyOverride

public TreePropertyOverride()
Method Detail

getTagName

public String getTagName()
Return the name of the Tag.

Specified by:
getTagName in interface INetuiTag
Specified by:
getTagName in class AbstractSimpleTag
Returns:
the name of the tag.

setSelectionAction

public void setSelectionAction(String action)
Sets the action used for expanding and contracting tree nodes.

Parameters:
action - - the action

setExpansionAction

public void setExpansionAction(String action)
Sets the action used for expanding and contracting tree nodes.

Parameters:
action - - the action

setImageHandleDownLast

public void setImageHandleDownLast(String imageHandleDownLast)
Sets the image name for an open non-leaf node with no line below it. (Defaults to "handledownlast.gif").

Parameters:
imageHandleDownLast - - the image name (including extension)

setImageHandleDownMiddle

public void setImageHandleDownMiddle(String imageHandleDownMiddle)
Sets the image name for an open non-leaf node with a line below it. (Defaults to "handledownmiddle.gif").

Parameters:
imageHandleDownMiddle - - the image name (including extension)

setImageHandleRightLast

public void setImageHandleRightLast(String imageHandleRightLast)
Sets the image name for a closed non-leaf node with no line below it. (Defaults to "handlerightlast.gif").

Parameters:
imageHandleRightLast - - the image name (including extension)

setImageHandleRightMiddle

public void setImageHandleRightMiddle(String imageHandleRightMiddle)
Sets the image name for a closed non-leaf node with a line below it. (Defaults to "handlerightmiddle.gif").

Parameters:
imageHandleRightMiddle - - the image name (including extension)

setImageLineLast

public void setImageLineLast(String imageLineLast)
Sets the image name for a blank area of the tree. (Defaults to "linelastnode.gif").

Parameters:
imageLineLast - - the image name (including extension)

setDefaultIcon

public void setDefaultIcon(String defaultIcon)
Sets the default icon for TreeElements for a blank area of the tree. (Defaults to "linelastnode.gif").

Parameters:
defaultIcon - - the image name of the defaultIcon

setImageLineMiddle

public void setImageLineMiddle(String imageLineMiddle)
Sets the image name for an area with a line through it. (Defaults to "linemiddlenode.gif").

Parameters:
imageLineMiddle - - the image name (including extension)

setImageLineVertical

public void setImageLineVertical(String imageLineVertical)
Sets the image name for an area with a line through it. (Defaults to "linevertical.gif").

Parameters:
imageLineVertical - - the image name (including extension)

setImageRoot

public void setImageRoot(String imageRoot)
Sets the name of the directory containing the images for our icons, relative to the page including this tag.

Parameters:
imageRoot - - the directory name

doTag

public void doTag()
           throws JspException
Render this Tree control.

Specified by:
doTag in interface SimpleTag
Overrides:
doTag in class SimpleTagSupport
Throws:
JspException - if a processing error occurs