protected static enum Dataset.CanvasObjectProperty extends Enum<Dataset.CanvasObjectProperty>
Enum Constant and Description |
---|
BACKGROUND_COLOR |
BORDER_COLOR |
HOVER_BACKGROUND_COLOR |
HOVER_BORDER_COLOR |
Modifier and Type | Method and Description |
---|---|
boolean |
hasPattern()
|
String |
value()
Returns the name value of property
|
static Dataset.CanvasObjectProperty |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Dataset.CanvasObjectProperty[] |
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
checkAndGetIfValid, checkIfValid, compare, create, equals, getKeyByValue, getKeyByValue, hasKeyByValue, isValid
public static final Dataset.CanvasObjectProperty BACKGROUND_COLOR
public static final Dataset.CanvasObjectProperty BORDER_COLOR
public static final Dataset.CanvasObjectProperty HOVER_BACKGROUND_COLOR
public static final Dataset.CanvasObjectProperty HOVER_BORDER_COLOR
public static Dataset.CanvasObjectProperty[] values()
for (Dataset.CanvasObjectProperty c : Dataset.CanvasObjectProperty.values()) System.out.println(c);
public static Dataset.CanvasObjectProperty 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 boolean hasPattern()
true
is able to manage also Pattern
or CanvasPatternItem
, otherwise it skips them