|
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<QTextCursor.MoveOperation>
com.trolltech.qt.gui.QTextCursor.MoveOperation
public static enum QTextCursor.MoveOperation
Press link for info on QTextCursor.MoveOperation
Enum Constant Summary | |
---|---|
Down
Move down one line. |
|
End
Move to the end of the document. |
|
EndOfBlock
Move to the end of the current block. |
|
EndOfLine
Move to the end of the current line. |
|
EndOfWord
Move to the end of the current word. |
|
Left
Move left one character. |
|
NextBlock
Move to the beginning of the next block. |
|
NextCharacter
Move to the next character. |
|
NextWord
Move to the next word. |
|
NoMove
Keep the cursor where it is |
|
PreviousBlock
Move to the start of the previous block. |
|
PreviousCharacter
Move to the previous character. |
|
PreviousWord
Move to the beginning of the previous word. |
|
Right
Move right one character. |
|
Start
Move to the start of the document. |
|
StartOfBlock
Move to the start of the current block. |
|
StartOfLine
Move to the start of the current line. |
|
StartOfWord
Move to the start of the current word. |
|
Up
Move up one line. |
|
WordLeft
Move left one word. |
|
WordRight
Move right one word. |
Method Summary | |
---|---|
static QTextCursor.MoveOperation |
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.MoveOperation |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static QTextCursor.MoveOperation[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final QTextCursor.MoveOperation NoMove
Keep the cursor where it is
public static final QTextCursor.MoveOperation Start
Move to the start of the document.
public static final QTextCursor.MoveOperation Up
Move up one line.
public static final QTextCursor.MoveOperation StartOfLine
Move to the start of the current line.
public static final QTextCursor.MoveOperation StartOfBlock
Move to the start of the current block.
public static final QTextCursor.MoveOperation StartOfWord
Move to the start of the current word.
public static final QTextCursor.MoveOperation PreviousBlock
Move to the start of the previous block.
public static final QTextCursor.MoveOperation PreviousCharacter
Move to the previous character.
public static final QTextCursor.MoveOperation PreviousWord
Move to the beginning of the previous word.
public static final QTextCursor.MoveOperation Left
Move left one character.
public static final QTextCursor.MoveOperation WordLeft
Move left one word.
public static final QTextCursor.MoveOperation End
Move to the end of the document.
public static final QTextCursor.MoveOperation Down
Move down one line.
public static final QTextCursor.MoveOperation EndOfLine
Move to the end of the current line.
public static final QTextCursor.MoveOperation EndOfWord
Move to the end of the current word.
public static final QTextCursor.MoveOperation EndOfBlock
Move to the end of the current block.
public static final QTextCursor.MoveOperation NextBlock
Move to the beginning of the next block.
public static final QTextCursor.MoveOperation NextCharacter
Move to the next character.
public static final QTextCursor.MoveOperation NextWord
Move to the next word.
public static final QTextCursor.MoveOperation Right
Move right one character.
public static final QTextCursor.MoveOperation WordRight
Move right one word.
Method Detail |
---|
public static final QTextCursor.MoveOperation[] values()
for(QTextCursor.MoveOperation c : QTextCursor.MoveOperation.values()) System.out.println(c);
public static QTextCursor.MoveOperation valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namepublic int value()
QtEnumerator
value
in interface QtEnumerator
public static QTextCursor.MoveOperation resolve(int value)
|
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |