com.trolltech.qt.core
Class Qt.WhiteSpaceMode

java.lang.Object
  extended by java.lang.Enum
      extended by com.trolltech.qt.core.Qt.WhiteSpaceMode
All Implemented Interfaces:
QtEnumerator, java.io.Serializable, java.lang.Comparable
Enclosing interface:
Qt

public static final class Qt.WhiteSpaceMode
extends java.lang.Enum
implements QtEnumerator

This enum describes the types of whitespace mode that are used by the QTextDocument class to meet the requirements of different kinds of textual information. This enum is defined in the <QTextDocument> header file.

See Also:
Serialized Form

Field Summary
static Qt.WhiteSpaceMode WhiteSpaceModeUndefined
           
static Qt.WhiteSpaceMode WhiteSpaceNormal
          The whitespace mode used to display normal word wrapped text in paragraphs.
static Qt.WhiteSpaceMode WhiteSpaceNoWrap
           
static Qt.WhiteSpaceMode WhiteSpacePre
          A preformatted text mode in which whitespace is reproduced exactly.
 
Method Summary
static Qt.WhiteSpaceMode resolve(int value)
          Returns the Qt$WhiteSpaceMode 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 Qt.WhiteSpaceMode valueOf(java.lang.String name)
           
static Qt.WhiteSpaceMode[] 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

WhiteSpaceNormal

public static final Qt.WhiteSpaceMode WhiteSpaceNormal
The whitespace mode used to display normal word wrapped text in paragraphs.


WhiteSpacePre

public static final Qt.WhiteSpaceMode WhiteSpacePre
A preformatted text mode in which whitespace is reproduced exactly.


WhiteSpaceNoWrap

public static final Qt.WhiteSpaceMode WhiteSpaceNoWrap

WhiteSpaceModeUndefined

public static final Qt.WhiteSpaceMode WhiteSpaceModeUndefined
Method Detail

values

public static Qt.WhiteSpaceMode[] values()

valueOf

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