|
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.OLAPTimeBasedFilterSelectorPanel
public class OLAPTimeBasedFilterSelectorPanel
Field Summary | |
---|---|
static java.lang.String |
DEFAULT_TEMPLATE_FILE_NAME
The default file name for the template for this panel. |
protected boolean |
isComponent
|
protected java.lang.String |
isNPeriodsMinValueValidErrorMessage
|
protected java.lang.String |
isNPeriodsNonBlankErrorMessage
|
protected java.lang.String |
isNPeriodsNonIntegerErrorMessage
|
protected java.lang.String |
isNPeriodsNonNumericErrorMessage
|
protected java.lang.String |
noEndingPeriodSelectedErrorMessage
|
protected java.lang.String |
noStartingPeriodSelectedErrorMessage
|
protected static java.lang.String |
RADIOBOX_LABEL_STYLEMAP_KEY
|
protected static java.lang.String |
RADIOBOX_STYLEMAP_KEY
|
static java.lang.String |
RB_KEY
|
static java.lang.String |
RB_KEY2
|
Fields inherited from class com.sas.servlet.tbeans.dataselectors.BaseSelectorPanel |
---|
imageLocation, SELECTOR_EXPAND, SELECTOR_EXTERNAL |
Fields inherited from interface com.sas.servlet.tbeans.dataselectors.filters.timebased.olap.html.OLAPTimeBasedFilterSelectorKeysInterface |
---|
OTFS_CURRENT_FIRST_PERIOD_LABEL, OTFS_CURRENT_LAST_PERIOD_LABEL, OTFS_END_TREE, OTFS_ENDING_LABEL, OTFS_ENDING_RADIO, OTFS_FIRST_ENDING_RADIO, OTFS_FIRST_SHOW_RADIO, OTFS_FIRST_STARTING_RADIO, OTFS_ID, OTFS_LEGEND_LABEL, OTFS_NUMBER_OF_PERIODS_TEXT_ENTRY, OTFS_PERIOD_TYPE_CHOICE, OTFS_PERIOD_TYPE_LABEL, OTFS_SELECT_CHECK_BOX_LIST, OTFS_SELECT_CHECK_BOX_LIST_ID, OTFS_SELECT_LABEL, OTFS_SELECT_LABEL_ID, OTFS_SELECT_RADIO, OTFS_SELECT_RADIO_ID, OTFS_SHOW_LABEL, OTFS_SHOW_RADIO, OTFS_START_TREE, OTFS_STARTING_LABEL, OTFS_STARTING_RADIO |
Fields inherited from interface com.sas.servlet.tbeans.dataselectors.filters.timebased.olap.html.OLAPTimeBasedFilterSelectorStyleKeysInterface |
---|
OTFS_CHOICE_STYLE, OTFS_COMPONENT_SPACER_STYLE, OTFS_FIELDSET_LEGEND_STYLE, OTFS_LABEL_STYLE, OTFS_RADIO_LABEL_ITALIC_STYLE, OTFS_SELECTOR_ROW_SPACER_STYLE, OTFS_TEXT_ENTRY_STYLE |
Constructor Summary | |
---|---|
OLAPTimeBasedFilterSelectorPanel()
Default constructor. |
|
OLAPTimeBasedFilterSelectorPanel(java.lang.String name)
Constructor using the given name. |
|
OLAPTimeBasedFilterSelectorPanel(java.lang.String name,
Form containerTreeRemoteScriptForm)
|
Method Summary | |
---|---|
protected void |
addComponents()
Creates the components and adds them to the selector's template dictionary. |
void |
cleanUpResources()
This method releases all of the necessary resources that were needed by the transformation bean to render itself. |
void |
close()
Base implementation that does nothing. |
java.lang.String |
getContainerFormName()
Returns the name of the form object of the container panel. |
java.lang.String |
getContainerRemoteScriptingFormName()
Returns the name of the remote scripting form object of the container panel. |
java.lang.String |
getJavaScriptOLAPTimeBasedFilterSelectorVariableName()
|
boolean |
isComponent()
|
protected void |
setComponentValues()
Populates ChoiceBoxes TextEntries etc. |
void |
setContainerFormName(java.lang.String value)
Sets the name of the form object of the container panel. |
void |
setContainerRemoteScriptingFormName(java.lang.String value)
Sets the name of the remote scripting form object of the container panel. |
protected void |
setContainerRemoteTreeScriptForm(Form form)
|
void |
setIsComponent(boolean isComponent)
Sets the isComponent flag |
protected void |
setLocaleDependentProperties(java.util.Locale locale)
Sets the locale dependent properties. |
void |
setSelectorModel(java.lang.Object selectormodel)
Sets the selector's data model |
void |
write(java.io.PrintWriter out)
Writes the custom attributes of the object. |
void |
write(java.io.PrintWriter out,
boolean isComponent)
|
protected void |
writeActionProviderFields(java.io.PrintWriter out)
Writes the fields needed to identify the ActionProvider, the CMDID and the selector's MODE. |
void |
writeRemoteScriptCommands(java.io.PrintWriter out)
Writes out the remote script commands for updating the selector |
Methods inherited from class com.sas.servlet.tbeans.dataselectors.html.SelectorPanel |
---|
getAdditionalParameters, getDefaultFormObject, getFormObject, getIframeName, isFormEnabled, setAdditionalParameter, setAdditionalParameters, setFormEnabled, setFormObject, setIframeName, writeRemoteScriptFrame, writeSelectorPanelFooter, writeSelectorPanelHeader |
Methods inherited from class com.sas.servlet.tbeans.dataselectors.BaseSelectorPanel |
---|
contentsChanged, getActionProvider, getCommandId, getImageLocation, getSelector, getSelectorModel, setActionProvider, setCommandId, setImageLocation, setSelector |
Methods inherited from interface com.sas.actionprovider.HttpActionProviderInterface |
---|
getRequest |
Field Detail |
---|
protected boolean isComponent
public static final java.lang.String RB_KEY
public static final java.lang.String RB_KEY2
public static final java.lang.String DEFAULT_TEMPLATE_FILE_NAME
protected static java.lang.String RADIOBOX_STYLEMAP_KEY
protected static java.lang.String RADIOBOX_LABEL_STYLEMAP_KEY
protected java.lang.String isNPeriodsNonBlankErrorMessage
protected java.lang.String isNPeriodsNonNumericErrorMessage
protected java.lang.String isNPeriodsNonIntegerErrorMessage
protected java.lang.String isNPeriodsMinValueValidErrorMessage
protected java.lang.String noStartingPeriodSelectedErrorMessage
protected java.lang.String noEndingPeriodSelectedErrorMessage
Constructor Detail |
---|
public OLAPTimeBasedFilterSelectorPanel()
public OLAPTimeBasedFilterSelectorPanel(java.lang.String name)
name
- String to set the namepublic OLAPTimeBasedFilterSelectorPanel(java.lang.String name, Form containerTreeRemoteScriptForm)
Method Detail |
---|
protected void setLocaleDependentProperties(java.util.Locale locale)
BaseTransformation
setLocaleDependentProperties
in class BaseTransformation
protected void addComponents()
protected void setComponentValues()
public void write(java.io.PrintWriter out, boolean isComponent) throws java.io.IOException
out
- the OutputStream to write toisComponent
- true if this panel is being included into another, false otherwise
java.io.IOException
public void write(java.io.PrintWriter out) throws java.io.IOException
BaseCompositeTransformation
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 setSelectorModel(java.lang.Object selectormodel)
setSelectorModel
in class BaseSelectorPanel
selectormodel
- The selector's data modelpublic void cleanUpResources()
BaseTransformation
request
and response
. This method
calls the setRequest and setResponse methods with a null value.
cleanUpResources
in class BaseTransformation
protected void writeActionProviderFields(java.io.PrintWriter out)
out
- The PrintWriter to which the fields should be written.public java.lang.String getJavaScriptOLAPTimeBasedFilterSelectorVariableName()
getJavaScriptOLAPTimeBasedFilterSelectorVariableName
in interface OLAPTimeBasedFilterSelectorKeysInterface
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 setContainerFormName(java.lang.String value)
ComponentSelectorPanelInterface
setContainerFormName
in interface ComponentSelectorPanelInterface
value
- the name of the form object of the container panel.public java.lang.String getContainerFormName()
ComponentSelectorPanelInterface
getContainerFormName
in interface ComponentSelectorPanelInterface
public void setContainerRemoteScriptingFormName(java.lang.String value)
ComponentSelectorPanelInterface
setContainerRemoteScriptingFormName
in interface ComponentSelectorPanelInterface
value
- the name of the remote scripting form object of the container panel.public java.lang.String getContainerRemoteScriptingFormName()
ComponentSelectorPanelInterface
getContainerRemoteScriptingFormName
in interface ComponentSelectorPanelInterface
protected void setContainerRemoteTreeScriptForm(Form form)
public void writeRemoteScriptCommands(java.io.PrintWriter out) throws java.io.IOException
writeRemoteScriptCommands
in class SelectorPanel
out
- The PrintWriter
java.io.IOException
public void close()
SelectorPanel
Subclasses may override this when they want to know a commit or cancel has occured on the selector.
close
in class SelectorPanel
|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |