public abstract class BulletDecoratorBase extends Object implements ListDecorator
BulletDecorator,
SquareDecorator,
DiscDecoratorListDecorator.ListType| Modifier and Type | Field and Description |
|---|---|
protected static String |
DEFAULT_BULLET_CHAR |
protected static String |
DEFAULT_DISC_CHAR |
protected static String |
DEFAULT_SQUARE_CHAR |
| Constructor and Description |
|---|
BulletDecoratorBase(Document doc,
String styleName,
String styleNameIntern,
String listCharacter)
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.
|
protected static final String DEFAULT_BULLET_CHAR
protected static final String DEFAULT_DISC_CHAR
protected static final String DEFAULT_SQUARE_CHAR
public BulletDecoratorBase(Document doc, String styleName, String styleNameIntern, String listCharacter)
doc - the Document which this BulletDecorator will be used on.styleName - style name: (i.e. BulletDecorator: BulletDecorator.DEFAULT_NAME)styleNameIntern - intern style name: (i.e. BulletDecorator: "Bullet_20_Symbols")listCharacter - listing character: (i.e. BulletDecorator:
BulletDecorator.DEFAULT_BULLET_CHAR)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()
ListDecoratorgetListType in interface ListDecoratorCopyright © 2010–2018 Apache Software Foundation; Copyright © 2018–2020 The Document Foundation. All rights reserved.