public enum TooltipPosition extends Enum<TooltipPosition> implements Key
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 |
---|---|
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.
|
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