com.trolltech.qt.gui
Class QValidator.State

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

public static final class QValidator.State
extends java.lang.Enum
implements QtEnumerator

This enum type defines the states in which a validated string can exist.

See Also:
Serialized Form

Field Summary
static QValidator.State Acceptable
          The string is acceptable as a final result; i.e.
static QValidator.State Intermediate
          The string is a plausible intermediate value.
static QValidator.State Invalid
          The string is clearly invalid.
 
Method Summary
static QValidator.State resolve(int value)
          Returns the QValidator$State 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 QValidator.State valueOf(java.lang.String name)
           
static QValidator.State[] 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

Invalid

public static final QValidator.State Invalid
The string is clearly invalid.


Intermediate

public static final QValidator.State Intermediate
The string is a plausible intermediate value.


Acceptable

public static final QValidator.State Acceptable
The string is acceptable as a final result; i.e. it is valid.

Method Detail

values

public static QValidator.State[] values()

valueOf

public static QValidator.State 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 QValidator.State resolve(int value)
Returns the QValidator$State constant with the specified int.