|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<Art> org.bukkit.Art
public enum Art
Represents the art on a painting
Enum Constant Summary | |
---|---|
ALBAN
|
|
AZTEC
|
|
AZTEC2
|
|
BOMB
|
|
BURNINGSKULL
|
|
BUST
|
|
COURBET
|
|
CREEBET
|
|
DONKEYKONG
|
|
FIGHTERS
|
|
GRAHAM
|
|
KEBAB
|
|
MATCH
|
|
PIGSCENE
|
|
PLANT
|
|
POINTER
|
|
POOL
|
|
SEA
|
|
SKELETON
|
|
SKULL_AND_ROSES
|
|
STAGE
|
|
SUNSET
|
|
VOID
|
|
WANDERER
|
|
WASTELAND
|
|
WITHER
|
Method Summary | |
---|---|
int |
getBlockHeight()
Gets the height of the painting, in blocks |
int |
getBlockWidth()
Gets the width of the painting, in blocks |
static Art |
getById(int id)
Deprecated. Magic value |
static Art |
getByName(String name)
Get a painting by its unique name |
int |
getId()
Deprecated. Magic value |
static Art |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Art[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final Art KEBAB
public static final Art AZTEC
public static final Art ALBAN
public static final Art AZTEC2
public static final Art BOMB
public static final Art PLANT
public static final Art WASTELAND
public static final Art POOL
public static final Art COURBET
public static final Art SEA
public static final Art SUNSET
public static final Art CREEBET
public static final Art WANDERER
public static final Art GRAHAM
public static final Art MATCH
public static final Art BUST
public static final Art STAGE
public static final Art VOID
public static final Art SKULL_AND_ROSES
public static final Art WITHER
public static final Art FIGHTERS
public static final Art POINTER
public static final Art PIGSCENE
public static final Art BURNINGSKULL
public static final Art SKELETON
public static final Art DONKEYKONG
Method Detail |
---|
public static Art[] values()
for (Art c : Art.values()) System.out.println(c);
public static Art valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic int getBlockWidth()
public int getBlockHeight()
@Deprecated public int getId()
@Deprecated public static Art getById(int id)
id
- The ID
public static Art getByName(String name)
This ignores underscores and capitalization
name
- The name
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |