public class ListResetPCPolicy extends java.lang.Object implements ProjectionChangePolicy
Modifier and Type | Field and Description |
---|---|
protected OMGraphicHandlerLayer |
layer
Don't let this be null.
|
protected java.util.logging.Logger |
logger |
Constructor and Description |
---|
ListResetPCPolicy()
You MUST set a layer at some point.
|
ListResetPCPolicy(OMGraphicHandlerLayer layer)
Don't pass in a null layer.
|
Modifier and Type | Method and Description |
---|---|
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.
|
protected java.util.logging.Logger logger
protected OMGraphicHandlerLayer layer
public ListResetPCPolicy()
public ListResetPCPolicy(OMGraphicHandlerLayer layer)
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
Copyright (C) BBNT Solutions LLC; See http://openmap.bbn.com/ for details