|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.simoes.lpd.util.PrintQueue
org.simoes.lpd.util.PrintQueueWithTableModel
The PrintQueue is just a queue that only accepts print jobs still need to figure out how the events get sent
| Field Summary |
| Fields inherited from class org.simoes.lpd.util.PrintQueue |
lock, queue |
| Constructor Summary | |
PrintQueueWithTableModel(java.lang.String name,
PrintJobTableModel printJobTableModel)
constructor. |
|
| Method Summary | |
long |
add(PrintJob printJob)
add print job to queue. |
PrintJob |
remove(long id)
remove print job from queue. |
int |
removeAll()
remove all print jobs from queue. |
| Methods inherited from class org.simoes.lpd.util.PrintQueue |
closeQueue, getLock, getNextPrintJob, list, size |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public PrintQueueWithTableModel(java.lang.String name,
PrintJobTableModel printJobTableModel)
name - - name of the print queue.| Method Detail |
public long add(PrintJob printJob)
add in class PrintQueuepublic PrintJob remove(long id)
remove in class PrintQueuepublic int removeAll()
removeAll in class PrintQueue
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||