Enum Class Pattern
- 所有已实现的接口:
Serializable
,Comparable<Pattern>
,Constable
Specifies the interior pattern of a chart or interior object.
-
嵌套类概要
从类继承的嵌套类/接口 java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
枚举常量概要
枚举常量说明Specifies that Spread controls the pattern.Specifies diagonal crosshatch.Specifies thin diagonal crosshatch.Specifies reverse diagonal stripe.Specifies 12.5% gray.Specifies 25% gray.Specifies 50% gray.Specifies 75% gray.Specifies 6.25% gray.Specifies thin horizontal crosshatch.Specifies horizontal stripe.Specifies thin reverse diagonal stripe.Specifies thin horizontal stripe.Specifies thin diagonal stripe.Specifies thin vertical stripe.Specifies the linear graident type for gradient fill.Specifies no pattern.Specifies the rectangular gradient type for gradient fill.Specifies thick diagonal crosshatch.Specifies a solid color.Specifies diagonal stripe.Specifies vertical stripe. -
方法概要
-
枚举常量详细资料
-
Automatic
Specifies that Spread controls the pattern. -
None
Specifies no pattern. -
Solid
Specifies a solid color. -
Gray75
Specifies 75% gray. -
Gray50
Specifies 50% gray. -
Gray25
Specifies 25% gray. -
Gray16
Specifies 12.5% gray. -
Gray8
Specifies 6.25% gray. -
Horizontal
Specifies horizontal stripe. -
Vertical
Specifies vertical stripe. -
Down
Specifies reverse diagonal stripe. -
Up
Specifies diagonal stripe. -
Checker
Specifies diagonal crosshatch. -
SemiGray75
Specifies thick diagonal crosshatch. -
LightHorizontal
Specifies thin horizontal stripe. -
LightVertical
Specifies thin vertical stripe. -
LightDown
Specifies thin reverse diagonal stripe. -
LightUp
Specifies thin diagonal stripe. -
Grid
Specifies thin horizontal crosshatch. -
CrissCross
Specifies thin diagonal crosshatch. -
LinearGradient
Specifies the linear graident type for gradient fill. -
RectangularGradient
Specifies the rectangular gradient type for gradient fill.
-
-
方法详细资料
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- 返回:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- 参数:
name
- 要返回的枚举常量的名称。- 返回:
- 返回带有指定名称的枚举常量
- 抛出:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- 如果参数为空值
-
getValue
public int getValue() -
forValue
-