public enum NestedCheckStyles extends Enum<NestedCheckStyles> implements ListStyle_CheckNested
ListStyle_CheckNested for 6 levels.| Enum Constant and Description |
|---|
ALL_SQUARE_BRACKET_BLANK_X
Style that uses
CheckListStyles.ASCII_SQUARE_BRACKET_BLANK_X for unlimited levels. |
ALL_UTF_BALLOT_BOX
Style that uses
CheckListStyles.UTF_BALLOT_BOX for unlimited levels. |
ALL_UTF_BALLOT_BOX_X
Style that uses
CheckListStyles.UTF_BALLOT_BOX_X for unlimited levels. |
| Modifier and Type | Method and Description |
|---|---|
ListStyle_Check |
getStyle(int level)
Returns the style for a given level.
|
StrBuilder |
toDoc()
Returns a representation of the list style useful for documentation
|
static NestedCheckStyles |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NestedCheckStyles[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NestedCheckStyles ALL_SQUARE_BRACKET_BLANK_X
CheckListStyles.ASCII_SQUARE_BRACKET_BLANK_X for unlimited levels.
For example:
[ ] unchecked item
[X] checked item
[ ] unchecked item
[X] checked item
[ ] unchecked item
[X] checked item
[ ] unchecked item
[X] checked item
[ ] unchecked item
[X] checked item
[ ] unchecked item
[X] checked item
public static final NestedCheckStyles ALL_UTF_BALLOT_BOX
CheckListStyles.UTF_BALLOT_BOX for unlimited levels.
For example:
☐ unchecked item
☑ checked item
☐ unchecked item
☑ checked item
☐ unchecked item
☑ checked item
☐ unchecked item
☑ checked item
☐ unchecked item
☑ checked item
☐ unchecked item
☑ checked item
public static final NestedCheckStyles ALL_UTF_BALLOT_BOX_X
CheckListStyles.UTF_BALLOT_BOX_X for unlimited levels.
For example:
☐ unchecked item
☒ checked item
☐ unchecked item
☒ checked item
☐ unchecked item
☒ checked item
☐ unchecked item
☒ checked item
☐ unchecked item
☒ checked item
☐ unchecked item
☒ checked item
public static NestedCheckStyles[] values()
for (NestedCheckStyles c : NestedCheckStyles.values()) System.out.println(c);
public static NestedCheckStyles 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 StrBuilder toDoc()
ListStylepublic ListStyle_Check getStyle(int level)
ListStyle_CheckNestedgetStyle in interface ListStyle_CheckNestedlevel - the level for the requested styleCopyright © 2015–2016. All rights reserved.