FileDocCategorySizeDatePackage
TreeTag.javaAPI DocExample8910Mon Jul 23 13:26:48 BST 2007org.apache.struts2.views.jsp.ui

TreeTag

public class TreeTag extends AbstractClosingTag
see
Tree

Fields Summary
private static final long
serialVersionUID
private String
toggle
private String
treeSelectedTopic
private String
treeExpandedTopic
private String
treeCollapsedTopic
private String
rootNode
private String
childCollectionProperty
private String
nodeTitleProperty
private String
nodeIdProperty
private String
showRootGrid
private String
showGrid
private String
blankIconSrc
private String
gridIconSrcL
private String
gridIconSrcV
private String
gridIconSrcP
private String
gridIconSrcC
private String
gridIconSrcX
private String
gridIconSrcY
private String
expandIconSrcPlus
private String
expandIconSrcMinus
private String
iconWidth
private String
iconHeight
private String
toggleDuration
private String
templateCssPath
Constructors Summary
Methods Summary
public org.apache.struts2.components.ComponentgetBean(com.opensymphony.xwork2.util.ValueStack stack, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res)



            
        return new Tree(stack,req,res);
    
public java.lang.StringgetBlankIconSrc()

        return blankIconSrc;
    
public java.lang.StringgetChildCollectionProperty()

        return childCollectionProperty;
    
public java.lang.StringgetExpandIconSrcMinus()

        return expandIconSrcMinus;
    
public java.lang.StringgetExpandIconSrcPlus()

        return expandIconSrcPlus;
    
public java.lang.StringgetGridIconSrcC()

        return gridIconSrcC;
    
public java.lang.StringgetGridIconSrcL()

        return gridIconSrcL;
    
public java.lang.StringgetGridIconSrcP()

        return gridIconSrcP;
    
public java.lang.StringgetGridIconSrcV()

        return gridIconSrcV;
    
public java.lang.StringgetGridIconSrcX()

        return gridIconSrcX;
    
public java.lang.StringgetGridIconSrcY()

        return gridIconSrcY;
    
public java.lang.StringgetIconHeight()

        return iconHeight;
    
public java.lang.StringgetIconWidth()

        return iconWidth;
    
public java.lang.StringgetNodeIdProperty()

        return nodeIdProperty;
    
public java.lang.StringgetNodeTitleProperty()

        return nodeTitleProperty;
    
public java.lang.StringgetRootNode()

        return rootNode;
    
public java.lang.StringgetShowGrid()

        return showGrid;
    
public java.lang.StringgetShowRootGrid()

        return showRootGrid;
    
public java.lang.StringgetTemplateCssPath()

        return templateCssPath;
    
public java.lang.StringgetToggle()

        return toggle;
    
public java.lang.StringgetToggleDuration()

        return toggleDuration;
    
public java.lang.StringgetTreeCollapsedTopic()

        return treeCollapsedTopic;
    
public java.lang.StringgetTreeExpandedTopic()

        return treeExpandedTopic;
    
public java.lang.StringgetTreeSelectedTopic()

        return treeSelectedTopic;
    
