|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.servlet.tbeans.dataselectors.html.SelectorPanel
public abstract class SelectorPanel
The SelectorPanel is an abstract TransformationBean that provides HTML form functionality for the data selector panel framework. Forms are used to submit requests for updated information during selector processing and to commit or cancel the selector changes.
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.dataselectors.BaseSelectorPanel |
---|
imageLocation, SELECTOR_EXPAND, SELECTOR_EXTERNAL |
Constructor Summary | |
---|---|
SelectorPanel()
|
Method Summary | |
---|---|
void |
close()
Base implementation that does nothing. |
java.util.HashMap |
getAdditionalParameters()
Returns an HashMap containing additional parameters that should be added to the form used to perform the various actions on the SelectorPanel. |
Form |
getDefaultFormObject()
Gets the default form object to be used by the panel |
Form |
getFormObject()
Gets the form object to be used by the panel |
java.lang.String |
getIframeName()
Gets the name of the remote scripting iframe name. |
boolean |
isFormEnabled()
Determines if the SelectorPanel should render its formObject. |
void |
setAdditionalParameter(java.lang.String name,
java.lang.String value)
Sets an additional parameter to be added to the form used to perform the various actions on the SelectorPanel. |
void |
setAdditionalParameters(java.util.HashMap map)
Sets an HashMap containing additional parameters that should be added to the form used to perform the various actions on the SelectorPanel. |
void |
setFormEnabled(boolean enable)
Sets whether the SelectorPanel should render its formObject. |
void |
setFormObject(Form form)
Sets the form object to be used by the panel |
void |
setIframeName(java.lang.String name)
Sets the remote scripting iframe name needed for the form target value. |
void |
writeRemoteScriptCommands(java.io.PrintWriter out)
Subclasses must implement this method to provide functionality for panels to react to remote script events. |
void |
writeRemoteScriptFrame(java.io.PrintWriter out)
Writes out the iframe tag needed for remote javascript calls |
void |
writeSelectorPanelFooter(java.io.PrintWriter out)
Writes out the panel form footer |
void |
writeSelectorPanelHeader(java.io.PrintWriter out)
Writes out the panel form header and addtional parameters |
Methods inherited from class com.sas.servlet.tbeans.dataselectors.BaseSelectorPanel |
---|
contentsChanged, getActionProvider, getCommandId, getImageLocation, getSelector, getSelectorModel, setActionProvider, setCommandId, setImageLocation, setSelector, setSelectorModel |
Methods inherited from interface com.sas.actionprovider.HttpActionProviderInterface |
---|
getRequest |
Constructor Detail |
---|
public SelectorPanel()
Method Detail |
---|
public void setFormObject(Form form)
setFormObject
in interface FormViewInterface
form
- The form objectpublic Form getFormObject()
getFormObject
in interface FormViewInterface
public Form getDefaultFormObject()
getDefaultFormObject
in interface FormViewInterface
public java.util.HashMap getAdditionalParameters()
getAdditionalParameters
in interface FormViewInterface
HashMap
public void setAdditionalParameters(java.util.HashMap map)
setAdditionalParameters
in interface FormViewInterface
map
- HashMap objectHashMap
public void setAdditionalParameter(java.lang.String name, java.lang.String value)
setAdditionalParameter
in interface FormViewInterface
name
- name of the list itemvalue
- value of the list itemHashMap
public void setFormEnabled(boolean enable)
setFormEnabled
in interface FormViewInterface
value
- true if the formObject should be rendered by the tbeanpublic boolean isFormEnabled()
isFormEnabled
in interface FormViewInterface
public void setIframeName(java.lang.String name)
name
- The name of the iframepublic java.lang.String getIframeName()
public void writeRemoteScriptCommands(java.io.PrintWriter out) throws java.io.IOException
java.io.IOException
public void writeRemoteScriptFrame(java.io.PrintWriter out) throws java.io.IOException
out
- the output stream
java.io.IOException
- Thrown if some type of I/O error occurspublic void writeSelectorPanelHeader(java.io.PrintWriter out) throws java.io.IOException
out
- the output stream
java.io.IOException
- Thrown if some type of I/O error occurspublic void writeSelectorPanelFooter(java.io.PrintWriter out) throws java.io.IOException
out
- the output stream
java.io.IOException
- Thrown if some type of I/O error occurspublic void close()
Subclasses may override this when they want to know a commit or cancel has occured on the selector.
|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |