public enum LegendEventProperty extends Enum<LegendEventProperty> implements Key
Enum Constant and Description |
---|
ON_CLICK
Property to set a callback to catch click events.
|
ON_HOVER
Property to set a callback to catch mouse over events.
|
ON_LEAVE
Property to set a callback to catch mouse out events.
|
Modifier and Type | Method and Description |
---|---|
String |
value()
Returns the name value of property
|
static LegendEventProperty |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LegendEventProperty[] |
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 LegendEventProperty ON_CLICK
public static final LegendEventProperty ON_HOVER
public static final LegendEventProperty ON_LEAVE
public static LegendEventProperty[] values()
for (LegendEventProperty c : LegendEventProperty.values()) System.out.println(c);
public static LegendEventProperty 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 null