Methods Summary |
---|
protected void | evaluateExtraParams()
super.evaluateExtraParams();
if (toggle != null) {
addParameter("toggle", findString(toggle));
}
if (treeSelectedTopic != null) {
addParameter("treeSelectedTopic", findString(treeSelectedTopic));
}
if (treeExpandedTopic != null) {
addParameter("treeExpandedTopic", findString(treeExpandedTopic));
}
if (treeCollapsedTopic != null) {
addParameter("treeCollapsedTopic", findString(treeCollapsedTopic));
}
if (rootNodeAttr != null) {
addParameter("rootNode", findValue(rootNodeAttr));
}
if (childCollectionProperty != null) {
addParameter("childCollectionProperty", findString(childCollectionProperty));
}
if (nodeTitleProperty != null) {
addParameter("nodeTitleProperty", findString(nodeTitleProperty));
}
if (nodeIdProperty != null) {
addParameter("nodeIdProperty", findString(nodeIdProperty));
}
if (showRootGrid != null) {
addParameter("showRootGrid", findValue(showRootGrid, Boolean.class));
}
if (showGrid != null) {
addParameter("showGrid", findValue(showGrid, Boolean.class));
}
if (blankIconSrc != null) {
addParameter("blankIconSrc", findString(blankIconSrc));
}
if (gridIconSrcL != null) {
addParameter("gridIconSrcL", findString(gridIconSrcL));
}
if (gridIconSrcV != null) {
addParameter("gridIconSrcV", findString(gridIconSrcV));
}
if (gridIconSrcP != null) {
addParameter("gridIconSrcP", findString(gridIconSrcP));
}
if (gridIconSrcC != null) {
addParameter("gridIconSrcC", findString(gridIconSrcC));
}
if (gridIconSrcX != null) {
addParameter("gridIconSrcX", findString(gridIconSrcX));
}
if (gridIconSrcY != null) {
addParameter("gridIconSrcY", findString(gridIconSrcY));
}
if (expandIconSrcPlus != null) {
addParameter("expandIconSrcPlus", findString(expandIconSrcPlus));
}
if (expandIconSrcMinus != null) {
addParameter("expandIconSrcMinus", findString(expandIconSrcMinus));
}
if (iconWidth != null) {
addParameter("iconWidth", findValue(iconWidth, Integer.class));
}
if (iconHeight != null) {
addParameter("iconHeight", findValue(iconHeight, Integer.class));
}
if (toggleDuration != null) {
addParameter("toggleDuration", findValue(toggleDuration, Integer.class));
}
if (templateCssPath != null) {
addParameter("templateCssPath", findString(templateCssPath));
}
|
public java.lang.String | getBlankIconSrc()
return blankIconSrc;
|
public java.lang.String | getChildCollectionProperty()
return childCollectionProperty;
|
public java.lang.String | getDefaultOpenTemplate()
return OPEN_TEMPLATE;
|
protected java.lang.String | getDefaultTemplate()
return TEMPLATE;
|
public java.lang.String | getExpandIconSrcMinus()
return expandIconSrcMinus;
|
public java.lang.String | getExpandIconSrcPlus()
return expandIconSrcPlus;
|
public java.lang.String | getGridIconSrcC()
return gridIconSrcC;
|
public java.lang.String | getGridIconSrcL()
return gridIconSrcL;
|
public java.lang.String | getGridIconSrcP()
return gridIconSrcP;
|
public java.lang.String | getGridIconSrcV()
return gridIconSrcV;
|
public java.lang.String | getGridIconSrcX()
return gridIconSrcX;
|
public java.lang.String | getGridIconSrcY()
return gridIconSrcY;
|
public java.lang.String | getIconHeight()
return iconHeight;
|
public java.lang.String | getIconWidth()
return iconWidth;
|
public java.lang.String | getNodeIdProperty()
return nodeIdProperty;
|
public java.lang.String | getNodeTitleProperty()
return nodeTitleProperty;
|
public java.lang.String | getRootNode()
return rootNodeAttr;
|
public java.lang.String | getShowGrid()
return showGrid;
|
public java.lang.String | getShowRootGrid()
return showRootGrid;
|
public java.lang.String | getTemplateCssPath()
return templateCssPath;
|
public java.lang.String | getToggle()
return toggle;
|
public java.lang.String | getToggleDuration()
return toggleDuration;
|
public java.lang.String | getTreeCollapsedTopic()
return treeCollapsedTopic;
|
public java.lang.String | getTreeExpandedTopic()
return treeExpandedTopic;
|
public java.lang.String | getTreeSelectedTopic()
return treeSelectedTopic;
|
public void | setBlankIconSrc(java.lang.String blankIconSrc)
this.blankIconSrc = blankIconSrc;
|
public void | setChildCollectionProperty(java.lang.String childCollectionProperty)
this.childCollectionProperty = childCollectionProperty;
|
public void | setExpandIconSrcMinus(java.lang.String expandIconSrcMinus)
this.expandIconSrcMinus = expandIconSrcMinus;
|
public void | setExpandIconSrcPlus(java.lang.String expandIconSrcPlus)
this.expandIconSrcPlus = expandIconSrcPlus;
|
public void | setGridIconSrcC(java.lang.String gridIconSrcC)
this.gridIconSrcC = gridIconSrcC;
|
public void | setGridIconSrcL(java.lang.String gridIconSrcL)
this.gridIconSrcL = gridIconSrcL;
|
public void | setGridIconSrcP(java.lang.String gridIconSrcP)
this.gridIconSrcP = gridIconSrcP;
|
public void | setGridIconSrcV(java.lang.String gridIconSrcV)
this.gridIconSrcV = gridIconSrcV;
|
public void | setGridIconSrcX(java.lang.String gridIconSrcX)
this.gridIconSrcX = gridIconSrcX;
|
public void | setGridIconSrcY(java.lang.String gridIconSrcY)
this.gridIconSrcY = gridIconSrcY;
|
public void | setIconHeight(java.lang.String iconHeight)
this.iconHeight = iconHeight;
|
public void | setIconWidth(java.lang.String iconWidth)
this.iconWidth = iconWidth;
|
public void | setNodeIdProperty(java.lang.String nodeIdProperty)
this.nodeIdProperty = nodeIdProperty;
|
public void | setNodeTitleProperty(java.lang.String nodeTitleProperty)
this.nodeTitleProperty = nodeTitleProperty;
|
public void | setRootNode(java.lang.String rootNode)
this.rootNodeAttr = rootNode;
|
public void | setShowGrid(java.lang.String showGrid)
this.showGrid = showGrid;
|
public void | setShowRootGrid(java.lang.String showRootGrid)
this.showRootGrid = showRootGrid;
|
public void | setTemplateCssPath(java.lang.String templateCssPath)
this.templateCssPath = templateCssPath;
|
public void | setToggle(java.lang.String toggle)
this.toggle = toggle;
|
public void | setToggleDuration(java.lang.String toggleDuration)
this.toggleDuration = toggleDuration;
|
public void | setTreeCollapsedTopic(java.lang.String treeCollapsedTopic)
this.treeCollapsedTopic = treeCollapsedTopic;
|
public void | setTreeExpandedTopic(java.lang.String treeExpandedTopic)
this.treeExpandedTopic = treeExpandedTopic;
|
public void | setTreeSelectedTopic(java.lang.String treeSelectedTopic)
this.treeSelectedTopic = treeSelectedTopic;
|
public boolean | start(java.io.Writer writer)
boolean result = super.start(writer);
if (this.label == null) {
if ((rootNodeAttr == null)
|| (childCollectionProperty == null)
|| (nodeTitleProperty == null)
|| (nodeIdProperty == null)) {
fieldError("label","The TreeTag requires either a value for 'label' or ALL of 'rootNode', " +
"'childCollectionProperty', 'nodeTitleProperty', and 'nodeIdProperty'", null);
}
}
return result;
|