com.trolltech.qt.gui
Class QDoubleValidator.Notation

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

public static final class QDoubleValidator.Notation
extends java.lang.Enum
implements QtEnumerator

This enum defines the allowed notations for entering a double.

See Also:
Serialized Form

Field Summary
static QDoubleValidator.Notation ScientificNotation
          The string is written in scientific form.
static QDoubleValidator.Notation StandardNotation
          The string is written as a standard number (i.e.
 
Method Summary
static QDoubleValidator.Notation resolve(int value)
          Returns the QDoubleValidator$Notation 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 QDoubleValidator.Notation valueOf(java.lang.String name)
           
static QDoubleValidator.Notation[] 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

StandardNotation

public static final QDoubleValidator.Notation StandardNotation
The string is written as a standard number (i.e. 0.015).


ScientificNotation

public static final QDoubleValidator.Notation ScientificNotation
The string is written in scientific form. It may have an exponent part(i.e. 1.5E-2).

Method Detail

values

public static QDoubleValidator.Notation[] values()

valueOf

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