|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.bbn.openmap.layer.policy.ListResetPCPolicy
ProjectionChangePolicy that uses a Layer SwingWorker to kick off a thread to call layer.prepare() and deletes the current OMGraphicList between projection changes. The standard behavior for layers that gather new OMGraphics for new projections.
Field Summary | |
protected OMGraphicHandlerLayer |
layer
Don't let this be null. |
Constructor Summary | |
ListResetPCPolicy()
You MUST set a layer at some point. |
|
ListResetPCPolicy(OMGraphicHandlerLayer layer)
Don't pass in a null layer. |
Method Summary | |
OMGraphicHandlerLayer |
getLayer()
Get the OMGraphicHandlerLayer to work with. |
void |
projectionChanged(ProjectionEvent pe)
The method that is called when the projection changes. |
void |
setLayer(OMGraphicHandlerLayer l)
Set the OMGraphicHandlerLayer to work with. |
void |
workerComplete(OMGraphicList aList)
This is a subtle call, that dictates what should happen when the LayerWorker has completed working in it's thread. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected OMGraphicHandlerLayer layer
Constructor Detail |
public ListResetPCPolicy()
public ListResetPCPolicy(OMGraphicHandlerLayer layer)
Method Detail |
public void setLayer(OMGraphicHandlerLayer l)
ProjectionChangePolicy
setLayer
in interface ProjectionChangePolicy
public OMGraphicHandlerLayer getLayer()
ProjectionChangePolicy
getLayer
in interface ProjectionChangePolicy
public void projectionChanged(ProjectionEvent pe)
ProjectionChangePolicy
projectionChanged
in interface ProjectionChangePolicy
public void workerComplete(OMGraphicList aList)
workerComplete
in interface ProjectionChangePolicy
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |