public static enum SliceScaleBar.Alignment extends java.lang.Enum<SliceScaleBar.Alignment> implements IntegerValuedEnum
Enum Constant and Description |
---|
BOTTOM
Bottom (for vertical orientation).
|
CENTER
Center (for either orientation).
|
LEFT
Left (for horizontal orientation).
|
RIGHT
Right (for horizontal orientation).
|
TOP
Top (for vertical orientation).
|
Modifier and Type | Method and Description |
---|---|
int |
getValue()
Returns the integer value of the enum constant.
|
static SliceScaleBar.Alignment |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SliceScaleBar.Alignment[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SliceScaleBar.Alignment LEFT
public static final SliceScaleBar.Alignment BOTTOM
public static final SliceScaleBar.Alignment CENTER
public static final SliceScaleBar.Alignment RIGHT
public static final SliceScaleBar.Alignment TOP
public static SliceScaleBar.Alignment[] values()
for (SliceScaleBar.Alignment c : SliceScaleBar.Alignment.values()) System.out.println(c);
public static SliceScaleBar.Alignment valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic int getValue()
IntegerValuedEnum
getValue
in interface IntegerValuedEnum
Generated on January 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com