public static enum HBoxLayoutContainer.HBoxLayoutAlign extends Enum<HBoxLayoutContainer.HBoxLayoutAlign>
Enum Constant and Description |
---|
BOTTOM
Children are aligned horizontally at the bottom side of the container.
|
MIDDLE
Children are aligned horizontally at the mid-height of the container.
|
STRETCH
Children are stretched vertically to fill the height of the container.
|
STRETCHMAX
Children heights are set the size of the largest child's height.
|
TOP
Children are aligned horizontally at the top side of the container.
|
Modifier and Type | Method and Description |
---|---|
static HBoxLayoutContainer.HBoxLayoutAlign |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HBoxLayoutContainer.HBoxLayoutAlign[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HBoxLayoutContainer.HBoxLayoutAlign BOTTOM
public static final HBoxLayoutContainer.HBoxLayoutAlign MIDDLE
public static final HBoxLayoutContainer.HBoxLayoutAlign STRETCH
public static final HBoxLayoutContainer.HBoxLayoutAlign STRETCHMAX
public static final HBoxLayoutContainer.HBoxLayoutAlign TOP
public static HBoxLayoutContainer.HBoxLayoutAlign[] values()
for (HBoxLayoutContainer.HBoxLayoutAlign c : HBoxLayoutContainer.HBoxLayoutAlign.values()) System.out.println(c);
public static HBoxLayoutContainer.HBoxLayoutAlign 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 © 2018. All rights reserved.