public enum TextUnit extends Enum<TextUnit>
| Enum Constant and Description |
|---|
TextUnit_Character
The value of this constant is 0
|
TextUnit_Document
The value of this constant is 6
|
TextUnit_Format
The value of this constant is 1
|
TextUnit_Line
The value of this constant is 3
|
TextUnit_Page
The value of this constant is 5
|
TextUnit_Paragraph
The value of this constant is 4
|
TextUnit_Word
The value of this constant is 2
|
| Modifier and Type | Method and Description |
|---|---|
static TextUnit |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TextUnit[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TextUnit TextUnit_Character
The value of this constant is 0
public static final TextUnit TextUnit_Format
The value of this constant is 1
public static final TextUnit TextUnit_Word
The value of this constant is 2
public static final TextUnit TextUnit_Line
The value of this constant is 3
public static final TextUnit TextUnit_Paragraph
The value of this constant is 4
public static final TextUnit TextUnit_Page
The value of this constant is 5
public static final TextUnit TextUnit_Document
The value of this constant is 6
public static TextUnit[] values()
for (TextUnit c : TextUnit.values()) System.out.println(c);
public static TextUnit valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2016. All rights reserved.