public static enum TWTProfileList.ListStyle extends Enum<TWTProfileList.ListStyle>
Enum to specify the style of the profile list.
Enum Constant and Description |
---|
Badges
The list should be displayed as badges.
|
Rows
The list should be displayed in rows.
|
Modifier and Type | Method and Description |
---|---|
static TWTProfileList.ListStyle |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TWTProfileList.ListStyle[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TWTProfileList.ListStyle Rows
The list should be displayed in rows. When in this mode, the TWTProfileList
uses TWTProfileList.TWTProfileListRow
to render each
item of the list model.
public static final TWTProfileList.ListStyle Badges
The list should be displayed as badges. When in this mode, the TWTProfileList
uses TWTProfileList.TWTProfileListRowX
to render each
item of the list model.
public static TWTProfileList.ListStyle[] values()
for (TWTProfileList.ListStyle c : TWTProfileList.ListStyle.values()) System.out.println(c);
public static TWTProfileList.ListStyle 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 © 2021. All Rights Reserved.