public class HintsMapBeanRepaintPolicy extends StandardMapBeanRepaintPolicy implements java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
protected RenderingHintsRenderPolicy |
hints |
DEBUG, map
i18n, propertyPrefix
beanContextChildSupport, isolated
EditorProperty, initPropertiesProperty, LabelEditorProperty, ScopedEditorProperty
Constructor and Description |
---|
HintsMapBeanRepaintPolicy() |
HintsMapBeanRepaintPolicy(MapBean mb) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone()
Provide a configured copy (except for the MapBean).
|
RenderingHintsRenderPolicy |
getHints() |
java.util.Properties |
getProperties(java.util.Properties props)
PropertyConsumer method, to fill in a Properties object, reflecting the
current values of the OMComponent.
|
java.util.Properties |
getPropertyInfo(java.util.Properties props)
Method to fill in a Properties object with values reflecting the
properties able to be set on this PropertyConsumer.
|
java.awt.Graphics |
modifyGraphicsForPainting(java.awt.Graphics graphics)
A hook for the RepaintPolicy to make any adjustments to the
java.awt.Graphics object before sending the Graphics object to the layers
for painting.
|
void |
put(java.lang.Object key,
java.lang.Object value)
Set RenderingHint on this object.
|
void |
setHints(RenderingHintsRenderPolicy rhrp) |
void |
setProperties(java.lang.String prefix,
java.util.Properties props)
Sets the properties for the OMComponent.
|
findAndInit, findAndUndo, getMap, repaint, setMap
getPropertyPrefix, setProperties, setPropertyPrefix
addPropertyChangeListener, addVetoableChangeListener, childrenAdded, childrenRemoved, findAndInit, firePropertyChange, fireVetoableChange, getBeanContext, isIsolated, removePropertyChangeListener, removeVetoableChangeListener, setBeanContext, setIsolated
protected RenderingHintsRenderPolicy hints
public HintsMapBeanRepaintPolicy()
public HintsMapBeanRepaintPolicy(MapBean mb)
public void setHints(RenderingHintsRenderPolicy rhrp)
public RenderingHintsRenderPolicy getHints()
public void put(java.lang.Object key, java.lang.Object value)
key
- RenderingHint KEYvalue
- RenderingHint VALUEpublic java.awt.Graphics modifyGraphicsForPainting(java.awt.Graphics graphics)
modifyGraphicsForPainting
in interface MapBeanRepaintPolicy
modifyGraphicsForPainting
in class StandardMapBeanRepaintPolicy
public void setProperties(java.lang.String prefix, java.util.Properties props)
OMComponent
setProperties
in interface PropertyConsumer
setProperties
in class OMComponent
prefix
- the token to prefix the property namesprops
- the Properties
objectpublic java.util.Properties getProperties(java.util.Properties props)
OMComponent
getProperties
in interface PropertyConsumer
getProperties
in class OMComponent
props
- a Properties object to load the PropertyConsumer properties
into. If props equals null, then a new Properties object should be
created.public java.util.Properties getPropertyInfo(java.util.Properties props)
OMComponent
getPropertyInfo
in interface PropertyConsumer
getPropertyInfo
in class OMComponent
props
- a Properties object to load the PropertyConsumer properties
into. If getList equals null, then a new Properties object should
be created.public java.lang.Object clone()
MapBeanRepaintPolicy
clone
in interface MapBeanRepaintPolicy
clone
in class StandardMapBeanRepaintPolicy
Copyright (C) BBNT Solutions LLC; See http://openmap.bbn.com/ for details