Class PasswordTextField

All Implemented Interfaces:
Serializable, Iterable<Component>, IEventSink, IEventSource, IFeedbackContributor, IConverterLocator, IGenericComponent<String,FormComponent<String>>, IMetadataContext<Serializable,Component>, IFormModelUpdateListener, IFormVisitorParticipant, ILabelProvider<String>, IHeaderContributor, IRequestableComponent, IHierarchical<Component>, IClusterable

public class PasswordTextField extends TextField<String>
A password text field component. As you type, characters show up as asterisks or some other such character so that nobody can look over your shoulder and read your password.

By default this text field is required. If it is not, call FormComponent.setRequired(boolean) with value of false.

Note that by default the model object is nullified after each request to prevent the entered password to be serialized along with the containing page, see setResetPassword(boolean) for details.

Author:
Jonathan Locke
See Also: