ListFormatter.Width
public
static
final
enum
ListFormatter.Width
extends Enum<ListFormatter.Width>
java.lang.Object | ||
↳ | java.lang.Enum<android.icu.text.ListFormatter.Width> | |
↳ | android.icu.text.ListFormatter.Width |
Verbosity level of the list patterns.
Summary
Enum values | |
---|---|
ListFormatter.Width |
NARROW
Use list formatting of the shortest possible length. |
ListFormatter.Width |
SHORT
Use list formatting of typical length. |
ListFormatter.Width |
WIDE
Use list formatting with full words (no abbreviations) when possible. |
Public methods | |
---|---|
static
ListFormatter.Width
|
valueOf(String name)
|
static
final
Width[]
|
values()
|
Inherited methods | |
---|---|
Enum values
NARROW
public static final ListFormatter.Width NARROW
Use list formatting of the shortest possible length.
SHORT
public static final ListFormatter.Width SHORT
Use list formatting of typical length.
WIDE
public static final ListFormatter.Width WIDE
Use list formatting with full words (no abbreviations) when possible.
Public methods
valueOf
public static ListFormatter.Width valueOf (String name)
Parameters | |
---|---|
name |
String |
Returns | |
---|---|
ListFormatter.Width |
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-02-10 UTC.