protected voidpopulateParams()

        super.populateParams();

        Tree tree = (Tree) component;
        if (childCollectionProperty != null)
            tree.setChildCollectionProperty(childCollectionProperty);
        if (nodeIdProperty != null)
            tree.setNodeIdProperty(nodeIdProperty);
        if (nodeTitleProperty != null)
            tree.setNodeTitleProperty(nodeTitleProperty);
        if (rootNode != null)
            tree.setRootNode(rootNode);
        if (toggle != null)
            tree.setToggle(toggle);
        if (treeCollapsedTopic != null)
            tree.setTreeCollapsedTopic(treeCollapsedTopic);
        if (treeExpandedTopic != null)
            tree.setTreeExpandedTopic(treeExpandedTopic);
        if (treeSelectedTopic != null)
            tree.setTreeSelectedTopic(treeSelectedTopic);
        if (showRootGrid != null)
            tree.setShowRootGrid(showRootGrid);

        if (showGrid != null)
            tree.setShowGrid(showGrid);
        if (blankIconSrc != null)
            tree.setBlankIconSrc(blankIconSrc);
        if (gridIconSrcL != null)
            tree.setGridIconSrcL(gridIconSrcC);
        if (gridIconSrcV != null)
            tree.setGridIconSrcV(gridIconSrcV);
        if (gridIconSrcP != null)
            tree.setGridIconSrcP(gridIconSrcP);
        if (gridIconSrcC != null)
            tree.setGridIconSrcC(gridIconSrcC);
        if (gridIconSrcX != null)
            tree.setGridIconSrcX(gridIconSrcX);
        if (gridIconSrcY != null)
            tree.setGridIconSrcY(gridIconSrcY);
        if (expandIconSrcPlus != null)
            tree.setExpandIconSrcPlus(expandIconSrcPlus);
        if (expandIconSrcMinus != null)
            tree.setExpandIconSrcMinus(expandIconSrcMinus);
        if (iconWidth != null)
            tree.setIconWidth(iconWidth);
        if (iconHeight != null)
            tree.setIconHeight(iconHeight);
        if (toggleDuration != null)
            tree.setToggleDuration(toggleDuration);
        if (templateCssPath != null)
            tree.setTemplateCssPath(templateCssPath);
    
public voidsetBlankIconSrc(java.lang.String blankIconSrc)

        this.blankIconSrc = blankIconSrc;
    
public voidsetChildCollectionProperty(java.lang.String childCollectionProperty)

        this.childCollectionProperty = childCollectionProperty;
    
public voidsetExpandIconSrcMinus(java.lang.String expandIconSrcMinus)

        this.expandIconSrcMinus = expandIconSrcMinus;
    
public voidsetExpandIconSrcPlus(java.lang.String expandIconSrcPlus)

        this.expandIconSrcPlus = expandIconSrcPlus;
    
public voidsetGridIconSrcC(java.lang.String gridIconSrcC)

        this.gridIconSrcC = gridIconSrcC;
    
public voidsetGridIconSrcL(java.lang.String gridIconSrcL)

        this.gridIconSrcL = gridIconSrcL;
    
public voidsetGridIconSrcP(java.lang.String gridIconSrcP)

        this.gridIconSrcP = gridIconSrcP;
    
public voidsetGridIconSrcV(java.lang.String gridIconSrcV)

        this.gridIconSrcV = gridIconSrcV;
    
public voidsetGridIconSrcX(java.lang.String gridIconSrcX)

        this.gridIconSrcX = gridIconSrcX;
    
public voidsetGridIconSrcY(java.lang.String gridIconSrcY)

        this.gridIconSrcY = gridIconSrcY;
    
public voidsetIconHeight(java.lang.String iconHeight)

        this.iconHeight = iconHeight;
    
public voidsetIconWidth(java.lang.String iconWidth)

        this.iconWidth = iconWidth;
    
public voidsetNodeIdProperty(java.lang.String nodeIdProperty)

        this.nodeIdProperty = nodeIdProperty;
    
public voidsetNodeTitleProperty(java.lang.String nodeTitleProperty)

        this.nodeTitleProperty = nodeTitleProperty;
    
public voidsetRootNode(java.lang.String rootNode)

        this.rootNode = rootNode;
    
public voidsetShowGrid(java.lang.String showGrid)

        this.showGrid = showGrid;
    
public voidsetShowRootGrid(java.lang.String showRootGrid)

        this.showRootGrid = showRootGrid;
    
public voidsetTemplateCssPath(java.lang.String templateCssPath)

        this.templateCssPath = templateCssPath;
    
public voidsetToggle(java.lang.String toggle)

        this.toggle = toggle;
    
public voidsetToggleDuration(java.lang.String toggleDuration)

        this.toggleDuration = toggleDuration;
    
public voidsetTreeCollapsedTopic(java.lang.String treeCollapsedTopic)

        this.treeCollapsedTopic = treeCollapsedTopic;
    
public voidsetTreeExpandedTopic(java.lang.String treeExpandedTopic)

        this.treeExpandedTopic = treeExpandedTopic;
    
public voidsetTreeSelectedTopic(java.lang.String treeSelectedTopic)

        this.treeSelectedTopic = treeSelectedTopic;