public enum TooltipPosition extends Enum<TooltipPosition> implements Type
TOP
or BOTTOM
for horizontal sliders; and LEFT
or RIGHT
for vertically orientated sliders.TOP
for horizontal and RIGHT
for vertical slider.Modifier and Type | Method and Description |
---|---|
String |
getPosition() |
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 TOP
public static final TooltipPosition BOTTOM
public static final TooltipPosition LEFT
public static final TooltipPosition RIGHT
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 nullpublic String getPosition()
Copyright © 2017. All rights reserved.