public enum FillType extends java.lang.Enum<FillType> implements INativeEnum
Enum Constant and Description |
---|
Color
The element is filled with a solid color.
|
Gradient
The element is filled with a gradient.
|
None
The element is not filled.
|
Pattern
The element is filled using a pattern.
|
Picture
The element is filled using a picture.
|
Modifier and Type | Method and Description |
---|---|
static java.util.Optional<FillType> |
fromNativeValue(int nativeValue) |
java.lang.String |
getConstantName() |
int |
getNativeValue() |
static FillType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FillType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FillType None
public static final FillType Color
public static final FillType Gradient
public static final FillType Picture
public static final FillType Pattern
public static FillType[] values()
for (FillType c : FillType.values()) System.out.println(c);
public static FillType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic int getNativeValue()
getNativeValue
in interface INativeEnum
public java.lang.String getConstantName()
getConstantName
in interface INativeEnum
public static java.util.Optional<FillType> fromNativeValue(int nativeValue)