Class PasswordField

All Implemented Interfaces:
Component, Serializable, Cloneable

public class PasswordField extends Textfield
A HTML password element. <input type=password Like the Text component but the text is not displayed as it is entered.
See Also:
  • Constructor Details

    • PasswordField

      public PasswordField()
      Constructs a new empty password field.
    • PasswordField

      public PasswordField(String name)
      Constructs a password field with a name.
      Parameters:
      name - - the name of the field
    • PasswordField

      public PasswordField(String name, int size)
    • PasswordField

      public PasswordField(String name, String value)
      Constructs a password field with a name and a value.
      Parameters:
      name - the name of the field
      value - the initial value
    • PasswordField

      public PasswordField(String name, String value, String styleClass)
      Constructs a password field with a name, value, and style.
      Parameters:
      name - the name and id of the field
      value - the initial value
      styleClass - the name of a CSS class
    • PasswordField

      public PasswordField(String name, String value, int size, int length)
      Constructs a password field with name, value, size, and length.
      Parameters:
      name - the name and id of the field
      value - the initial value
      size - the size of the PasswordField
      length - the maximal length of the text in the PasswordField