|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openbp.jaspira.decoration.FilteredDecorator
org.openbp.jaspira.decoration.ListDecorator
public abstract class ListDecorator
The list decorator is backuped by an internal list of qualifying owners. It supports adding and removal of owners.
| Constructor Summary | |
|---|---|
ListDecorator()
|
|
| Method Summary | |
|---|---|
void |
add(java.lang.Object owner)
Adds an owner to the internal list, |
void |
clear()
Clears the owner list. |
boolean |
isEmpty()
Checks if the list of owners is empty. |
boolean |
qualifies(java.lang.Object owner)
Checks for qualification of an object. |
void |
remove(java.lang.Object owner)
Removes an owner from the internal list. |
| Methods inherited from class org.openbp.jaspira.decoration.FilteredDecorator |
|---|
decorate, doDecorate |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ListDecorator()
| Method Detail |
|---|
public boolean qualifies(java.lang.Object owner)
qualifies in class FilteredDecoratorowner - Owner of the object.
This parameter is passed to the DecorationMgr.decorate(java.lang.Object, java.lang.String, java.lang.Object) method.
public void add(java.lang.Object owner)
owner - Owner to addpublic void remove(java.lang.Object owner)
owner - Owner to removepublic void clear()
public boolean isEmpty()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||