|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.bbn.openmap.MapHandlerChild | +--com.bbn.openmap.OMComponent | +--com.bbn.openmap.layer.policy.StandardRenderPolicy | +--com.bbn.openmap.layer.policy.FullProjectionRenderPolicy
The FullProjectionRenderPolicy is a StandardRenderPolicy that sets the clip of the java.awt.Graphics passed into the paint method with the clipping area of the projection. You'll need to use this render policy if you want to paint into a buffer that is bigger than the layer size (and MapBean size), because Java sets the max clipping size to the size of the component.
Field Summary |
Fields inherited from class com.bbn.openmap.layer.policy.StandardRenderPolicy |
DEBUG, layer |
Fields inherited from class com.bbn.openmap.OMComponent |
i18n, propertyPrefix |
Fields inherited from class com.bbn.openmap.MapHandlerChild |
beanContextChildSupport |
Fields inherited from interface com.bbn.openmap.PropertyConsumer |
EditorProperty, initPropertiesProperty, LabelEditorProperty, ScopedEditorProperty |
Constructor Summary | |
FullProjectionRenderPolicy()
|
|
FullProjectionRenderPolicy(OMGraphicHandlerLayer layer)
Don't pass in a null layer. |
Method Summary | |
void |
paint(java.awt.Graphics g)
Called from OMGraphicHandlerLayer.paint(Graphics), so the policy can handle the painting for the layer. |
Methods inherited from class com.bbn.openmap.layer.policy.StandardRenderPolicy |
getLayer, prepare, setLayer |
Methods inherited from class com.bbn.openmap.OMComponent |
getProperties, getPropertyInfo, getPropertyPrefix, setProperties, setProperties, setPropertyPrefix |
Methods inherited from class com.bbn.openmap.MapHandlerChild |
addPropertyChangeListener, addVetoableChangeListener, childrenAdded, childrenRemoved, findAndInit, findAndInit, findAndUndo, firePropertyChange, fireVetoableChange, getBeanContext, removePropertyChangeListener, removeVetoableChangeListener, setBeanContext |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public FullProjectionRenderPolicy()
public FullProjectionRenderPolicy(OMGraphicHandlerLayer layer)
Method Detail |
public void paint(java.awt.Graphics g)
RenderPolicy
paint
in interface RenderPolicy
paint
in class StandardRenderPolicy
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |