|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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 qeueue. |
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)
EventQueueProvider
Note:
Executions.getCurrent()
not null.EventQueueProviderImpl
is used.
To customize it, refer to EventQueues
.
lookup
in interface EventQueueProvider
lookup
in class EventQueueProviderImpl
name
- 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 EventQueueProvider
remove
in class EventQueueProviderImpl
name
- 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 |