|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.servlet.tbeans.BaseLabel
public abstract class BaseLabel
The BaseLabel is an abstract TransformationBean used to create a label.
Note that subclasses of this bean actually provide the markup rendering used in/with Servlet and JavaServer Pages technologies. If you need to add support for a markup language that is not explicitly provided with AppDev Studio, then you must extend this class.
For More Information:
JSP custom tags provide an alternative to using the TransformationBeans. Visit the Custom Tag Library Reference for additional information on the sas:Label 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 .
Constructor Summary | |
---|---|
BaseLabel()
Default constructor. |
Method Summary | |
---|---|
HttpActionProvider |
getActionProvider()
Returns the ActionProvider object |
java.lang.String |
getActionSupportType()
Return the key that associated with a particular support class in the ActionProvider framework. |
java.lang.String |
getFor()
Gets the label for attribute. |
java.lang.String |
getNullTextString()
Gets the String value to be written when the label text is null. |
StyleInfo |
getStyleInfo()
Returns the style info for this Label. |
java.lang.String |
getTarget()
Returns the value of the TARGET= argument used on the anchor tags generated. |
java.lang.String |
getText()
Gets the text. |
java.lang.String |
getTitle()
Gets the title of the label. |
java.lang.String |
getURL()
Gets the destination URL for the text's link. |
boolean |
isEncodedURL()
Gets the boolean indicating whether to set URL encoding on the link. |
boolean |
isEncodeText()
Gets the boolean indicating whether the Label's text will be encoded using com.sas.util.Strings.quoteForXML. |
void |
setEncodedURL(boolean flag,
javax.servlet.http.HttpServletResponse resp)
Sets the conditional indicating whether to set URL encoding on the link that is written. |
void |
setEncodeText(boolean encodeText)
Sets the boolean indicating whether the Label's text will be encoded using com.sas.util.Strings.quoteForXML. |
void |
setFor(java.lang.String value)
Sets the label for attribute. |
void |
setNullTextString(java.lang.String nullTextString)
Sets the String value to be written when the label text is null. |
void |
setStyleInfo(StyleInfo styleInfo)
Sets the style info for this Label. |
void |
setTarget(java.lang.String value)
Sets the value of the TARGET= argument used on the anchor tags generated. |
void |
setText(java.lang.String value)
Sets the text. |
void |
setTitle(java.lang.String value)
Sets the title for the label. |
void |
setURL(java.lang.String location)
Sets the destination URL for the text's link. |
Methods inherited from class com.sas.servlet.tbeans.BaseActionTransformation |
---|
dispose, getUniqueId, isActionVisible, listActionTypes, listAreaTypes, setActionProvider, setActionSupportType, setActionVisible, setUniqueId, write |
Methods inherited from interface com.sas.actionprovider.HttpActionProviderViewInterface |
---|
getRequest, setRequest |
Constructor Detail |
---|
public BaseLabel()
Method Detail |
---|
public void setNullTextString(java.lang.String nullTextString)
nullTextString
- The String to be written when the text is nullpublic java.lang.String getNullTextString()
public void setText(java.lang.String value)
text
- The textpublic java.lang.String getText()
public void setURL(java.lang.String location)
setURL
in interface URLInterface
location
- The destination URL for the linkpublic java.lang.String getURL()
getURL
in interface URLInterface
public void setEncodeText(boolean encodeText)
encodeText
- Flag indicating whether to set text encoding.public boolean isEncodeText()
public void setEncodedURL(boolean flag, javax.servlet.http.HttpServletResponse resp)
Also sets the HTTP servlet response object.
flag
- A flag indicating whether to set URL encodingresp
- The servlet response objectpublic boolean isEncodedURL()
public java.lang.String getTarget()
public void setTarget(java.lang.String value)
value
- The value of the TARGET= argument on the anchor tagpublic StyleInfo getStyleInfo()
getStyleInfo
in interface StyleInterface
public void setStyleInfo(StyleInfo styleInfo)
setStyleInfo
in interface StyleInterface
styleInfo
- The style for this Labelpublic void setFor(java.lang.String value)
value
- The label for attributepublic java.lang.String getFor()
public void setTitle(java.lang.String value)
setTitle
in interface com.sas.servlet.tbeans.TitleInterface
value
- The title of the labelpublic java.lang.String getTitle()
public java.lang.String getActionSupportType()
getActionSupportType
in interface ActionProviderViewInterface
getActionSupportType
in class BaseActionTransformation
ActionProviderViewInterface.setActionSupportType(java.lang.String)
,
ActionProviderSupportTypes
public HttpActionProvider getActionProvider()
getActionProvider
in interface HttpActionProviderInterface
getActionProvider
in class BaseActionTransformation
HttpActionProviderInterface.setActionProvider(com.sas.actionprovider.HttpActionProvider)
|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |