public static enum VBoxLayoutContainer.VBoxLayoutAlign extends Enum<VBoxLayoutContainer.VBoxLayoutAlign>
Enum Constant and Description |
---|
CENTER
Children are aligned vertically at the mid-width of the container.
|
LEFT
Children are aligned vertically at the left side of the container
(default).
|
RIGHT
Children are aligned vertically at the right side of the container
(default).
|
STRETCH
Children are stretched horizontally to fill the width of the container.
|
STRETCHMAX
Children widths are set the size of the largest child's width.
|
Modifier and Type | Method and Description |
---|---|
static VBoxLayoutContainer.VBoxLayoutAlign |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static VBoxLayoutContainer.VBoxLayoutAlign[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VBoxLayoutContainer.VBoxLayoutAlign CENTER
public static final VBoxLayoutContainer.VBoxLayoutAlign LEFT
public static final VBoxLayoutContainer.VBoxLayoutAlign RIGHT
public static final VBoxLayoutContainer.VBoxLayoutAlign STRETCH
public static final VBoxLayoutContainer.VBoxLayoutAlign STRETCHMAX
public static VBoxLayoutContainer.VBoxLayoutAlign[] values()
for (VBoxLayoutContainer.VBoxLayoutAlign c : VBoxLayoutContainer.VBoxLayoutAlign.values()) System.out.println(c);
public static VBoxLayoutContainer.VBoxLayoutAlign 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 © 2015. All rights reserved.