public static enum Doc.GroupKind extends java.lang.Enum<Doc.GroupKind>
group() should be printed.| Enum Constant and Description |
|---|
AUTO
Each break is printed as a space, if that would not lead to overflow, or as a newline,
otherwise.
|
FILL
The breaks in the group are all printed as spaces, if the result would not overflow a single
line, or as newlines, otherwise.
|
HORIZONTAL
Breaks are printed as spaces.
|
VERTICAL
Breaks are printed as newlines.
|
| Modifier and Type | Method and Description |
|---|---|
static Doc.GroupKind |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Doc.GroupKind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Doc.GroupKind HORIZONTAL
public static final Doc.GroupKind VERTICAL
public static final Doc.GroupKind FILL
public static final Doc.GroupKind AUTO
public static Doc.GroupKind[] values()
for (Doc.GroupKind c : Doc.GroupKind.values()) System.out.println(c);
public static Doc.GroupKind valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null