|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.taglib.servlet.tbeans.TreeNodeTag
public class TreeNodeTag
TreeViewTag is the tag handler class for the sas:TreeView custom tag . TreeViewTag is invoked by the JSP page to evaluate the sas:TreeView custom tag during the execution of the page. Tag handler methods are called by the JSP page implementation class at various points during the evaluation of the tag. The tag handler methods in turn call methods on the underlying Transformation Bean object, TreeView, to execute the methods.
If you need to extend or modify the functionality of the sas:TreeView custom tag, you can subclass this tag handler class.
For More Information:
Visit the AppDev Studio Developer's Site to access step-by-step examples, white papers and additional usage information at http://support.sas.com/rnd/appdev/.
Refer to the Custom Tag Library Reference for usage information on the sas:TreeView custom tag.
Note: A snapshot of the AppDev Studio Developers Site is installed on your local Web server when you install AppDev Studio. To access the site from webAF, select Help -> Developer Site.
TreeNode
,
Serialized FormField Summary |
---|
Fields inherited from class com.sas.taglib.BaseBodyTag |
---|
DELIMITERS |
Constructor Summary | |
---|---|
TreeNodeTag()
|
Method Summary | |
---|---|
protected void |
applyAttributes()
Sets the attributes on the underlying TreeNode object. |
int |
doEndTag()
Process the end tag. |
int |
doStartTag()
Process the start tag for this instance. |
java.lang.String |
getAccessKey()
getAccessKey returns the accesskey for URL accessability. |
java.lang.String |
getDefaultImage()
Gets the defaultImage property (String). |
java.lang.String |
getDefaultImageAltText()
getDefaultImageAltText reutrns the text which is to be used as alternate to an image. |
java.lang.String |
getDescription()
Returns the description of this node. |
java.lang.String |
getExpandedImage()
Gets the expandedImage property (String). |
java.lang.String |
getExpandedImageAltText()
getExpandedImageAltText returns the alternate text to the expanded image. |
java.lang.String |
getName()
Gets the name property (String). |
int |
getTabIndex()
getTabIndex returns the tab order value of the node. |
java.lang.String |
getTarget()
Returns the value of the target= argument used on the anchor tags generated. |
java.lang.String |
getText()
Gets the text property (String). |
java.lang.String |
getTitle()
getTitle returns the title to the URL link. |
java.lang.String |
getURL()
Gets the URL property (String). |
protected void |
initialize(boolean includeAttributes)
Initializes attributes and variables for this tag handler. |
boolean |
isExpanded()
Returns the expandedState boolean value which determines if a node is initially set expanded when rendered. |
void |
setAccessKey(java.lang.String accessKey)
setAccessKey sets the accesskey if a URL link is being used. |
void |
setDefaultImage(java.lang.String defaultImage)
Sets the defaultImage property (String). |
void |
setDefaultImageAltText(java.lang.String defaultImageAltText)
setDefaultImageAltText sets the text used to describe an image in the viewer. |
void |
setDescription(java.lang.String desc)
Sets the description associated with this node. |
void |
setExpanded(boolean expanded)
sets the expandedState of the node |
void |
setExpandedImage(java.lang.String expandedImage)
Sets the expandedImage property (String). |
void |
setExpandedImageAltText(java.lang.String expandedImageAltText)
setExpandedImageAltText sets the alternate text to the expanded image in the viewer. |
void |
setName(java.lang.String name)
Sets the name property (String). |
void |
setTabIndex(int tabIndex)
setTabIndex sets the tabbing order for access in viewer. |
void |
setTarget(java.lang.String target)
Sets the value of the target= argument used on the anchor tags generated. |
void |
setText(java.lang.String text)
Sets the text property (String). |
void |
setTitle(java.lang.String title)
setTitle sets the title to the URL link in the viewer. |
void |
setURL(java.lang.String URL)
Sets the URL property (String). |
Constructor Detail |
---|
public TreeNodeTag()
Method Detail |
---|
protected void initialize(boolean includeAttributes)
initialize
in class BaseBodyTag
includeAttributes
- Set to true if attributes are to be set to default values.public void setName(java.lang.String name)
name
- the name Stringpublic java.lang.String getName()
public void setDefaultImage(java.lang.String defaultImage)
defaultImage
- the defaultImage Stringpublic java.lang.String getDefaultImage()
public void setExpandedImage(java.lang.String expandedImage)
expandedImage
- the expandedImage Stringpublic java.lang.String getExpandedImage()
public void setURL(java.lang.String URL)
URL
- the URL Stringpublic java.lang.String getURL()
public void setText(java.lang.String text)
text
- the text Stringpublic java.lang.String getText()
public void setExpanded(boolean expanded)
expanded
- the expanded state of the nodepublic boolean isExpanded()
public void setAccessKey(java.lang.String accessKey)
accessKey
- key entry used as access key for link.public java.lang.String getAccessKey()
public void setTabIndex(int tabIndex)
TreeView
.
tabIndex
- the numeric order in which the tab key is used.public int getTabIndex()
public void setDefaultImageAltText(java.lang.String defaultImageAltText)
defaulImageAltText
- alternate text for the image displayed in the viewer.public java.lang.String getDefaultImageAltText()
public void setExpandedImageAltText(java.lang.String expandedImageAltText)
expandedImageAltText
- public java.lang.String getExpandedImageAltText()
public void setTitle(java.lang.String title)
title
- descriptive title of the URL link.public java.lang.String getTitle()
public void setDescription(java.lang.String desc)
desc
- The description of the nodepublic java.lang.String getDescription()
public java.lang.String getTarget()
public void setTarget(java.lang.String target)
public int doStartTag() throws javax.servlet.jsp.JspException
doStartTag
in interface javax.servlet.jsp.tagext.Tag
doStartTag
in class BaseBodyTag
javax.servlet.jsp.JspException
- Thrown if a JspException occurs.BaseBodyTag.setInstantiate(boolean)
,
TagSupport.doStartTag()
protected void applyAttributes() throws javax.servlet.jsp.JspException
applyAttributes
in class BaseBodyTag
javax.servlet.jsp.JspException
- Thrown if a JspException occurs.public int doEndTag() throws javax.servlet.jsp.JspException
doEndTag
in interface javax.servlet.jsp.tagext.Tag
doEndTag
in class javax.servlet.jsp.tagext.BodyTagSupport
javax.servlet.jsp.JspException
|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |