public static enum FixedWidthFormatter.Align extends Enum<FixedWidthFormatter.Align>
Enum Constant and Description |
---|
CENTRE
Centre alignment.
|
LEFT
Left alignment.
|
RIGHT
Right alignment.
|
Modifier and Type | Method and Description |
---|---|
static FixedWidthFormatter.Align |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FixedWidthFormatter.Align[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FixedWidthFormatter.Align LEFT
public static final FixedWidthFormatter.Align CENTRE
public static final FixedWidthFormatter.Align RIGHT
public static FixedWidthFormatter.Align[] values()
for (FixedWidthFormatter.Align c : FixedWidthFormatter.Align.values()) System.out.println(c);
public static FixedWidthFormatter.Align 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 © 2000-2014. All Rights Reserved.