public enum TickPlacement extends Enum<TickPlacement>
Enum Constant and Description |
---|
BOTH
在水平滑块的轨道条上方和下方显示刻度线,或在垂直滑块的轨道左侧和右侧显示。
|
BOTTOM_RIGHT
在水平滑块轨道的下方显示刻度线,或在垂直滑块轨道的右侧显示。
|
NONE
不显示刻度线。
|
TOP_LEFT
在水平滑块轨道的上方显示刻度线,或在垂直滑块轨道的左侧显示。
|
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.