public enum TextWidth extends Enum<TextWidth>
Defines the width of a formatted output of chronological element values as text.
| Enum Constant and Description |
|---|
ABBREVIATED
Abbreviation (long form).
|
NARROW
Symbol form (typically only one single letter).
|
SHORT
Abbreviation (short form - usually identical with
ABBREVIATED). |
WIDE
Full text width.
|
| Modifier and Type | Method and Description |
|---|---|
static TextWidth |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TextWidth[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TextWidth WIDE
public static final TextWidth ABBREVIATED
public static final TextWidth SHORT
ABBREVIATED).public static final TextWidth NARROW
public static TextWidth[] values()
for (TextWidth c : TextWidth.values()) System.out.println(c);
public static TextWidth 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 © 2014–2015. All rights reserved.