public enum Autocapitalize extends Enum<Autocapitalize>
autocapitalize
attribute.Enum Constant and Description |
---|
CHARACTERS
Automatically capitalize all characters.
|
NONE
Completely disable automatic capitalization.
|
SENTENCES
Automatically capitalize the first letter of sentences.
|
WORDS
Automatically capitalize the first letter of words.
|
Modifier and Type | Method and Description |
---|---|
static Autocapitalize |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Autocapitalize[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Autocapitalize NONE
public static final Autocapitalize SENTENCES
public static final Autocapitalize WORDS
public static final Autocapitalize CHARACTERS
public static Autocapitalize[] values()
for (Autocapitalize c : Autocapitalize.values()) System.out.println(c);
public static Autocapitalize 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 © 2019. All rights reserved.