com.sas.servlet.tbeans.dataselectors.exceptionhighlighting.html
Class ExceptionHighlightingSelector

com.sas.servlet.tbeans.dataselectors.exceptionhighlighting.html.ExceptionHighlightingSelector
All Implemented Interfaces:
HttpActionProviderInterface, com.sas.beans.PropertyChangeSource, DataSelectorInterface, HttpDataSelectorInterface, com.sas.dataselectors.SelectorCloseInterface, com.sas.lang.ObjectDataInterface, com.sas.servlet.tbeans.AJAXControllerURLInterface, ComplexStyleInterface, CompositeComponentInterface, SelectorContainerStyleKeysInterface, SelectorContainerKeysInterface, FormViewInterface, RenderableInterface, TemplateInterface, com.sas.servlet.tbeans.TemplateKeyInterface, TransformationInterface, com.sas.util.WriteToPrintWriterInterface, java.io.Serializable

public class ExceptionHighlightingSelector

The ExceptionHighlightingSelector is a TransformationBean™ that generates the appropriate HTML 4.0 to represent a selector which can be used with data viewers to enable conditional highlighting of data values. This selector is a composite view containing a ExceptionHighlightingSelectorPanel and OK and Cancel buttons.

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 .

Since:
3.1.4
See Also:
ExceptionHighlightingSelectorPanel, Serialized Form

Field Summary
 
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
ExceptionHighlightingSelector()
          Default constructor.
ExceptionHighlightingSelector(java.lang.String id)
          Id constructor.
 
Method Summary
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, setActionProvider, setButtonsVisible, setClosingFunctionName, setCommandId, 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 class com.sas.servlet.tbeans.BaseTransformation
addPropertyChangeListener, addPropertyChangeListener, cleanUpResources, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getCustomAttributes, getDescription, getId, getInputTransform, getLocale, getName, getObjectData, getObjectDataProperty, getOutputTransform, getRequest, getResponse, getTagEpilog, getTagProlog, hasListeners, isCleanUpResourcesOn, isVisible, removePropertyChangeListener, removePropertyChangeListener, setCustomAttributes, setInputTransform, setName, setObjectData, setObjectDataProperty, setOutputTransform, setTagEpilog, setTagProlog, setVisible, toString, write, write, write
 
Methods inherited from interface com.sas.dataselectors.DataSelectorInterface
isVisible, setVisible
 
Methods inherited from interface com.sas.actionprovider.HttpActionProviderInterface
getRequest
 

Constructor Detail

ExceptionHighlightingSelector

public ExceptionHighlightingSelector()
Default constructor.


ExceptionHighlightingSelector

public ExceptionHighlightingSelector(java.lang.String id)
Id constructor.

Parameters:
id - The id of this selector.
Method Detail

setLocaleDependentProperties

protected void setLocaleDependentProperties(java.util.Locale locale)
Description copied from class: AbstractSelectorContainer
Sets component properties that depend on the user locale

Overrides:
setLocaleDependentProperties in class AbstractSelectorContainer
Parameters:
locale - - the user locale

write

public void write(java.io.PrintWriter out)
           throws java.io.IOException
Description copied from class: AbstractSelectorContainer
Writes the selector

Specified by:
write in interface HttpDataSelectorInterface
Specified by:
write in interface TransformationInterface
Specified by:
write in interface com.sas.util.WriteToPrintWriterInterface
Overrides:
write in class AbstractSelectorContainer
Parameters:
out - - the output stream
Throws:
java.io.IOException - Thrown if some type of I/O error occurs



Copyright © 2009 SAS Institute Inc. All Rights Reserved.