|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Enum
com.trolltech.qt.gui.QTextOption.WrapMode
public static final class QTextOption.WrapMode
This enum describes how text is wrapped in a document.
Field Summary | |
---|---|
static QTextOption.WrapMode |
ManualWrap
Wrapping occurs at a manually specified length from the start of the line. |
static QTextOption.WrapMode |
NoWrap
Text is not wrapped at all. |
static QTextOption.WrapMode |
WordWrap
Text is wrapped at word boundaries. |
static QTextOption.WrapMode |
WrapAnywhere
Text can be wrapped at any point on a line, even if it occurs in the middle of a word. |
static QTextOption.WrapMode |
WrapAtWordBoundaryOrAnywhere
If possible, wrapping occurs at a word boundary; otherwise it will occur at the appropriate point on the line, even in the middle of a word. |
Method Summary | |
---|---|
static QTextOption.WrapMode |
resolve(int value)
|
int |
value()
This function should return an integer value for the enum values of the enumeration that implements this interface. |
static QTextOption.WrapMode |
valueOf(java.lang.String name)
|
static QTextOption.WrapMode[] |
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 |
---|
public static final QTextOption.WrapMode NoWrap
public static final QTextOption.WrapMode WordWrap
public static final QTextOption.WrapMode ManualWrap
public static final QTextOption.WrapMode WrapAnywhere
public static final QTextOption.WrapMode WrapAtWordBoundaryOrAnywhere
Method Detail |
---|
public static QTextOption.WrapMode[] values()
public static QTextOption.WrapMode valueOf(java.lang.String name)
public int value()
value
in interface QtEnumerator
public static QTextOption.WrapMode resolve(int value)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |