|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.servlet.tbeans.ipage.iform.BaseIFormElement
public abstract class BaseIFormElement
The base object for all IForm sub-elements. These objects are added to an IForm via the IForm's add(BaseIFormElement element).
For More Information:
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 .
Field Summary |
---|
Fields inherited from class com.sas.servlet.tbeans.ipage.BaseIPage |
---|
HTML_PROLOG, WML_PROLOG |
Constructor Summary | |
---|---|
BaseIFormElement()
The default constructor. |
Method Summary | |
---|---|
java.lang.String |
getAcceptLabel()
Get the acceptLabel String |
java.lang.String |
getAcceptURL()
Get the acceptURL String |
IForm |
getParentIForm()
Gets the IForm parent of this IFormElement; |
java.lang.String |
getPrompt()
Gets the prompt of the element. |
java.lang.String |
getShortPrompt()
Gets the shortPrompt of the element. |
void |
setAcceptLabel(java.lang.String acceptLabel)
Set the acceptLabel String to an href. |
void |
setAcceptURL(java.lang.String acceptURL)
This method is called internally and does not need to be called directly. |
void |
setParentIForm(IForm parentIForm)
Sets the parent IForm of this element. |
void |
setPrompt(java.lang.String prompt)
Sets the prompt of this element. |
void |
setShortPrompt(java.lang.String shortPrompt)
Sets the shortPrompt of this element. |
void |
write(java.io.PrintWriter out)
Writes the out the IFormElement, including writing the header, base, and footer. |
void |
write(java.io.PrintWriter out,
boolean writeHiddenElements)
Writes the out the IFormElement, including writing the header, base, and footer. |
void |
writeBase(java.io.PrintWriter out)
Writes the main base section of the IFormElement bean. |
void |
writeFooter(java.io.PrintWriter out)
Writes the footer. |
void |
writeHeader(java.io.PrintWriter out)
Writes the header. |
Methods inherited from class com.sas.servlet.tbeans.ipage.BaseIPage |
---|
addOption, getBrowserType, getCacheTimeToLive, getOptionLabel, getOptionURL, getTitle, resolveNewLine, setBrowserType, setCacheTimeToLive, setId, setName, setName, setRequest, setResponse, setStyle, setStyleClass, setTitle, toString, writeBase, writeBase, writeFooter, writeFooter, writeHeader, writeHeader |
Constructor Detail |
---|
public BaseIFormElement()
Method Detail |
---|
public void setParentIForm(IForm parentIForm)
parentIForm
- The parent IFormpublic IForm getParentIForm()
public void setPrompt(java.lang.String prompt)
prompt
- The prompt Stringpublic java.lang.String getPrompt()
public void setShortPrompt(java.lang.String shortPrompt)
shortPrompt
- The shortPrompt Stringpublic java.lang.String getShortPrompt()
public void setAcceptURL(java.lang.String acceptURL)
accept
- The accept href Stringpublic void setAcceptLabel(java.lang.String acceptLabel)
acceptLabel
- The accept label Stringpublic java.lang.String getAcceptURL()
public java.lang.String getAcceptLabel()
public void write(java.io.PrintWriter out, boolean writeHiddenElements) throws java.io.IOException
out
- The output streamboolean
- True if this element should include the form's hidden
elements
java.io.IOException
- Thrown if some type of I/O error occurspublic void write(java.io.PrintWriter out) throws java.io.IOException
Writes the out the IFormElement, including writing the header, base, and footer. This method is used internally and usually will not need to be called directly. Only the write method on the IForm needs to be called.
This method calls the cleanUpResources method at the end to reset
the request
and response
back to null.
write
in interface TransformationInterface
write
in interface com.sas.util.WriteToPrintWriterInterface
write
in class BaseIPage
out
- The output streamboolean
- True if this element should include the form's hidden elements
java.io.IOException
- Thrown if some type of I/O error occurspublic void writeHeader(java.io.PrintWriter out) throws java.io.IOException
writeHeader
in class BaseIPage
out
- The output stream
java.io.IOException
- Thrown if some type of I/O error occurspublic void writeBase(java.io.PrintWriter out) throws java.io.IOException
writeBase
in class BaseIPage
out
- The output stream
java.io.IOException
- Thrown if some type of I/O error occurspublic void writeFooter(java.io.PrintWriter out) throws java.io.IOException
writeFooter
in class BaseIPage
out
- The output stream
java.io.IOException
- Thrown if some type of I/O error occurs
|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |