|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<TextColumnInfo.IndentationMode>
net.sf.mmm.util.text.api.TextColumnInfo.IndentationMode
public static enum TextColumnInfo.IndentationMode
This enum contains the available modes how to deal with
indentation
after
newlines
.
Enum Constant Summary | |
---|---|
INDENT_AFTER_NEWLINE
Do NOT add indent for the first line,
but for each following lines, even after a
newline in the
text. |
|
NO_INDENT_AFTER_DOUBLE_NEWLINE
Do NOT add indent for the first line,
but for each following lines, even after a single
newline in the
text. |
|
NO_INDENT_AFTER_NEWLINE
Do NOT add indent for the first line,
but for each following lines. |
Method Summary | |
---|---|
static TextColumnInfo.IndentationMode |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static TextColumnInfo.IndentationMode[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final TextColumnInfo.IndentationMode NO_INDENT_AFTER_NEWLINE
indent
for the first line,
but for each following lines. After
newline
in the
text, no indent
is added for the
following line of the column.
public static final TextColumnInfo.IndentationMode NO_INDENT_AFTER_DOUBLE_NEWLINE
indent
for the first line,
but for each following lines, even after a single
newline
in the
text. If a column-line starts with a
newline
(duplicate newlines), this indicates a new paragraph. So after an empty
line in the column, no indent
is added
for the next line of the column.
public static final TextColumnInfo.IndentationMode INDENT_AFTER_NEWLINE
indent
for the first line,
but for each following lines, even after a
newline
in the
text.
Method Detail |
---|
public static TextColumnInfo.IndentationMode[] values()
for (TextColumnInfo.IndentationMode c : TextColumnInfo.IndentationMode.values()) System.out.println(c);
public static TextColumnInfo.IndentationMode valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |