|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.zkoss.zkmax.ui.eq.EventQueues
EventQueues
.
public class EventQueues
Utilities to access the event queue.
Field Summary | |
---|---|
static java.lang.String |
APPLICATION
Deprecated. Represenets the event queue in the application scope. |
static java.lang.String |
DESKTOP
Deprecated. Represents the event queue in the desktop scope. |
Constructor Summary | |
---|---|
EventQueues()
Deprecated. |
Method Summary | |
---|---|
static EventQueue |
lookup(java.lang.String name)
Deprecated. As of release 5.0.0, replaced with EventQueues.lookup(String) |
static EventQueue |
lookup(java.lang.String name,
boolean autoCreate)
Deprecated. As of release 5.0.0, replaced with EventQueues.lookup(String,boolean) |
static EventQueue |
lookup(java.lang.String name,
java.lang.String scope,
boolean autoCreate)
Deprecated. As of release 5.0.0, replaced with EventQueues.lookup(String,String,boolean) |
static boolean |
remove(java.lang.String name,
java.lang.String scope)
Deprecated. As of release 5.0.0, replaced with EventQueues.remove(String,String) |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String DESKTOP
public static final java.lang.String APPLICATION
Notice that this feature requires ZK PE or EE, or you have to provide your own implementation.
Constructor Detail |
---|
public EventQueues()
Method Detail |
---|
public static EventQueue lookup(java.lang.String name, java.lang.String scope, boolean autoCreate)
EventQueues.lookup(String,String,boolean)
name
- the queue name.scope
- the scope fo the event queue. Currently,
it supports DESKTOP
and APPLICATION
.autoCreate
- whether to create the event queue if not found.
java.lang.IllegalStateException
- if not in an activated execution
java.lang.UnsupportedOperationException
- if the scope is not supportedpublic static EventQueue lookup(java.lang.String name, boolean autoCreate)
EventQueues.lookup(String,boolean)
lookup(name, DESKTOP, autoCreate)
.
public static EventQueue lookup(java.lang.String name)
EventQueues.lookup(String)
lookup(name, DESKTOP, true)
.
public static boolean remove(java.lang.String name, java.lang.String scope)
EventQueues.remove(String,String)
name
- the queue name.scope
- the scope fo the event queue. Currently,
it supports DESKTOP
and APPLICATION
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |