|
fop 1.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.fop.events.CompositeEventListener
public class CompositeEventListener
EventListener implementation forwards events to possibly multiple other EventListeners.
Constructor Summary | |
---|---|
CompositeEventListener()
|
Method Summary | |
---|---|
void |
addEventListener(EventListener listener)
Adds an event listener to the broadcaster. |
boolean |
hasEventListeners()
Indicates whether any listeners have been registered with the broadcaster. |
void |
processEvent(Event event)
This method is called for each event that is generated. |
void |
removeEventListener(EventListener listener)
Removes an event listener from the broadcaster. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CompositeEventListener()
Method Detail |
---|
public void addEventListener(EventListener listener)
listener
- the listener to be addedpublic void removeEventListener(EventListener listener)
listener
- the listener to be removedpublic boolean hasEventListeners()
public void processEvent(Event event)
event
- the event
|
fop 1.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |