|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.taglib.servlet.tbeans.ExpandCollapseTag
public class ExpandCollapseTag
ExpandCollapseTag is the tag handler class for the sas:ExpandCollapse custom tag . ExpandCollapseTag is invoked by the JSP page to evaluate the sas:ExpandCollapse 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, ExpandCollapse, to execute the methods.
If you need to extend or modify the functionality of the sas:ExpandCollapse 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:ExpandCollapse 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.
BaseExpandCollapse
,
Serialized FormField Summary |
---|
Fields inherited from class com.sas.taglib.BaseBodyTag |
---|
DELIMITERS, RB_KEY |
Constructor Summary | |
---|---|
ExpandCollapseTag()
|
Method Summary | |
---|---|
protected void |
applyAttributes()
Sets the attributes on the underlying IText object. |
int |
doEndTag()
Process the end tag. |
int |
doStartTag()
Process the start tag for this instance. |
java.lang.String |
getCollapseImageDefault()
Returns the collapseImageDefault used for this component. |
java.lang.String |
getCollapseImageDisabled()
Returns the collapseImageDisabled used for this component. |
java.lang.String |
getContent()
Returns the content used for this component. |
java.lang.String |
getExpandImageDefault()
Returns the expandImageDefault used for this component. |
java.lang.String |
getExpandImageDisabled()
Returns the expandImageDisabled used for this component. |
java.lang.String |
getImageLocation()
Returns the imageLocation used for this component. |
java.lang.String |
getRemoveImageDefault()
Returns the removeImageDefault used for this component. |
java.lang.String |
getSaveState()
Returns the save state for this component. |
java.lang.String |
getStyleClassPrefix()
Returns the style class prefix used for this component. |
java.lang.String |
getTitle()
Returns the title used for this component. |
protected void |
initialize(boolean includeAttributes)
Initializes attributes and variables for this tag handler. |
boolean |
isExpanded()
Returns the expand state for this component. |
boolean |
isRemoveButtonVisible()
Returns the expand state for this component. |
boolean |
isSingleButton()
Returns the singleButton state for this component. |
void |
setCollapseImageDefault(java.lang.String image)
Sets the collapseImageDefault of the component. |
void |
setCollapseImageDisabled(java.lang.String image)
Sets the collapseImageDisabled of the component. |
void |
setContent(java.lang.String content)
Sets the content of the component. |
void |
setExpanded(boolean expanded)
Sets the expanded state of the component. |
void |
setExpandImageDefault(java.lang.String image)
Sets the expandImageDefault of the component. |
void |
setExpandImageDisabled(java.lang.String image)
Sets the expandImageDisabled of the component. |
void |
setImageLocation(java.lang.String location)
Sets the image location of the component. |
void |
setRemoveButtonVisible(boolean removeButtonVisible)
Sets the removeButtonVisible to be visible or hidden. |
void |
setRemoveImageDefault(java.lang.String image)
Sets the removeImageDefault of the component. |
void |
setSaveState(java.lang.String saveState)
Sets the save state of the component. |
void |
setSingleButton(boolean singleButton)
Sets the singleButton state of the component. |
void |
setStyleClassPrefix(java.lang.String value)
Sets the styleClassPrefix of the component. |
void |
setTitle(java.lang.String title)
Sets the title of the component. |
Methods inherited from class com.sas.taglib.servlet.tbeans.BaseTransformationBodyTag |
---|
getCustomAttributes, getEpilog, getLocale, getName, getObjectDataProperty, getProlog, getRender, getRenderType, setCustomAttributes, setEpilog, setLocale, setName, setObjectDataProperty, setProlog, setRender, setRenderType |
Methods inherited from class com.sas.taglib.BaseBodyTag |
---|
doCatch, doFinally, getApplyAttributes, getBodyStrings, getCompositeComponentKey, getInstantiate, getPageContext, getRef, getScope, getTagScope, getWrappedClassName, getWrappedObject, getWrappedObject, loadBeanInstance, newInstance, release, removeFromScope, searchContext, setApplyAttributes, setCompositeComponentKey, setInstantiate, setRef, setScope, setTagScope, setVariableWithinScope, setWrappedClassName, setWrappedObject, validate |
Constructor Detail |
---|
public ExpandCollapseTag()
Method Detail |
---|
protected void initialize(boolean includeAttributes)
initialize
in class BaseTransformationBodyTag
includeAttributes
- Set to true if attributes are to be set to default values.public void setStyleClassPrefix(java.lang.String value)
value
- The styleClassPrefix to use for the component.public java.lang.String getStyleClassPrefix()
public void setCollapseImageDefault(java.lang.String image)
image
- The default image used for the collapse button.public java.lang.String getCollapseImageDefault()
public void setCollapseImageDisabled(java.lang.String image)
image
- The disabled image used for the collapse button.public java.lang.String getCollapseImageDisabled()
public void setExpandImageDefault(java.lang.String image)
image
- The default image used for the expand button.public java.lang.String getExpandImageDefault()
public void setExpandImageDisabled(java.lang.String image)
image
- The disabled image used for the expand button.public java.lang.String getExpandImageDisabled()
public void setRemoveImageDefault(java.lang.String image)
image
- The default image used for the remove button.public java.lang.String getRemoveImageDefault()
public void setImageLocation(java.lang.String location)
image
- The image location for the button images to be used for the component.public java.lang.String getImageLocation()
public void setTitle(java.lang.String title)
title
- The title to use for the component.public java.lang.String getTitle()
public void setContent(java.lang.String content)
content
- The content to use for the component.public java.lang.String getContent()
public void setExpanded(boolean expanded)
expanded
- Set to true for expanded.public boolean isExpanded()
public void setRemoveButtonVisible(boolean removeButtonVisible)
removeButtonVisible
- Set to true if remnove button is visible.public boolean isRemoveButtonVisible()
public void setSingleButton(boolean singleButton)
expanded
- Set to true for a single expand/collapse button, false if two buttons.public boolean isSingleButton()
public void setSaveState(java.lang.String saveState)
saveState
- Set to SAVE_STATE_NONE for no state saving or SAVE_STATE_SESSION to save via session.public java.lang.String getSaveState()
public int doStartTag() throws javax.servlet.jsp.JspException
doStartTag
in interface javax.servlet.jsp.tagext.Tag
doStartTag
in class BaseTransformationBodyTag
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 BaseTransformationBodyTag
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 BaseTransformationBodyTag
javax.servlet.jsp.JspException
- Thrown if a JspException occurs.TagSupport.doEndTag()
,
BaseBodyTag.setInstantiate(boolean)
|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |