com.trolltech.qt.gui
Class QTextItem.RenderFlag

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

public static final class QTextItem.RenderFlag
extends java.lang.Enum
implements QtEnumerator

See Also:
Serialized Form

Field Summary
static QTextItem.RenderFlag Dummy
           
static QTextItem.RenderFlag Overline
          Paint a line above the text.
static QTextItem.RenderFlag RightToLeft
          Render the text from right to left.
static QTextItem.RenderFlag StrikeOut
          Paint a line through the text.
static QTextItem.RenderFlag Underline
          Paint a line under the text.
 
Method Summary
static QTextItem.RenderFlags createQFlags(QTextItem.RenderFlag[] values)
          This function creates a com.trolltech.qt.gui.QTextItem$RenderFlags with the specified com.trolltech.qt.gui.QTextItem$RenderFlag[] QTextItem$RenderFlag values set.
static QTextItem.RenderFlag resolve(int value)
          Returns the QTextItem$RenderFlag 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 QTextItem.RenderFlag valueOf(java.lang.String name)
           
static QTextItem.RenderFlag[] 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

RightToLeft

public static final QTextItem.RenderFlag RightToLeft
Render the text from right to left.


Overline

public static final QTextItem.RenderFlag Overline
Paint a line above the text.


Underline

public static final QTextItem.RenderFlag Underline
Paint a line under the text.


StrikeOut

public static final QTextItem.RenderFlag StrikeOut
Paint a line through the text.


Dummy

public static final QTextItem.RenderFlag Dummy
Method Detail

values

public static QTextItem.RenderFlag[] values()

valueOf

public static QTextItem.RenderFlag 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

createQFlags

public static QTextItem.RenderFlags createQFlags(QTextItem.RenderFlag[] values)
This function creates a com.trolltech.qt.gui.QTextItem$RenderFlags with the specified com.trolltech.qt.gui.QTextItem$RenderFlag[] QTextItem$RenderFlag values set.


resolve

public static QTextItem.RenderFlag resolve(int value)
Returns the QTextItem$RenderFlag constant with the specified int.