|
Components | |||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.servlet.tbeans.dataselectors.BaseDataSelector
public abstract class BaseDataSelector
The BaseDataSelector is an abstract TransformationBean™ for creating data selectors to dynamically change Rows, Columns, Totals, etc.
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:
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 | |
---|---|
static int |
EXTERNAL_CHILD_SELECTOR
A key to identify the child external selector type. |
static int |
SELECTOR_EXPAND
A key to identify the expand selector type. |
static int |
SELECTOR_EXTERNAL
A key to identify the external selector type. |
Constructor Summary | |
---|---|
BaseDataSelector()
|
Method Summary | |
---|---|
HttpActionProvider |
getActionProvider()
Returns the HttpActionProvider object |
java.lang.String |
getClosingFunctionName()
Returns the javascript function that gets called when a child selector is closed. |
java.lang.String |
getCommandId()
Returns the current command id used for url links. |
java.lang.String |
getDefaultButtonAction()
Sets the default button action for the selector |
java.lang.String |
getReferringURI()
Returns the url of the document that opened the selector |
java.lang.String |
getSelectorId()
Return the unique identified for the selectorId set by the MenuBar |
java.lang.Object |
getSelectorModel()
Returns the selector's data model |
int |
getSelectorType()
Returns the selector style. |
boolean |
isButtonsVisible()
Returns true if the buttons should be written by the write() method |
void |
setActionProvider(HttpActionProvider provider)
Sets the HttpActionProvider object |
void |
setButtonsVisible(boolean value)
Turns on/off the writing of the selector buttons by the write() methods |
void |
setClosingFunctionName(java.lang.String closingFunctionName)
Sets the javascript function that gets called when a child selector is closed. |
void |
setCommandId(java.lang.String commandid)
Sets the command id property that is necessary for each link. |
void |
setDefaultButtonAction(java.lang.String value)
Set the default button action of the selector |
void |
setReferringURI(java.lang.String uri)
Sets the url of the document that opened the selector |
void |
setRequest(javax.servlet.http.HttpServletRequest request)
Sets the request object. |
void |
setSelectorId(java.lang.String value)
Set the unique identified for the selector if the selector is associated with a MenuBar. |
void |
setSelectorModel(java.lang.Object selectormodel)
Sets the selector's data model |
void |
setSelectorType(int value)
Set the selector style. |
void |
write(java.io.PrintWriter out)
Abstract method for writing out the selector. |
Methods inherited from interface com.sas.dataselectors.DataSelectorInterface |
---|
isVisible, setVisible |
Methods inherited from interface com.sas.actionprovider.HttpActionProviderInterface |
---|
getRequest |
Field Detail |
---|
public static final int SELECTOR_EXPAND
public static final int SELECTOR_EXTERNAL
public static final int EXTERNAL_CHILD_SELECTOR
Constructor Detail |
---|
public BaseDataSelector()
Method Detail |
---|
public void write(java.io.PrintWriter out) throws java.io.IOException
write
in interface HttpDataSelectorInterface
write
in interface TransformationInterface
write
in interface com.sas.util.WriteToPrintWriterInterface
write
in class BaseCompositeTransformation
out
- The output stream
java.io.IOException
- Thrown if some type of I/O error occurspublic void setRequest(javax.servlet.http.HttpServletRequest request)
setRequest
in interface HttpActionProviderInterface
setRequest
in interface TransformationInterface
setRequest
in class BaseCompositeTransformation
request
- The request objectHttpActionProviderInterface.getRequest()
public void setButtonsVisible(boolean value)
value
- visible true if buttons should be written by the write() methodpublic boolean isButtonsVisible()
public void setSelectorModel(java.lang.Object selectormodel)
setSelectorModel
in interface DataSelectorInterface
selectormodel
- The selector's data modelpublic java.lang.Object getSelectorModel()
getSelectorModel
in interface DataSelectorInterface
public int getSelectorType()
public void setSelectorType(int value)
value
- The selector style valuepublic java.lang.String getDefaultButtonAction()
public void setDefaultButtonAction(java.lang.String value)
value
- The default button actionpublic void setSelectorId(java.lang.String value)
value
- The unique identifier of the selectorpublic java.lang.String getSelectorId()
public HttpActionProvider getActionProvider()
getActionProvider
in interface HttpActionProviderInterface
getActionProvider
in class BaseCompositeTransformation
HttpActionProviderInterface.setActionProvider(com.sas.actionprovider.HttpActionProvider)
public void setActionProvider(HttpActionProvider provider)
setActionProvider
in interface HttpActionProviderInterface
setActionProvider
in class BaseCompositeTransformation
HttpActionProvider
- objectHttpActionProviderInterface.getActionProvider()
public void setCommandId(java.lang.String commandid)
commandid
- The commandid to add to url linkspublic java.lang.String getCommandId()
public java.lang.String getReferringURI()
getReferringURI
in interface HttpDataSelectorInterface
public void setReferringURI(java.lang.String uri)
public java.lang.String getClosingFunctionName()
EXTERNAL_CHILD_SELECTOR
and the javascript
function gets called on parent selector.
public void setClosingFunctionName(java.lang.String closingFunctionName)
EXTERNAL_CHILD_SELECTOR
and the javascript
function gets called on parent selector.
closingFunctionName
- the javascript function name
|
Components | |||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |