| java.lang.Object javax.media.jai.PropertyEnvironment
PropertyEnvironment | class PropertyEnvironment implements PropertySource(Code) | | A class that implements the PropertySource interface.
Property names are treated in a case-insensitive manner.
since: JAI 1.1 |
pg | Vector pg(Code) | | The local PropertyGenerators of this PropertyEnvironment.
|
sourceForProp | CaselessStringKeyHashtable sourceForProp(Code) | | Sources of properties of this node. The keys are property names
and the values are Integers which should be indexes into the Vector
of sources.
|
sources | Vector sources(Code) | | The sources of the associated node. The elements should
be PropertySources.
|
PropertyEnvironment | public PropertyEnvironment(Vector sources, Vector generators, Vector suppressed, Hashtable sourceForProp, Object op)(Code) | | Constructs a PropertyEnvironment
Parameters: sources - PropertySource s in operation source order. Parameters: generators - PropertyGenerator s. Parameters: suppressed - Names of suppressed properties. Parameters: sourceForProp - Hash by property name of indexes ofPropertySource s in sources fromwhich to derive properties. Parameters: op - The operation node. |
copyPropertyFromSource | public void copyPropertyFromSource(String propertyName, int sourceIndex)(Code) | | ---- Methods to modify the local property environment. ----
|
getProperty | public Object getProperty(String name)(Code) | | Returns the value of a property.
Parameters: name - the name of the property, as a String. the value of the property, as an Object. |
getPropertyClass | public Class getPropertyClass(String propertyName)(Code) | | Returns the class expected to be returned by a request for
the property with the specified name. If this information
is unavailable, null will be returned.
This implemention returns null to avoid
provoking deferred calculations.
The Class expected to be return by arequest for the value of this property or null . |
getPropertyNames | public String[] getPropertyNames()(Code) | | Returns an array of Strings recognized as names by this
property source.
an array of Strings giving the valid property names. |
getPropertyNames | public String[] getPropertyNames(String prefix)(Code) | | Returns an array of String s recognized as names by
this property source that begin with the supplied prefix. If
no property names match, null will be returned.
The comparison is done in a case-independent manner.
The default implementation calls getPropertyNames()
and searches the list of names for matches.
an array of String s giving the validproperty names. |
setDefaultPropertySource | public void setDefaultPropertySource(PropertySource ps)(Code) | | Sets a PropertySource from which to derive all non-suppressed
properties emitted by the PropertySource if and only if neither
a PropertyGenerator nor a copy-from-source directive exists
for the requested property. This PropertySource will supersede
automatic inheritance from any (operation) sources. It should
be used, for example, when a rendered node wishes to derive
property values from its rendering without overriding any user
configuration settings in the property environment of the node.
|
suppressProperty | public void suppressProperty(String propertyName)(Code) | | |
|
|