public enum CheckListStyles extends Enum<CheckListStyles> implements ListStyle_Check
AsciiList_Check.| Enum Constant and Description |
|---|
ASCII_SQUARE_BRACKET_BLANK_X
Style that uses square brackets and X.
|
UTF_BALLOT_BOX
Style that uses UTF-8 ballot box characters.
|
UTF_BALLOT_BOX_X
Style that uses UTF-8 ballot box characters with X box for checked.
|
UTF_BALLOT_X
Style that uses blank for unchecked and UTF-8 ballot X for checked items.
|
UTF_BALLOT_X_HEAVY
Style that uses blank for unchecked and UTF-8 ballot heavy X for checked items.
|
UTF_CHECKMARK
Style that uses blank for unchecked and UTF-8 checkmark for checked items.
|
UTF_MULTIPLICATION_X
Style that uses blank for unchecked and UTF-8 multiplication x for checked items.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getLabelChecked()
Returns the label for a checked item.
|
String |
getLabelUnchecked()
Returns the label for an unchecked item.
|
StrBuilder |
toDoc()
Returns a representation of the list style useful for documentation
|
static CheckListStyles |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CheckListStyles[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CheckListStyles ASCII_SQUARE_BRACKET_BLANK_X
[ ] unchecked item
[X] checked item
public static final CheckListStyles UTF_BALLOT_BOX
☐ unchecked item
☑ checked item
public static final CheckListStyles UTF_BALLOT_BOX_X
☐ unchecked item
☒ checked item
public static final CheckListStyles UTF_BALLOT_X
unchecked item
✗ checked item
public static final CheckListStyles UTF_BALLOT_X_HEAVY
unchecked item
✘ checked item
public static final CheckListStyles UTF_CHECKMARK
unchecked item
✓ checked item
public static final CheckListStyles UTF_MULTIPLICATION_X
unchecked item
✕ checked item
public static CheckListStyles[] values()
for (CheckListStyles c : CheckListStyles.values()) System.out.println(c);
public static CheckListStyles 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 String getLabelChecked()
ListStyle_CheckgetLabelChecked in interface ListStyle_Checkpublic String getLabelUnchecked()
ListStyle_CheckgetLabelUnchecked in interface ListStyle_Checkpublic StrBuilder toDoc()
ListStyle_ChecktoDoc in interface ListStyle_CheckCopyright © 2015–2016. All rights reserved.