|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.odftoolkit.simple.text.list.BulletDecorator
public class BulletDecorator
BulletDecorator is an implementation of the ListDecorator interface, decorates a given List as bullet list. User can extend this class and realize their own list and list item style. For example, set a specifies list item with red color.
A BulletDecorator can be reused in the same Document.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.odftoolkit.simple.text.list.ListDecorator |
|---|
ListDecorator.ListType |
| Constructor Summary | |
|---|---|
BulletDecorator(Document doc)
Constructor with Document. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BulletDecorator(Document doc)
doc - the Document which this BulletDecorator will be used on.| Method Detail |
|---|
public void decorateList(List list)
ListDecoratorlist, of which style is set.
decorateList in interface ListDecoratorlist - the List is decorated.public void decorateListItem(ListItem item)
ListDecoratoritem in a List, of which style is
set.
decorateListItem in interface ListDecoratoritem - the ListItem is decorated.public ListDecorator.ListType getListType()
ListDecorator
getListType in interface ListDecorator
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||