public enum FillStyle extends Enum<FillStyle>
AspectRatioNodePlacer.getFillStyle()
Enum Constant and Description |
---|
CENTERED
Style specifier which defines that rows/columns are aligned with their center.
|
JUSTIFY
Style specifier which defines that rows/columns are justified to have the same width/height.
|
LEADING
Style specifier which defines that rows/columns are aligned with their leading side.
|
TRAILING
Style specifier which defines that rows/columns are aligned with their trailing side.
|
Modifier and Type | Method and Description |
---|---|
static FillStyle |
fromOrdinal(int ordinal) |
int |
value() |
static FillStyle |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FillStyle[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FillStyle CENTERED
public static final FillStyle JUSTIFY
public static final FillStyle LEADING
public static final FillStyle TRAILING
public static final FillStyle fromOrdinal(int ordinal)
public int value()
public static FillStyle 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 FillStyle[] values()
for (FillStyle c : FillStyle.values()) System.out.println(c);