Node Class
- public class Node
extends AbstractBaseTag
Instantiates a TreeNode object that will get added to the parent tag (either a Tree or
another Node).
| Attribute Descriptions |
| Attribute | Required | Runtime Expression Evaluation |
Data Bindable |
| action | No | No | No |
| An action invoked by clicking the node. |
| expanded | No | No | No |
| The node's expanded state. |
| icon | No | No | No |
| The node's icon URI. |
| label | No | No | Read Only |
| The label of the Node. |
| target | No | No | No |
| A window target. |
Related Topics
<netui:tree> Tag Sample
<netui:tree> Tag: Dynamic Tree Sample
Tree
TreeNode
-
Hierarchy
-
Object
TagSupport
BodyTagSupport
AbstractBaseTag
Node
-
All Implemented Interfaces
-
BodyTag, IterationTag, Serializable, Tag
Fields from com.bea.wlw.netui.tags.AbstractBaseTag |
ATTR_GENERAL, ATTR_GENERAL_EXPRESSION, ATTR_JAVASCRIPT, ATTR_STYLE, CLASS, ID, JAVASCRIPT_STATUS, NAME, NETUI_UNIQUE_CNT, ONCLICK, ONDBLCLICK, ONKEYDOWN, ONKEYPRESS, ONKEYUP, ONMOUSEDOWN, ONMOUSEMOVE, ONMOUSEOUT, ONMOUSEOVER, ONMOUSEUP, STYLE, TABINDEX |
Methods from com.bea.wlw.netui.tags.AbstractBaseTag |
addTagIdMapping, evaluateAttributeToString, filter, filter, getJavaScriptUtils, getNearestForm, getScriptReporter, getUserLocale, release, renderAttribute, rewriteName, write |
Methods from javax.servlet.jsp.tagext.TagSupport |
doAfterBody, doEndTag, doStartTag, findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setId, setPageContext, setParent, setValue |
Methods from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
action
protected String action
expanded
protected String expanded
href
protected String href
icon
protected String icon
label
protected String label
node
protected TreeNode node
target
protected String target
Node
public Node()
doEndTag() Method
public int doEndTag()
throws JspException
Add this node to the parent.
-
Overrides
-
BodyTagSupport.doEndTag()
Exceptions
-
JspException
- if a JSP exception has occurred
doStartTag() Method
public int doStartTag()
throws JspException
Instantiate a new TreeNode.
-
Overrides
-
BodyTagSupport.doStartTag()
Exceptions
-
JspException
- if a JSP exception has occurred
getAction() Method
public String getAction()
Returns the Node's action.
Returns
- the action.
getExpanded() Method
public String getExpanded()
Gets if the Node is expanded.
Returns
- the expanded state.
getHref() Method
public String getHref()
Gets the Node's href.
Returns
- the href.
getIcon() Method
public String getIcon()
Gets the Node icon URI.
Returns
- the icon URI.
getLabel() Method
public String getLabel()
Gets the Node label.
Returns
- the label.
getNode() Method
public TreeNode getNode()
getTagName() Method
public String getTagName()
Return the name of the Tag.
-
Overrides
-
AbstractBaseTag.getTagName()
getTarget() Method
public String getTarget()
Returns the window target.
Returns
- the window target.
localRelease() Method
protected void localRelease()
Release any acquired resources.
-
Overrides
-
AbstractBaseTag.localRelease()
registerError(EvalErrorInfo) Method
public void registerError(EvalErrorInfo error)
Description copied from AbstractBaseTag.registerError(EvalErrorInfo)
This method will add an error to the errors begin tracked by
this tag.
-
Overrides
-
AbstractBaseTag.registerError(EvalErrorInfo)
registerTagError(String) Method
public String registerTagError(String message)
Description copied from AbstractBaseTag.registerTagError(String)
This will report an error from a tag. The error will
contain a message. If error reporting is turned off,
the message will be returned and the caller should throw
a JspException to report the error.
-
Overrides
-
AbstractBaseTag.registerTagError(String)
Parameters
-
message
- - the message to register with the error
Returns
- null
setAction(String) Method
public void setAction(String action)
Set the Node's action.
Parameters
-
action
- - the action.
setExpanded(String) Method
public void setExpanded(String expanded)
Sets the Node expansion state.
Parameters
-
expanded
- - the expanded state.
setHref(String) Method
public void setHref(String href)
Sets the Node's href.
Parameters
-
href
- - the href
setIcon(String) Method
public void setIcon(String icon)
Sets the Node icon URI.
Parameters
-
icon
- - the icon URI
setLabel(String) Method
public void setLabel(String label)
Sets the Node label.
Parameters
-
label
- - the label.
setNode(TreeNode) Method
public void setNode(TreeNode node)
setTarget(String) Method
public void setTarget(String target)
Sets the window target.
Parameters
-
target
- - the window target.