|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.servlet.tbeans.dataselectors.filters.timebased.olap.html.OLAPTimeBasedFilterSelector
public class OLAPTimeBasedFilterSelector
The OLAPTimeBasedFilterSelector is a TransformationBean that generates the appropriate HTML 4.0 and JavaScript to represent a selector which can be used to create and apply time based filters
Note that the toString() method on this class calls the write
method, which may have undesirable side effects. See BaseTransformation.toString() for more information. Debuggers often use toString() to show the value of a variable, and this may cause unexpected behavior while debugging
For More Information:
Visit the AppDev Studio Developer's Site to access step-by-step examples, white papers and additional usage information at http://support.sas.com/rnd/appdev/.
Examples for this class may be found on the Examples Site.
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 .
OLAPTimeBasedFilterAdapterInterface
,
Serialized FormField Summary | |
---|---|
protected boolean |
isComponent
|
Fields inherited from class com.sas.servlet.tbeans.dataselectors.html.AbstractSelectorContainer |
---|
DEFAULT_TEMPLATE_FILE_NAME |
Fields inherited from class com.sas.servlet.tbeans.dataselectors.BaseDataSelector |
---|
EXTERNAL_CHILD_SELECTOR, SELECTOR_EXPAND, SELECTOR_EXTERNAL |
Fields inherited from interface com.sas.servlet.tbeans.dataselectors.html.SelectorContainerStyleKeysInterface |
---|
SELECTOR_BUTTON_CONTAINER, SELECTOR_BUTTON_TABLE, SELECTOR_CONTAINER, SELECTOR_CONTAINER_CANCEL_BUTTON, SELECTOR_CONTAINER_HELP_BUTTON, SELECTOR_CONTAINER_OK_BUTTON |
Fields inherited from interface com.sas.servlet.tbeans.dataselectors.SelectorContainerKeysInterface |
---|
SELECTORCONTAINER_BUTTON_ROW_ID, SELECTORCONTAINER_CANCEL_BUTTON, SELECTORCONTAINER_HELP_BUTTON, SELECTORCONTAINER_OK_BUTTON, SELECTORCONTAINER_PANEL |
Constructor Summary | |
---|---|
OLAPTimeBasedFilterSelector()
Default constructor. |
|
OLAPTimeBasedFilterSelector(Form containerRemoteTreeScriptForm)
|
|
OLAPTimeBasedFilterSelector(java.lang.String id)
Sets the unique identifier for this selector. |
|
OLAPTimeBasedFilterSelector(java.lang.String id,
Form containerRemoteTreeScriptForm)
|
Method Summary | |
---|---|
boolean |
isComponent()
|
void |
setActionProvider(HttpActionProvider ap)
Overridden to set the ActionProvider on the panel if this selector is a component of anohter selector. |
void |
setCommandId(java.lang.String commandid)
Overridden to set the commandID on the panel if this selector is a component of anohter selector. |
protected void |
setComponents()
Creates the container subcomponents and inserts them into the component map |
void |
setIsComponent(boolean isComponent)
Sets the isComponent flag |
protected void |
setLocaleDependentProperties(java.util.Locale locale)
Sets component properties that depend on the user locale |
void |
write(java.io.PrintWriter out)
Writes the selector |
Methods inherited from class com.sas.servlet.tbeans.dataselectors.html.AbstractSelectorContainer |
---|
close, getSelectorModel, setSelectorButtonIds, setSelectorModel, writeRemoteScriptCommands, writeRemoteScriptFrame |
Methods inherited from class com.sas.servlet.tbeans.dataselectors.html.DataSelector |
---|
getAdditionalParameters, getDefaultFormObject, getFormObject, isFormEnabled, setAdditionalParameter, setAdditionalParameters, setFormEnabled, setFormObject |
Methods inherited from class com.sas.servlet.tbeans.dataselectors.BaseDataSelector |
---|
getActionProvider, getClosingFunctionName, getCommandId, getDefaultButtonAction, getReferringURI, getSelectorId, getSelectorType, isButtonsVisible, setButtonsVisible, setClosingFunctionName, setDefaultButtonAction, setReferringURI, setSelectorId, setSelectorType |
Methods inherited from class com.sas.servlet.tbeans.BaseCompositeTransformation |
---|
applyTemplate, applyTemplate, getComponent, getComponents, getDefaultTemplate, getStyleInfo, getStyleMap, getTemplate, getTemplateDictionary, getTemplateFileName, getTemplateLocation, getVisibleComponents, isFlushEnabled, propertyChange, removeComponent, setCleanUpResourcesOn, setComponent, setFlushEnabled, setId, setLocale, setStyleInfo, setTemplate, setTemplate, setTemplateDictionary, setTemplateFileName, setTemplateLocation, writeTemplate |
Methods inherited from interface com.sas.dataselectors.DataSelectorInterface |
---|
isVisible, setVisible |
Methods inherited from interface com.sas.actionprovider.HttpActionProviderInterface |
---|
getRequest |
Field Detail |
---|
protected boolean isComponent
Constructor Detail |
---|
public OLAPTimeBasedFilterSelector()
public OLAPTimeBasedFilterSelector(Form containerRemoteTreeScriptForm)
public OLAPTimeBasedFilterSelector(java.lang.String id)
id
- The id of this selector.public OLAPTimeBasedFilterSelector(java.lang.String id, Form containerRemoteTreeScriptForm)
Method Detail |
---|
protected void setLocaleDependentProperties(java.util.Locale locale)
AbstractSelectorContainer
setLocaleDependentProperties
in class AbstractSelectorContainer
locale
- - the user localepublic void write(java.io.PrintWriter out) throws java.io.IOException
AbstractSelectorContainer
write
in interface HttpDataSelectorInterface
write
in interface TransformationInterface
write
in interface com.sas.util.WriteToPrintWriterInterface
write
in class AbstractSelectorContainer
out
- - the output stream
java.io.IOException
- Thrown if some type of I/O error occursprotected void setComponents()
setComponents
in class AbstractSelectorContainer
CompositeComponentInterface
public void setIsComponent(boolean isComponent)
ComponentSelectorInterface
setIsComponent
in interface ComponentSelectorInterface
isComponent
- true if this selector is included by another selector, false otherwise.public boolean isComponent()
isComponent
in interface ComponentSelectorInterface
public void setActionProvider(HttpActionProvider ap)
setActionProvider
in interface HttpActionProviderInterface
setActionProvider
in class BaseDataSelector
ap
- HttpActionProvider ObjectHttpActionProviderInterface.setActionProvider(com.sas.actionprovider.HttpActionProvider)
public void setCommandId(java.lang.String commandid)
setCommandId
in class BaseDataSelector
commandid
- The commandid to add to url linksBaseDataSelector.setCommandId(String)
|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |