public static enum AbstractGridCell.Alignment extends Enum<AbstractGridCell.Alignment>
AbstractGridCell.setHorizontalFill(boolean)
or
AbstractGridCell.setVerticalFill(boolean)
respectively.Enum Constant and Description |
---|
BEGINNING
Align cell at the horizontal (left) or vertical (top) beginning.
|
CENTER
Align cell at the horizontal or vertical center.
|
END
Align cell at the horizontal (right) or vertical (bottom) end.
|
Modifier and Type | Method and Description |
---|---|
static AbstractGridCell.Alignment |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AbstractGridCell.Alignment[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AbstractGridCell.Alignment BEGINNING
public static final AbstractGridCell.Alignment CENTER
public static final AbstractGridCell.Alignment END
public static AbstractGridCell.Alignment[] values()
for (AbstractGridCell.Alignment c : AbstractGridCell.Alignment.values()) System.out.println(c);
public static AbstractGridCell.Alignment 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 © 2019. All rights reserved.