|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectinfo.aduna.clustermap.panel.request.RequestHandler
public class RequestHandler
RequestHandler is capable of registering and handling a queue of update requests on a ClusterMap. The requests are instances of subclasses of Request. RequestHandler also provides history functionality, mimicking typical web browser behaviour. RequestHandler synchronized its operation with the animations of the GraphPanel that is passed to it.
| Nested Class Summary | |
|---|---|
class |
RequestHandler.QueueThread
A QueueThread is responsible for picking up the GraphRequests from the queue and processing them accordingly. |
| Constructor Summary | |
|---|---|
RequestHandler(GraphPanel panel)
|
|
| Method Summary | |
|---|---|
void |
dispose()
Disposes of this RequestHandler. |
GraphPanel |
getGraphPanel()
|
History |
getHistory()
Returns the History of this RequestHandler. |
void |
queue(Request request)
Adds the specified Request at the end of the queue. |
void |
reset()
Brings the RequestHandler back into its original state. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RequestHandler(GraphPanel panel)
| Method Detail |
|---|
public void dispose()
public GraphPanel getGraphPanel()
public History getHistory()
public void queue(Request request)
public void reset()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||