com.vaadin.ui.
Class PasswordField
java.lang.Object
com.vaadin.ui.AbstractComponent
com.vaadin.ui.AbstractField
com.vaadin.ui.AbstractTextField
com.vaadin.ui.PasswordField
All Implemented Interfaces:
Buffered, BufferedValidatable, Property, Property.Editor, Property.ReadOnlyStatusChangeListener, Property.ReadOnlyStatusChangeNotifier, Property.ValueChangeListener, Property.ValueChangeNotifier, Property.Viewer, Validatable, Action.ShortcutNotifier, FieldEvents.BlurNotifier, FieldEvents.FocusNotifier, FieldEvents.TextChangeNotifier, MethodEventSource, Paintable, Sizeable, VariableOwner, Component, Component.Focusable, Field, Serializable, EventListener
- extends AbstractTextField
public class PasswordField
A field that is used to enter secret text information like passwords. The entered text is not displayed on the screen.
See Also:
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.vaadin.ui.AbstractTextField |
---|
AbstractTextField.TextChangeEventImpl, AbstractTextField.TextChangeEventMode |
Nested classes/interfaces inherited from class com.vaadin.ui.AbstractField |
---|
AbstractField.FocusShortcut, AbstractField.ReadOnlyStatusChangeEvent |
Nested classes/interfaces inherited from class com.vaadin.ui.AbstractComponent |
---|
AbstractComponent.ComponentErrorEvent, AbstractComponent.ComponentErrorHandler |
Nested classes/interfaces inherited from interface com.vaadin.ui.Field |
---|
Field.ValueChangeEvent |
Nested classes/interfaces inherited from interface com.vaadin.data.Buffered |
---|
Buffered.SourceException |
Nested classes/interfaces inherited from interface com.vaadin.data.Property |
---|
Property.ConversionException, Property.Editor, Property.ReadOnlyException, Property.ReadOnlyStatusChangeListener, Property.ReadOnlyStatusChangeNotifier, Property.ValueChangeListener, Property.ValueChangeNotifier, Property.Viewer |
Constructor Summary | |
---|---|
PasswordField()
Constructs an empty PasswordField. |
|
PasswordField(Property dataSource)
Constructs a PasswordField with given property data source. |
|
PasswordField(String caption)
Constructs a PasswordField with given caption. |
|
PasswordField(String caption,
Property dataSource)
Constructs a PasswordField with given caption and property data source. |
|
PasswordField(String caption,
String value)
Constructs a PasswordField with given value and caption. |
Method Summary |
---|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.vaadin.ui.Field |
---|
getDescription, setCaption, setDescription |
Constructor Detail |
---|
PasswordField
public PasswordField()
Constructs an empty PasswordField.
PasswordField
public PasswordField(Property dataSource)
- Parameters:
dataSource
- the property data source for the field
Constructs a PasswordField with given property data source.
PasswordField
public PasswordField(String caption,
Property dataSource)
- Parameters:
caption
- the caption for the fielddataSource
- the property data source for the field
Constructs a PasswordField with given caption and property data source.
PasswordField
public PasswordField(String caption,
String value)
- Parameters:
caption
- the caption for the fieldvalue
- the value for the field
Constructs a PasswordField with given value and caption.
PasswordField
public PasswordField(String caption)
- Parameters:
caption
- the caption for the field
Constructs a PasswordField with given caption.