Added in API level 33
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
Added in API level 33
public static final ListFormatter.Width NARROW
Use list formatting of the shortest possible length.
SHORT
Added in API level 33
public static final ListFormatter.Width SHORT
Use list formatting of typical length.
WIDE
Added in API level 33
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 2024-04-11 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"Missing the information I need"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Too complicated / too many steps"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Out of date"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"Samples / code issue"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]