public enum TickPlacement extends Enum<TickPlacement>
Enum Constant and Description |
---|
BOTH
Tick marks appear above and below the Track bar for a horizontal Slider, or to the left and right of the Track for a vertical Slider.
|
BOTTOM_RIGHT
Tick marks appear below the Track for a horizontal Slider, or to the right of the Track for a vertical Slider.
|
NONE
No tick marks appear.
|
TOP_LEFT
Tick marks appear above the Track for a horizontal Slider, or to the left of the Track for a vertical Slider.
|
Modifier and Type | Method and Description |
---|---|
static TickPlacement |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TickPlacement[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TickPlacement NONE
public static final TickPlacement TOP_LEFT
public static final TickPlacement BOTTOM_RIGHT
public static final TickPlacement BOTH
public static TickPlacement[] values()
for (TickPlacement c : TickPlacement.values()) System.out.println(c);
public static TickPlacement 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 nullCopyright 2009-2012 Micro Focus. All Rights Reserved.