|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.taglib.servlet.tbeans.models.ItemTag
public class ItemTag
ItemTag is the tag handler class for the sasads:Item custom tag. ItemTag is invoked by the JSP page to evaluate the sasads:Item 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.
ItemTag is used to populate items in a DualListSelector and ListBox custom tags. An items can have a value and description.If you need to extend or modify the functionality of the sasads:ItemTag 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 www.sas.com/rnd/appdev/. Refer to the Custom Tag Library Reference for usage information on the sas:Item 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.
BaseDualSelector
,
BaseListBox
,
Serialized FormField Summary | |
---|---|
static java.lang.String |
RB_KEY
|
Fields inherited from class com.sas.taglib.BaseTag |
---|
APPLICATION, PAGE, REQUEST, SESSION |
Constructor Summary | |
---|---|
ItemTag()
|
Method Summary | |
---|---|
protected void |
applyAttributes()
Sets the attributes (value, text) on the underlying Item object. |
int |
doEndTag()
Process the end tag. |
int |
doStartTag()
Processes the start tag for this instance. |
java.lang.String |
getDescription()
Gets the description property (String) |
java.lang.String |
getOnBlur()
Gets the onBlur value. |
java.lang.String |
getOnChange()
Gets the onChange value. |
java.lang.String |
getOnClick()
Gets the onClick value. |
java.lang.String |
getOnFocus()
Gets the onFocus value. |
java.lang.String |
getOnKeyDown()
Gets the onKeyDown value associated with the PushButton |
java.lang.String |
getOnKeyPress()
Gets the onKeyPress value associated with the PushButton |
java.lang.String |
getOnKeyUp()
Gets the onKeyUp value associated with the PushButton |
java.lang.String |
getOnMouseDown()
Gets the onMouseDown value associated with the PushButton |
java.lang.String |
getOnMouseOut()
Gets the onMouseOut value. |
java.lang.String |
getOnMouseOver()
Gets the onMouseOver value. |
java.lang.String |
getOnMouseUp()
Gets the onMouseUp value associated with the PushButton |
java.lang.String |
getText()
Gets the text property (String) |
java.lang.String |
getValue()
Gets the value property (String) |
protected void |
initialize(boolean includeAttributes)
Initializes attributes and variables for this tag handler. |
boolean |
isSelected()
Gets the selected property of the ItemTag. |
void |
setDescription(java.lang.String value)
Sets the description property (String) The description of item |
void |
setOnBlur(java.lang.String value)
Sets the onBlur event value. |
void |
setOnChange(java.lang.String value)
Sets the onChange event value. |
void |
setOnClick(java.lang.String value)
Sets the onClick event value. |
void |
setOnFocus(java.lang.String value)
Sets the onFocus event value. |
void |
setOnKeyDown(java.lang.String value)
Sets the onKeyDown event associated with the PushButton |
void |
setOnKeyPress(java.lang.String value)
Sets the onKeyPress event associated with the PushButton |
void |
setOnKeyUp(java.lang.String value)
Sets the onKeyUp event associated with the PushButton |
void |
setOnMouseDown(java.lang.String value)
Sets the onMouseDown event associated with the PushButton |
void |
setOnMouseOut(java.lang.String value)
Sets the onMouseOut event value. |
void |
setOnMouseOver(java.lang.String value)
Sets the onMouseOver event value. |
void |
setOnMouseUp(java.lang.String value)
Sets the onMouseUp event associated with the PushButton |
void |
setSelected(boolean value)
Sets the selected property (boolean). |
void |
setText(java.lang.String value)
Sets the text property (String) The text of item |
void |
setValue(java.lang.String value)
Sets the value property (String) The value of item |
Field Detail |
---|
public static final java.lang.String RB_KEY
Constructor Detail |
---|
public ItemTag()
Method Detail |
---|
protected void initialize(boolean includeAttributes)
initialize
in class BaseTag
includeAttributes
- Set to true if attributes are to be set to default values.public void setValue(java.lang.String value)
value
- the value Stringpublic java.lang.String getValue()
public void setDescription(java.lang.String value)
value
- the description Stringpublic java.lang.String getDescription()
public void setText(java.lang.String value)
value
- the text Stringpublic java.lang.String getText()
public void setSelected(boolean value)
selected
- Specifies whether or not the item is selected in the Listbox.public boolean isSelected()
public void setOnBlur(java.lang.String value)
value
- The onBlur valuepublic java.lang.String getOnBlur()
public void setOnChange(java.lang.String value)
value
- The onChange valuepublic java.lang.String getOnChange()
public void setOnClick(java.lang.String value)
value
- The onClick valuepublic java.lang.String getOnClick()
public void setOnFocus(java.lang.String value)
value
- The onFocus valuepublic java.lang.String getOnFocus()
public void setOnMouseOut(java.lang.String value)
value
- The onMouseOut valuepublic java.lang.String getOnMouseOut()
public void setOnMouseOver(java.lang.String value)
value
- The onMouseOver valuepublic java.lang.String getOnMouseOver()
public void setOnMouseDown(java.lang.String value)
value
- The onMouseDownpublic java.lang.String getOnMouseDown()
public void setOnMouseUp(java.lang.String value)
value
- The onMouseUppublic java.lang.String getOnMouseUp()
public void setOnKeyDown(java.lang.String value)
value
- The onKeyDownpublic java.lang.String getOnKeyDown()
public void setOnKeyPress(java.lang.String value)
value
- The onKeyPresspublic java.lang.String getOnKeyPress()
public void setOnKeyUp(java.lang.String value)
value
- The onKeyUppublic java.lang.String getOnKeyUp()
public int doStartTag() throws javax.servlet.jsp.JspException
doStartTag
in interface javax.servlet.jsp.tagext.Tag
doStartTag
in class BaseTag
javax.servlet.jsp.JspException
- Thrown if a JspException occurs.BaseTag.setInstantiate(boolean)
,
TagSupport.doStartTag()
protected void applyAttributes() throws javax.servlet.jsp.JspException
applyAttributes
in class BaseTag
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.TagSupport
javax.servlet.jsp.JspException
|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |