|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.zkoss.zkex.zul.impl.OperationQueue
public class OperationQueue
A queue for storing Operation
and is thread-safe.
This class is for model sharer developer only, you rarely need to use this class.
Available in ZK PE and ZK EE.
Constructor Summary | |
---|---|
OperationQueue()
|
Method Summary | |
---|---|
void |
addListener(OperationQueueListener listener)
Add a listener to this queue |
Operation |
element()
Get an operation from queue, doesn't remove it. |
boolean |
hasElement()
Check is there any operation in queue. |
Operation |
next()
Get an operation from queue, and then remove it. |
void |
put(Operation op)
Put an operation to queue |
void |
remove()
Remove the first operation in queue if exist. |
void |
removeListener(OperationQueueListener listener)
Remove a listener to this queue. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OperationQueue()
Method Detail |
---|
public void addListener(OperationQueueListener listener)
public void removeListener(OperationQueueListener listener)
public void put(Operation op)
op
- the operation.public Operation element()
public boolean hasElement()
public Operation next()
public void remove()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |