public enum SliderMode extends Enum<SliderMode>
| Enum Constant and Description |
|---|
CENTER
Slider mode specifier which describes continuous label positions directly on the edge path.
|
SIDE
Slider mode specifier which describes continuous label positions along the sides of the edge path.
|
SINGLE_SIDE
Slider mode specifier which describes continuous label positions along one side of the edge path.
|
| Modifier and Type | Method and Description |
|---|---|
static SliderMode |
fromOrdinal(int ordinal) |
int |
value() |
static SliderMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SliderMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SliderMode CENTER
SliderEdgeLabelLayoutModel.getMode()public static final SliderMode SIDE
SliderEdgeLabelLayoutModel.getMode()public static final SliderMode SINGLE_SIDE
distance. A positive distance will result
in a right slider while negative distance will result in a left slider. Those sides are defined relative to the
segment's direction.SliderEdgeLabelLayoutModel.getMode()public static final SliderMode fromOrdinal(int ordinal)
public int value()
public static SliderMode valueOf(String name)
IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullname - the name of the enum constant to be returned.public static SliderMode[] values()
for (SliderMode c : SliderMode.values()) System.out.println(c);