com.trolltech.qt.gui
Class QTextEdit.AutoFormattingFlag

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

public static final class QTextEdit.AutoFormattingFlag
extends java.lang.Enum
implements QtEnumerator

See Also:
Serialized Form

Field Summary
static QTextEdit.AutoFormattingFlag AutoAll
          Apply all automatic formatting.
static QTextEdit.AutoFormattingFlag AutoBulletList
          Automatically create bullet lists (e.g.
static QTextEdit.AutoFormattingFlag AutoNone
          Don't do any automatic formatting.
 
Method Summary
static QTextEdit.AutoFormatting createQFlags(QTextEdit.AutoFormattingFlag[] values)
          This function creates a com.trolltech.qt.gui.QTextEdit$AutoFormatting with the specified com.trolltech.qt.gui.QTextEdit$AutoFormattingFlag[] QTextEdit$AutoFormattingFlag values set.
static QTextEdit.AutoFormattingFlag resolve(int value)
          Returns the QTextEdit$AutoFormattingFlag 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 QTextEdit.AutoFormattingFlag valueOf(java.lang.String name)
           
static QTextEdit.AutoFormattingFlag[] 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

AutoNone

public static final QTextEdit.AutoFormattingFlag AutoNone
Don't do any automatic formatting.


AutoBulletList

public static final QTextEdit.AutoFormattingFlag AutoBulletList
Automatically create bullet lists (e.g. when the user enters an asterisk ('*') in the left most column, or presses Enter in an existing list item.


AutoAll

public static final QTextEdit.AutoFormattingFlag AutoAll
Apply all automatic formatting. Currently only automatic bullet lists are supported.

Method Detail

values

public static QTextEdit.AutoFormattingFlag[] values()

valueOf

public static QTextEdit.AutoFormattingFlag 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 QTextEdit.AutoFormatting createQFlags(QTextEdit.AutoFormattingFlag[] values)
This function creates a com.trolltech.qt.gui.QTextEdit$AutoFormatting with the specified com.trolltech.qt.gui.QTextEdit$AutoFormattingFlag[] QTextEdit$AutoFormattingFlag values set.


resolve

public static QTextEdit.AutoFormattingFlag resolve(int value)
Returns the QTextEdit$AutoFormattingFlag constant with the specified int.