public static enum View.Option extends Enum<View.Option> implements Translatable
Enum Constant and Description |
---|
DISTANT_VIEW
distant view / Fernblick
|
LAKE_VIEW
lake view / Seeblick
|
MOUNTAIN_VIEW
mountain view / Bergblick
|
SEA_VIEW
sea view / Meerblick
|
Modifier and Type | Method and Description |
---|---|
String |
getTranslation() |
String |
getTranslation(Locale locale) |
static View.Option |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static View.Option[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final View.Option DISTANT_VIEW
public static final View.Option LAKE_VIEW
public static final View.Option SEA_VIEW
public static final View.Option MOUNTAIN_VIEW
public static View.Option[] values()
for (View.Option c : View.Option.values()) System.out.println(c);
public static View.Option 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 getTranslation()
getTranslation
in interface Translatable
public String getTranslation(Locale locale)
getTranslation
in interface Translatable
Copyright © 2019 OpenEstate. All rights reserved.