public static enum TextStyle.Justify extends Enum<TextStyle.Justify>
Enum Constant and Description |
---|
BLOCK
full block justification
|
CENTER
centered
|
LEFT
flush left, ragged right
|
NONE
no line wrapping AT ALL (except hard CRs)
|
RIGHT
flush right, ragged left
|
Modifier and Type | Method and Description |
---|---|
short |
getConstant() |
static TextStyle.Justify |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TextStyle.Justify[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TextStyle.Justify LEFT
public static final TextStyle.Justify RIGHT
public static final TextStyle.Justify BLOCK
public static final TextStyle.Justify CENTER
public static final TextStyle.Justify NONE
public static TextStyle.Justify[] values()
for (TextStyle.Justify c : TextStyle.Justify.values()) System.out.println(c);
public static TextStyle.Justify 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 nullpublic short getConstant()
Copyright © 2019–2021 HCL. All rights reserved.