com.groiss.gui.component
Class PasswordField

java.lang.Object
  extended by com.groiss.gui.AbstractComponent
      extended by com.groiss.gui.component.Textfield
          extended by com.groiss.gui.component.PasswordField
All Implemented Interfaces:
Component, java.io.Serializable, java.lang.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:
Serialized Form

Field Summary
 
Fields inherited from class com.groiss.gui.AbstractComponent
actions, ACTIVE, browserMode, DEFAULT, ID, IE, INVISIBLE, isSensitive, label, NS, ON_BLUR, ON_CHANGE, ON_CLICK, ON_DBLCLICK, ON_FOCUS, ON_KEY_DOWN, ON_KEY_PRESS, ON_KEY_UP, ON_LOAD, ON_MOUSE_DOWN, ON_MOUSE_MOVE, ON_MOUSE_OUT, ON_MOUSE_UP, ON_RESET, ON_SELECT, ON_SUBMIT, ON_UNLOAD, outputter, parent, parentElem, READONLY, root, viewMode
 
Constructor Summary
PasswordField()
          Constructs a new empty password field.
PasswordField(java.lang.String name)
          Constructs a password field with a name.
PasswordField(java.lang.String name, int size)
           
PasswordField(java.lang.String name, java.lang.String value)
          Constructs a password field with a name and a value.
PasswordField(java.lang.String name, java.lang.String value, int size, int length)
          Constructs a password field with name, value, size, and length.
PasswordField(java.lang.String name, java.lang.String value, java.lang.String styleClass)
          Constructs a password field with a name, value, and style.
 
Method Summary
 
Methods inherited from class com.groiss.gui.component.Textfield
getContent, getMaxlength, getSize, getValue, setContent, setMaxlength, setSize, setValue
 
Methods inherited from class com.groiss.gui.AbstractComponent
clone, create, getActionListener, getAttribute, getBrowserMode, getId, getLabel, getName, getParent, getParentElement, getRoot, getRootName, getStyle, getViewMode, init, init, init, removeAttribute, setActionListener, setAttribute, setBrowserMode, setEncoding, setExpandEmptyElements, setId, setIndenting, setLabel, setName, setNewLines, setParent, setParentElement, setRootName, setStyle, setViewMode, show, show, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PasswordField

public PasswordField()
Constructs a new empty password field.


PasswordField

public PasswordField(java.lang.String name)
Constructs a password field with a name.

Parameters:
name - - the name of the field

PasswordField

public PasswordField(java.lang.String name,
                     int size)

PasswordField

public PasswordField(java.lang.String name,
                     java.lang.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(java.lang.String name,
                     java.lang.String value,
                     java.lang.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(java.lang.String name,
                     java.lang.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


@enterprise 8.0.22989 Copyright © 2001-2017 Groiss Informatics GmbH. All Rights Reserved.