public enum TooltipAlign extends Enum<TooltipAlign> implements Key
| Enum Constant and Description |
|---|
AUTO
Default value and never stored in chart configuration.
|
BOTTOM
The caret is positioned to the bottom.
|
CENTER
The caret is centered.
|
LEFT
The caret is positioned to the left.
|
RIGHT
The caret is positioned to the right.
|
TOP
The caret is positioned to the top.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isHorizontal()
Returns
true if it can be used for horizontal alignment. |
boolean |
isVertical()
Returns
true if it can be used for vertical alignment. |
String |
value()
Returns the name value of property
|
static TooltipAlign |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TooltipAlign[] |
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, valueOfcheckAndGetIfValid, checkIfValid, compare, create, equals, getKeyByValue, getKeyByValue, hasKeyByValue, isValidpublic static final TooltipAlign CENTER
public static final TooltipAlign RIGHT
public static final TooltipAlign BOTTOM
public static final TooltipAlign LEFT
public static final TooltipAlign TOP
public static final TooltipAlign AUTO
public static TooltipAlign[] values()
for (TooltipAlign c : TooltipAlign.values()) System.out.println(c);
public static TooltipAlign 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()
Keypublic boolean isHorizontal()
true if it can be used for horizontal alignment.true if it can be used for horizontal alignmentpublic boolean isVertical()
true if it can be used for vertical alignment.true if it can be used for vertical alignment