|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.bbn.openmap.layer.rpf.RpfViewAttributes
public class RpfViewAttributes
This class contains information to pass through the RpfCacheManager and RpfCacheHandlers to describe limitations and parameters desired for data view. It contains information about the numbers of colors to use, how opaque to make the images, the chart series to retrieve, etc.
Field Summary | |
---|---|
static java.lang.String |
ALL
|
static java.lang.String |
ANY
|
boolean |
autofetchAttributes
Autofetch the subframe attributes from the FrameProvider. |
java.lang.String |
chartSeries
The data series two-letter code to limit responses to. |
int |
colorModel
The image colormodel to use, indexed or colortable, for the OMRasters. |
static java.lang.String |
COLORMODEL_DIRECT_STRING
|
static java.lang.String |
COLORMODEL_INDEXED_STRING
|
protected I18n |
i18n
|
float |
imageScaleFactor
The limiting factor for image scaling. |
int |
numberOfColors
Number of colors to use - 16, 32, 216 |
int |
opaqueness
The opaqueness of the image (transparency) 0-255: 0 is clear, 255 is opaque. |
protected java.lang.String |
propertyPrefix
|
boolean |
requireProjection
Flag to set if the CADRG projection is required. |
boolean |
scaleImages
Flag to use to scale images or not. |
protected boolean |
scaleMoreImportantThanCoverage
Flag to tell TOC handler to use scale over percent coverage when choosing the best coverage box. |
boolean |
showInfo
Flag to display attribute information about the subframes. |
boolean |
showMaps
Flag to display images. |
Fields inherited from interface com.bbn.openmap.PropertyConsumer |
---|
EditorProperty, initPropertiesProperty, LabelEditorProperty, ScopedEditorProperty |
Constructor Summary | |
---|---|
RpfViewAttributes()
|
Method Summary | |
---|---|
java.lang.String |
getInitPropertiesOrder()
Specify what order properties should be presented in an editor. |
java.util.Properties |
getProperties(java.util.Properties props)
PropertyConsumer method, to fill in a Properties object, reflecting the current values of the layer. |
java.util.Properties |
getPropertyInfo(java.util.Properties list)
Method to fill in a Properties object with values reflecting the properties able to be set on this PropertyConsumer. |
java.lang.String |
getPropertyPrefix()
Get the property key prefix that is being used to prepend to the property keys for Properties lookups. |
boolean |
isScaleMoreImportantThanCoverage()
|
void |
setDefaults()
|
void |
setProperties(java.util.Properties props)
Sets the properties. |
void |
setProperties(java.lang.String prefix,
java.util.Properties props)
Method to set the properties in the PropertyConsumer. |
void |
setPropertyPrefix(java.lang.String prefix)
Set the property key prefix that should be used by the PropertyConsumer. |
void |
setScaleMoreImportantThanCoverage(boolean scaleMoreImportantThanCoverage)
Set whether scale is more of a determining factor over percent coverage when choosing best entry for a map projection. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String ANY
public static final java.lang.String ALL
public static final java.lang.String COLORMODEL_DIRECT_STRING
public static final java.lang.String COLORMODEL_INDEXED_STRING
protected java.lang.String propertyPrefix
public int numberOfColors
public int opaqueness
public int colorModel
public boolean scaleImages
public float imageScaleFactor
public java.lang.String chartSeries
public boolean requireProjection
public boolean showMaps
public boolean showInfo
protected boolean scaleMoreImportantThanCoverage
public boolean autofetchAttributes
protected transient I18n i18n
Constructor Detail |
---|
public RpfViewAttributes()
Method Detail |
---|
public void setDefaults()
public boolean isScaleMoreImportantThanCoverage()
public void setScaleMoreImportantThanCoverage(boolean scaleMoreImportantThanCoverage)
scaleMoreImportantThanCoverage
- public void setProperties(java.util.Properties props)
setProperties
in interface PropertyConsumer
props
- the Properties
object.public void setProperties(java.lang.String prefix, java.util.Properties props)
PropertyConsumer
setProperties
in interface PropertyConsumer
prefix
- a String used by the PropertyConsumer to prepend
to each property value it wants to look up -
setList.getProperty(prefix.propertyKey). If the prefix
had already been set, then the prefix passed in should
replace that previous value.props
- a Properties object that the PropertyConsumer
can use to retrieve expected properties it can use for
configuration.public java.util.Properties getProperties(java.util.Properties props)
getProperties
in interface PropertyConsumer
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 list)
getPropertyInfo
in interface PropertyConsumer
list
- a Properties object to load the PropertyConsumer properties into. If getList equals null, then a new
Properties object should be created.
public java.lang.String getInitPropertiesOrder()
public void setPropertyPrefix(java.lang.String prefix)
setPropertyPrefix
in interface PropertyConsumer
prefix
- the prefix String.public java.lang.String getPropertyPrefix()
getPropertyPrefix
in interface PropertyConsumer
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |