public static enum Painting.Motive extends Enum<Painting.Motive>
| Enum Constant and Description |
|---|
ALBAN |
AZTEC |
AZTEC2 |
BOMB |
BUST |
COURBET |
CREEBET |
DONKEY_KONG |
FIGHTERS |
FLAMING_SKULL |
GRAHAM |
KEBAB |
MATCH |
PIG_SCENE |
PLANT |
POINTER |
POOL |
SEA |
SKELETON |
SKULL_AND_ROSES |
STAGE |
SUNSET |
VOID |
WANDERER |
WASTELAND |
WITHER |
| Modifier and Type | Method and Description |
|---|---|
static Painting.Motive |
from(String name) |
static Painting.Motive |
from(String name,
Painting.Motive defaultValue) |
int |
getHeight() |
String |
getTitle() |
int |
getWidth() |
static Painting.Motive |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Painting.Motive[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Painting.Motive KEBAB
public static final Painting.Motive AZTEC
public static final Painting.Motive ALBAN
public static final Painting.Motive AZTEC2
public static final Painting.Motive BOMB
public static final Painting.Motive PLANT
public static final Painting.Motive WASTELAND
public static final Painting.Motive WANDERER
public static final Painting.Motive GRAHAM
public static final Painting.Motive POOL
public static final Painting.Motive COURBET
public static final Painting.Motive SUNSET
public static final Painting.Motive SEA
public static final Painting.Motive CREEBET
public static final Painting.Motive MATCH
public static final Painting.Motive BUST
public static final Painting.Motive STAGE
public static final Painting.Motive VOID
public static final Painting.Motive SKULL_AND_ROSES
public static final Painting.Motive WITHER
public static final Painting.Motive FIGHTERS
public static final Painting.Motive SKELETON
public static final Painting.Motive DONKEY_KONG
public static final Painting.Motive POINTER
public static final Painting.Motive PIG_SCENE
public static final Painting.Motive FLAMING_SKULL
public final String title
public final int width
public final int height
public static Painting.Motive[] values()
for (Painting.Motive c : Painting.Motive.values()) System.out.println(c);
public static Painting.Motive 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 null@Nullable public static Painting.Motive from(String name)
public static Painting.Motive from(String name, Painting.Motive defaultValue)
public int getHeight()
public int getWidth()
public String getTitle()
Copyright © 2021. All rights reserved.