public static enum DetailView.ViewType extends Enum<DetailView.ViewType>
Modifier and Type | Method and Description |
---|---|
static DetailView.ViewType |
fromString(String text) |
String |
getText() |
static DetailView.ViewType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DetailView.ViewType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DetailView.ViewType EDIT
public static final DetailView.ViewType VIEW
public static DetailView.ViewType[] values()
for (DetailView.ViewType c : DetailView.ViewType.values()) System.out.println(c);
public static DetailView.ViewType 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 getText()
public static DetailView.ViewType fromString(String text)
Copyright © 2015 Magnolia International Ltd.. All rights reserved.