public enum FontPosture extends Enum<FontPosture>
| 修飾子と型 | メソッドと説明 |
|---|---|
static FontPosture |
findByName(String name)
FontPostureをその名前で返します。 |
static FontPosture |
valueOf(String name)
指定された名前を持つ、この型の列挙型定数を返します。
|
static FontPosture[] |
values()
この列挙型の定数を含む配列を、宣言されている順序で返します。
|
public static final FontPosture REGULAR
public static final FontPosture ITALIC
public static FontPosture[] values()
for (FontPosture c : FontPosture.values()) System.out.println(c);
public static FontPosture valueOf(String name)
name - 返される列挙型定数の名前。IllegalArgumentException - 指定された名前を持つ定数をこの列挙型が持っていない場合NullPointerException - 引数がnullの場合public static FontPosture findByName(String name)
FontPostureをその名前で返します。name - FontPostureの名前Copyright (c) 2008, 2015, Oracle and/or its affiliates. All rights reserved.