public static enum AnsiColors.BitDepth extends EnumSE<AnsiColors.BitDepth>
修飾子と型 | メソッドと説明 |
---|---|
static AnsiColors.BitDepth | of(int bits) |
static AnsiColors.BitDepth | valueOf(StringSE name) 指定された名前を持つこの型の列挙定数を返します。 |
static AnsiColors.BitDepth[] | values() この列挙型の定数を含む配列を、宣言されている順序で返します。 |
cloneSE, compareToSE, equalsSE, finalizeSE, getDeclaringClassSE, hashCodeSE, nameSE, ordinalSE, toStringSE, valueOfSE
getClassSE, notifySE, notifyAllSE, waitSE, waitSE, waitSE
public static final AnsiColors.BitDepth FOUR
AnsiColor
public static final AnsiColors.BitDepth EIGHT
Ansi8BitColor
public static AnsiColors.BitDepth[] values()
for (AnsiColors.BitDepth c : AnsiColors.BitDepth.values()) System.out.println(c);
public static AnsiColors.BitDepth valueOf(StringSE name)
name
- 返される列挙定数の名前。IllegalArgumentExceptionSE
- この列挙型に指定された名前の定数がない場合 NullPointerExceptionSE
- 引数が null の場合 public static AnsiColors.BitDepth of(int bits)