|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ProjectionChangePolicy
A ProjectionChangePolicy is a policy object that determines how an OMGraphicHandler layer reacts to a projectionChanged() method call. The OMGraphicHandlerLayer has been written to consult this object to control that activity. The reaction could include clearing out the current OMGraphicList or keeping it, or launching a SwingWorker with a doPrepare() call on the layer to have the layer's prepare() method called.
| Method Summary | |
|---|---|
OMGraphicHandlerLayer |
getLayer()
|
void |
projectionChanged(ProjectionEvent pe)
The method that is called when the projection changes. |
void |
setLayer(OMGraphicHandlerLayer layer)
|
void |
workerComplete(OMGraphicList aList)
The method that gets called when the SwingWorker thread finishes. |
| Method Detail |
|---|
void setLayer(OMGraphicHandlerLayer layer)
layer - the OMGraphicHandlerLayer the policy is working for.OMGraphicHandlerLayer getLayer()
void projectionChanged(ProjectionEvent pe)
pe - the ProjectionEvent received by the layer.void workerComplete(OMGraphicList aList)
aList - the OMGraphicList returned from the OMGraphicHandlerLayer
prepare method via the SwingWorker.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||