|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<TextRange.Unit>
org.xwiki.gwt.dom.client.internal.ie.TextRange.Unit
public static enum TextRange.Unit
A unit defining a fragment of a text range. It is used when moving the end points of a text range.
| Enum Constant Summary | |
|---|---|
CHARACTER
A character. |
|
SENTENCE
A sentence is a collection of words terminated by a punctuation character, such as a period. |
|
TEXTEDIT
The start or end of the original range. |
|
WORD
A word is a collection of characters terminated by a space or some other white-space character, such as a tab. |
|
| Method Summary | |
|---|---|
static TextRange.Unit |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static TextRange.Unit[] |
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 TextRange.Unit CHARACTER
public static final TextRange.Unit WORD
public static final TextRange.Unit SENTENCE
public static final TextRange.Unit TEXTEDIT
| Method Detail |
|---|
public static final TextRange.Unit[] values()
for(TextRange.Unit c : TextRange.Unit.values())
System.out.println(c);
public static TextRange.Unit 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 name
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||