public class CheckListItem extends AbstractAsciiListItem
AsciiListItem for a checklist.| Modifier and Type | Field and Description |
|---|---|
protected boolean |
checked
Flag for checked (true) and unchecked (false) items in a checklist.
|
content| Constructor and Description |
|---|
CheckListItem(Object content,
boolean checked)
Creates a new list item
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isChecked()
Returns the checked flag of the item.
|
getContent, renderprotected final boolean checked
public CheckListItem(Object content, boolean checked)
content - the content for the new list itemchecked - flag to indicate if the item is checked (true) or not (false)IllegalArgumentException - if the content or the content toString was emptyNullPointerException - if the content toString was nullCopyright © 2015–2016. All rights reserved.