public enum Art extends Enum<Art>
修飾子とタイプ | メソッドと説明 |
---|---|
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)
非推奨です。
Magic value
|
static Art |
getByName(String name)
Get a painting by its unique name
This ignores underscores and capitalization
|
int |
getId()
非推奨です。
Magic value
|
static Art |
valueOf(String name)
指定した名前を持つこの型の列挙型定数を返します。
|
static Art[] |
values()
この列挙型の定数を含む配列を宣言されている順序で返します。
|
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
public static Art[] values()
for(Art c: Art.values()) System.out.println(c);
public static Art valueOf(String name)
name
- 返される列挙型定数の名前。IllegalArgumentException
- この列挙型に、指定した名前の定数がない場合NullPointerException
- 引数がnullの場合public int getBlockWidth()
public int getBlockHeight()
@Deprecated public int getId()
@Deprecated public static Art getById(int id)
id
- The IDCopyright © 2016. All rights reserved.