public static enum ListFormatter.Width extends Enum<ListFormatter.Width>
Enum Constant and Description |
---|
NARROW
Use list formatting of the shortest possible length.
|
SHORT
Use list formatting of typical length.
|
WIDE
Use list formatting with full words (no abbreviations) when possible.
|
Modifier and Type | Method and Description |
---|---|
static ListFormatter.Width |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ListFormatter.Width[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ListFormatter.Width WIDE
public static final ListFormatter.Width SHORT
public static final ListFormatter.Width NARROW
public static ListFormatter.Width[] values()
for (ListFormatter.Width c : ListFormatter.Width.values()) System.out.println(c);
public static ListFormatter.Width 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 Unicode, Inc. and others.