public static enum BoxLayoutContainer.BoxLayoutPack extends Enum<BoxLayoutContainer.BoxLayoutPack>
Enum Constant and Description |
---|
CENTER
Children are packed together at mid-height of container.
|
END
Children are packed together at bottom side of container.
|
START
Children are packed together at top side of container.
|
Modifier and Type | Method and Description |
---|---|
static BoxLayoutContainer.BoxLayoutPack |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BoxLayoutContainer.BoxLayoutPack[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BoxLayoutContainer.BoxLayoutPack CENTER
public static final BoxLayoutContainer.BoxLayoutPack END
public static final BoxLayoutContainer.BoxLayoutPack START
public static BoxLayoutContainer.BoxLayoutPack[] values()
for (BoxLayoutContainer.BoxLayoutPack c : BoxLayoutContainer.BoxLayoutPack.values()) System.out.println(c);
public static BoxLayoutContainer.BoxLayoutPack 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.