public class NumberDecorator extends Object implements ListDecorator
A NumberDecorator can be reused in the same Document.
ListDecorator.ListType
Constructor and Description |
---|
NumberDecorator(Document doc)
Constructor with Document.
|
Modifier and Type | Method and Description |
---|---|
void |
decorateList(List list)
Decorate the specifies
list , of which style is set. |
void |
decorateListItem(ListItem item)
Decorate the specifies
item in a List, of which style is
set. |
ListDecorator.ListType |
getListType()
Get the ListType of this ListDecorator.
|
public NumberDecorator(Document doc)
doc
- the Document which this NumberDecorator will be used on.public void decorateList(List list)
ListDecorator
list
, of which style is set.decorateList
in interface ListDecorator
list
- the List is decorated.public void decorateListItem(ListItem item)
ListDecorator
item
in a List, of which style is
set.decorateListItem
in interface ListDecorator
item
- the ListItem is decorated.public ListDecorator.ListType getListType()
ListDecorator
getListType
in interface ListDecorator
Copyright © 2010-2013 The Apache Software Foundation. All Rights Reserved.