|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.zkoss.zk.ui.event.impl.EventQueueProviderImpl
org.zkoss.zkmax.ui.event.impl.EventQueueProviderImpl
public class EventQueueProviderImpl
Enhance the default implementation to support EventQueues.GROUP.
| Field Summary |
|---|
| Fields inherited from class org.zkoss.zk.ui.event.impl.EventQueueProviderImpl |
|---|
ATTR_EVENT_QUEUES |
| Constructor Summary | |
|---|---|
EventQueueProviderImpl()
|
|
| Method Summary | ||
|---|---|---|
|
lookup(java.lang.String name,
java.lang.String scope,
boolean autoCreate)
Returns the event queue with the specified name in the specified scope. |
|
boolean |
remove(java.lang.String name,
java.lang.String scope)
Removes the event queue. |
|
| Methods inherited from class org.zkoss.zk.ui.event.impl.EventQueueProviderImpl |
|---|
lookup, lookup, remove, remove |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EventQueueProviderImpl()
| Method Detail |
|---|
public <T extends Event> EventQueue<T> lookup(java.lang.String name,
java.lang.String scope,
boolean autoCreate)
EventQueueProviderNote:
Executions.getCurrent() not null.EventQueueProviderImpl is used.
To customize it, refer to EventQueues.
lookup in interface EventQueueProviderlookup in class EventQueueProviderImplname - the name of the event queue.scope - the scope of the event queue.
It must support EventQueues.DESKTOP and EventQueues.APPLICATION.
Developers might extend it to support other types of event queues.autoCreate - whether to create the event queue if not found.
public boolean remove(java.lang.String name,
java.lang.String scope)
EventQueueProvider
remove in interface EventQueueProviderremove in class EventQueueProviderImplname - the name of the event queue.scope - the scope of the event queue.
It must support EventQueues.DESKTOP and EventQueues.APPLICATION.
Developers might extend it to support other types of event queues.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||