public static enum Window.Option extends Enum<Window.Option> implements Translatable
Enum Constant and Description |
---|
ALUMINIUM
aluminum / Aluminium
|
SYNTHETIC
synthetic material / Kunststoff
|
WOOD
wood / Holz
|
Modifier and Type | Method and Description |
---|---|
String |
getTranslation() |
String |
getTranslation(Locale locale) |
static Window.Option |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Window.Option[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Window.Option WOOD
public static final Window.Option ALUMINIUM
public static final Window.Option SYNTHETIC
public static Window.Option[] values()
for (Window.Option c : Window.Option.values()) System.out.println(c);
public static Window.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.