com.sas.servlet.tbeans.form
Class BasePassword

com.sas.servlet.tbeans.form.BasePassword
All Implemented Interfaces:
com.sas.beans.PropertyChangeSource, com.sas.lang.ObjectDataInterface, FormElementModificationEventInterface, com.sas.servlet.tbeans.form.JavaScriptObjectCreationInterface, com.sas.servlet.tbeans.JavaScriptEventHandlerInterface, RenderableInterface, TransformationInterface, GenericValidatorInterface, com.sas.util.WriteToPrintWriterInterface, java.io.Serializable
Direct Known Subclasses:
Password

public abstract class BasePassword

The BasePassword is an abstract TransformationBean™ for creating a password input field.

The Password element is like the TextEntry element, but the input text is rendered in such a way as to hide the characters (e.g., a series of asterisks).

This control type is often used for sensitive input such as passwords. Please note that the current value is the text entered by the user, not the text rendered by the user agent.

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:

JSP custom tags provide an alternative to using the TransformationBeans™. Visit the Custom Tag Library Reference for additional information on the sas:Password custom tag.

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 .

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.sas.servlet.tbeans.form.BaseFormElement
RB_KEY
 
Constructor Summary
BasePassword()
           
 
Method Summary
 boolean isAutoComplete()
          Returns true if auto complete is turned on the input element, false otherwise.
 void setAutoComplete(boolean value)
          Sets the state of the autoComplete on this input element.
 
Methods inherited from class com.sas.servlet.tbeans.form.BaseInput
getInitialText, getMaximumLength, getSize, getText, isReadOnly, setInitialText, setMaximumLength, setReadOnly, setSize, setText
 
Methods inherited from class com.sas.servlet.tbeans.form.BaseFormElement
getAccessKey, getErrorHandler, getModificationEventName, getName, getOnBlur, getOnChange, getOnClick, getOnDblClick, getOnFocus, getOnKeyDown, getOnKeyPress, getOnKeyUp, getOnMouseDown, getOnMouseMove, getOnMouseOut, getOnMouseOver, getOnMouseUp, getOnSelect, getStyleInfo, getTabIndex, getTitle, getValidationFunctions, getValidator, isEnabled, isValid, isValidationEnabled, setAccessKey, setEnabled, setErrorHandler, setId, setModificationEventName, setName, setOnBlur, setOnChange, setOnClick, setOnDblClick, setOnFocus, setOnKeyDown, setOnKeyPress, setOnKeyUp, setOnMouseDown, setOnMouseMove, setOnMouseOut, setOnMouseOver, setOnMouseUp, setOnSelect, setStyleInfo, setTabIndex, setTitle, setValidator, write, writeJavaScriptObject, writeJavaScriptObjectValidate, writeJavaScriptValidatorObject, writeValidationScript
 
Methods inherited from class com.sas.servlet.tbeans.BaseTransformation
addPropertyChangeListener, addPropertyChangeListener, cleanUpResources, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getCustomAttributes, getDescription, getId, getInputTransform, getLocale, getObjectData, getObjectDataProperty, getOutputTransform, getRequest, getResponse, getTagEpilog, getTagProlog, hasListeners, isCleanUpResourcesOn, isVisible, removePropertyChangeListener, removePropertyChangeListener, setCleanUpResourcesOn, setCustomAttributes, setDescription, setInputTransform, setLocale, setLocaleDependentProperties, setObjectData, setObjectDataProperty, setOutputTransform, setRequest, setResponse, setTagEpilog, setTagProlog, setVisible, toString, write, write, write
 

Constructor Detail

BasePassword

public BasePassword()
Method Detail

setAutoComplete

public void setAutoComplete(boolean value)
Sets the state of the autoComplete on this input element. If autoComplete is turned off, the input element will write out autocomplete='off'; otherwise autocomplete property will not be written

Overrides:
setAutoComplete in class BaseTextEntry
Parameters:
value - the state of the input field's auto completion

isAutoComplete

public boolean isAutoComplete()
Returns true if auto complete is turned on the input element, false otherwise.

Overrides:
isAutoComplete in class BaseTextEntry
Returns:
the state of the input field's auto completion



Copyright © 2009 SAS Institute Inc. All Rights Reserved.