com.trolltech.qt.gui
Class QLineEdit.EchoMode

java.lang.Object
  extended by java.lang.Enum
      extended by com.trolltech.qt.gui.QLineEdit.EchoMode
All Implemented Interfaces:
QtEnumerator, java.io.Serializable, java.lang.Comparable
Enclosing class:
QLineEdit

public static final class QLineEdit.EchoMode
extends java.lang.Enum
implements QtEnumerator

This enum type describes how a line edit should display its contents.

See also:
setEchoMode(), and echoMode().

See Also:
Serialized Form

Field Summary
static QLineEdit.EchoMode NoEcho
          Do not display anything.
static QLineEdit.EchoMode Normal
          Display characters as they are entered.
static QLineEdit.EchoMode Password
          Display asterisks instead of the characters actually entered.
static QLineEdit.EchoMode PasswordEchoOnEdit
          Display characters as they are entered while editing otherwise display asterisks.
 
Method Summary
static QLineEdit.EchoMode resolve(int value)
          Returns the QLineEdit$EchoMode constant with the specified int.
 int value()
          This function should return an integer value for the enum values of the enumeration that implements this interface.
static QLineEdit.EchoMode valueOf(java.lang.String name)
           
static QLineEdit.EchoMode[] values()
           
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

Normal

public static final QLineEdit.EchoMode Normal
Display characters as they are entered. This is the default.


NoEcho

public static final QLineEdit.EchoMode NoEcho
Do not display anything. This may be appropriate for passwords where even the length of the password should be kept secret.


Password

public static final QLineEdit.EchoMode Password
Display asterisks instead of the characters actually entered.


PasswordEchoOnEdit

public static final QLineEdit.EchoMode PasswordEchoOnEdit
Display characters as they are entered while editing otherwise display asterisks.

Method Detail

values

public static QLineEdit.EchoMode[] values()

valueOf

public static QLineEdit.EchoMode valueOf(java.lang.String name)

value

public int value()
This function should return an integer value for the enum values of the enumeration that implements this interface.

Specified by:
value in interface QtEnumerator

resolve

public static QLineEdit.EchoMode resolve(int value)
Returns the QLineEdit$EchoMode constant with the specified int.