public class NumberedListItem extends Object
Constructor and Description |
---|
NumberedListItem(int itemFormat)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
int |
count()
Returns the current count, ie the position in the list.
|
int |
format()
Returns the numbering format.
|
String |
getListItemSymbol()
Returns the symbol for the current list item.
|
void |
next()
Increase the current count by 1.
|
public NumberedListItem(int itemFormat)
itemFormat
- The numbering format of this List.
Should be one of the formats defined in Sink
.public int count()
public int format()
public void next()
public String getListItemSymbol()
Copyright © 2005–2014 The Apache Software Foundation. All rights reserved.