public enum Fill extends Enum<Fill> implements IsFill
Enum Constant and Description |
---|
END
Fill the area from the top X axis
|
FALSE
Does not fill any area
|
ORIGIN
Fill the area from 0 axis to top or bottom, depending on value.
Default. |
STACK
Fill the area from stacked value below.
|
START
Fill the area from the bottom X axis
|
Modifier and Type | Method and Description |
---|---|
static IsFill |
getFill(int index)
Returns a fill, based on absolute data set index, using the passed index.
|
static IsFill |
getFill(String index)
Returns a fill, based on relative data set index, using the passed index.
If the passed argument is not a relative data set index, checks if is predefined fill. |
FillingMode |
getMode()
Returns the type of filling.
|
String |
getValue()
Returns the value as string (valid ONLY for relative dataset index and predefined), otherwise
Undefined.STRING . |
int |
getValueAsInt()
Returns the value as integer (valid ONLY for absolute dataset index), otherwise
Undefined.INTEGER . |
static boolean |
isPredefined(IsFill fill)
Checks if the fill passed by argument is a predefined fill, the returns
true . |
String |
value()
Returns the name value of property
|
static Fill |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Fill[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
isValid, toObject, transform
checkAndGetIfValid, checkIfValid, compare, create, equals, getKeyByValue, getKeyByValue, hasKeyByValue, isValid
public static final Fill START
public static final Fill END
public static final Fill ORIGIN
public static final Fill STACK
public static final Fill FALSE
public static Fill[] values()
for (Fill c : Fill.values()) System.out.println(c);
public static Fill 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 value()
Key
public FillingMode getMode()
IsFill
public int getValueAsInt()
IsFill
Undefined.INTEGER
.getValueAsInt
in interface IsFill
Undefined.INTEGER
.public String getValue()
IsFill
Undefined.STRING
.getValue
in interface IsFill
Undefined.STRING
.public static boolean isPredefined(IsFill fill)
true
.fill
- fill instancetrue
if the fill passed by argument is a predefined fill otherwise false
.public static IsFill getFill(int index)
index
- absolute data set index to use for fillingpublic static IsFill getFill(String index)
index
- relative data set index to use for filling