|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RenderPolicy
A policy object that can be used by an OMGraphicHandlerLayer to figure out the best way to paint on the map.
Method Summary | |
---|---|
java.awt.Composite |
getComposite()
|
OMGraphicHandlerLayer |
getLayer()
A method to get the parent layer on the RenderPolicy. |
void |
paint(java.awt.Graphics g)
Called from OMGraphicHandlerLayer.paint(Graphics), so the policy can handle the painting for the layer. |
OMGraphicList |
prepare()
Called when an OMGraphicHandlerLayer should begin preparing OMGraphics for the map. |
void |
prePrepare(Projection newProjection)
Be very careful with doing things in this method. |
void |
setComposite(java.awt.Composite composite)
Set a Composite object on a Graphics2D object before rendering. |
void |
setLayer(OMGraphicHandlerLayer layer)
A method to set the parent layer on the RenderPolicy. |
Method Detail |
---|
void setLayer(OMGraphicHandlerLayer layer)
OMGraphicHandlerLayer getLayer()
void setComposite(java.awt.Composite composite)
java.awt.Composite getComposite()
void prePrepare(Projection newProjection)
newProjection
- the new projection received in a projectionChanged
method for the layer.OMGraphicList prepare()
void paint(java.awt.Graphics g)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |