|
|||||||||
| 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.QTextCursor.SelectionType
public static final class QTextCursor.SelectionType
This enum describes the types of selection that can be applied with the select() function.
| Field Summary | |
|---|---|
static QTextCursor.SelectionType |
BlockUnderCursor
Selects the block of text under the cursor. |
static QTextCursor.SelectionType |
Document
Selects the entire document. |
static QTextCursor.SelectionType |
LineUnderCursor
Selects the line of text under the cursor. |
static QTextCursor.SelectionType |
WordUnderCursor
Selects the word under the cursor. |
| Method Summary | |
|---|---|
static QTextCursor.SelectionType |
resolve(int value)
|
int |
value()
This function should return an integer value for the enum values of the enumeration that implements this interface. |
static QTextCursor.SelectionType |
valueOf(java.lang.String name)
|
static QTextCursor.SelectionType[] |
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 QTextCursor.SelectionType WordUnderCursor
public static final QTextCursor.SelectionType LineUnderCursor
public static final QTextCursor.SelectionType BlockUnderCursor
public static final QTextCursor.SelectionType Document
| Method Detail |
|---|
public static QTextCursor.SelectionType[] values()
public static QTextCursor.SelectionType valueOf(java.lang.String name)
public int value()
value in interface QtEnumeratorpublic static QTextCursor.SelectionType resolve(int value)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||