public static enum GradientFill.ShapeEnum extends Enum<GradientFill.ShapeEnum>
Modifier and Type | Class and Description |
---|---|
static class |
GradientFill.ShapeEnum.Adapter |
Enum Constant and Description |
---|
LINEAR |
NOTDEFINED |
PATH |
RADIAL |
RECTANGLE |
Modifier and Type | Method and Description |
---|---|
static GradientFill.ShapeEnum |
fromValue(String text) |
String |
getValue() |
String |
toString() |
static GradientFill.ShapeEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GradientFill.ShapeEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GradientFill.ShapeEnum LINEAR
public static final GradientFill.ShapeEnum RECTANGLE
public static final GradientFill.ShapeEnum RADIAL
public static final GradientFill.ShapeEnum PATH
public static final GradientFill.ShapeEnum NOTDEFINED
public static GradientFill.ShapeEnum[] values()
for (GradientFill.ShapeEnum c : GradientFill.ShapeEnum.values()) System.out.println(c);
public static GradientFill.ShapeEnum valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getValue()
public String toString()
toString
in class Enum<GradientFill.ShapeEnum>
public static GradientFill.ShapeEnum fromValue(String text)
Copyright © 2021. All rights reserved.