public enum TooltipPosition extends Enum<TooltipPosition> implements IsTooltipPosition
Enum Constant and Description |
---|
AVERAGE
Will place the tooltip at the average position of the items displayed in the tooltip.
|
NEAREST
Will place the tooltip at the position of the element closest to the event position.
|
Modifier and Type | Method and Description |
---|---|
String |
value()
Returns the name value of property
|
static TooltipPosition |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TooltipPosition[] |
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 TooltipPosition AVERAGE
public static final TooltipPosition NEAREST
public static TooltipPosition[] values()
for (TooltipPosition c : TooltipPosition.values()) System.out.println(c);
public static TooltipPosition 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