|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.bbn.openmap.MapHandlerChild
com.bbn.openmap.OMComponent
com.bbn.openmap.layer.policy.StandardRenderPolicy
The StandardRenderPolicy is a RenderPolicy that simply paints the current graphic list. No conditions or deviations are considered.
| Field Summary | |
protected java.awt.Composite |
composite
|
protected boolean |
DEBUG
|
protected OMGraphicHandlerLayer |
layer
Don't let this be null, nothing will happen. |
| 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 | |
StandardRenderPolicy()
|
|
StandardRenderPolicy(OMGraphicHandlerLayer layer)
Don't pass in a null layer. |
|
| 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 |
setComposite(java.awt.Composite composite)
Can be used to set Composite objects (like AlphaComposite) on Graphics2D objects before the layer is painted. |
protected void |
setCompositeOnGraphics(java.awt.Graphics2D g)
Call made by the policy from the paint(g) method in order to set the composite on the Graphics2D object. |
void |
setLayer(OMGraphicHandlerLayer l)
A method to set the parent layer on the RenderPolicy. |
| 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 |
| Field Detail |
protected OMGraphicHandlerLayer layer
protected boolean DEBUG
protected java.awt.Composite composite
| Constructor Detail |
public StandardRenderPolicy()
public StandardRenderPolicy(OMGraphicHandlerLayer layer)
| Method Detail |
public void setLayer(OMGraphicHandlerLayer l)
RenderPolicy
setLayer in interface RenderPolicypublic OMGraphicHandlerLayer getLayer()
RenderPolicy
getLayer in interface RenderPolicypublic java.awt.Composite getComposite()
getComposite in interface RenderPolicypublic void setComposite(java.awt.Composite composite)
setComposite in interface RenderPolicycomposite - protected void setCompositeOnGraphics(java.awt.Graphics2D g)
g - Graphics2D that the Composite will be set on.public OMGraphicList prepare()
RenderPolicy
prepare in interface RenderPolicypublic void paint(java.awt.Graphics g)
RenderPolicy
paint in interface RenderPolicy
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||