|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ListDecorator
ListDecorator is a decorator which decides how to decorate a List and its ListItems.
Every list, including sub lists, may have a list style which is applied to its list items and sub lists. ListDecorator holds this style and decides the appearance of a list. List style is applied by invoking decorateList(List), while list item style is applied by invoking decorateListItem(ListItem).
A ListDecorator specified for a sub list overrides the ListDecorator specified for the list in which the sub list is contained.
| Nested Class Summary | |
|---|---|
static class |
ListDecorator.ListType
The supported list types till now. |
| 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. |
| Method Detail |
|---|
void decorateList(List list)
list, of which style is set.
list - the List is decorated.void decorateListItem(ListItem item)
item in a List, of which style is
set.
item - the ListItem is decorated.ListDecorator.ListType getListType()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||