public enum ListStyle extends Enum<ListStyle>
| Modifier and Type | Method and Description |
|---|---|
String |
getStyle() |
static ListStyle |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ListStyle[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ListStyle COMPACT
public static final ListStyle LARGE
public static ListStyle[] values()
for (ListStyle c : ListStyle.values()) System.out.println(c);
public static 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 nullpublic String getStyle()
Copyright © Active Intelligence Pte Ltd (http://active.ai/). All Rights Reserved.