public class EventQueueListenerAdaptor extends Object implements EventListenerAdaptor, Serializable
Constructor and Description |
---|
EventQueueListenerAdaptor(String scope,
String bookId) |
Modifier and Type | Method and Description |
---|---|
void |
addEventListener(ModelEventListener listener) |
void |
clear()
release the resource
|
void |
removeEventListener(ModelEventListener listener) |
void |
sendModelEvent(ModelEvent event) |
int |
size() |
public void addEventListener(ModelEventListener listener)
addEventListener
in interface EventListenerAdaptor
public void removeEventListener(ModelEventListener listener)
removeEventListener
in interface EventListenerAdaptor
public void sendModelEvent(ModelEvent event)
sendModelEvent
in interface EventListenerAdaptor
public void clear()
EventListenerAdaptor
clear
in interface EventListenerAdaptor
public int size()
size
in interface EventListenerAdaptor
Copyright © 2020. All rights reserved.