public class IlvSymbolProperties extends Object
Constructor and Description |
---|
IlvSymbolProperties(IlvSymbolParameterAccessor[] params)
Constructs an
IlvSymbolProperties object. |
Modifier and Type | Method and Description |
---|---|
void |
addParameterAccessors(IlvSymbolParameterAccessor[] params)
Adds symbol parameter accessors to this property holder.
|
Iterator<String> |
getMappings()
Returns the names of the properties mapped to the symbol parameters.
|
String |
getParameterMapping(String paramID)
Returns the name of a mapped property of a given parameter.
|
Object |
getParameterValue(String paramID)
Returns a parameter value.
|
Object |
getProperty(String key)
Returns a symbol property value.
|
void |
setMapping(String paramID,
String propertyName)
Maps a parameter to a symbol property.
|
void |
setParameterValue(String paramID,
Object value)
Sets a parameter value.
|
void |
setProperty(String key,
Object value)
Sets a symbol property value.
|
public IlvSymbolProperties(IlvSymbolParameterAccessor[] params)
IlvSymbolProperties
object.params
- The symbol parameter accessors.public void addParameterAccessors(IlvSymbolParameterAccessor[] params)
params
- The additional parameter accessors.public Object getParameterValue(String paramID)
paramID
- The ID of the parameter.public void setParameterValue(String paramID, Object value)
paramID
- The ID of the parameter.value
- The new value to be set to the parameter.public String getParameterMapping(String paramID)
paramID
- The ID of the parameter.null
if the
parameter is not mapped.public void setMapping(String paramID, String propertyName)
paramID
- The ID of the mapped parameter.propertyName
- The name of the mapped symbol property.public void setProperty(String key, Object value)
key
- The symbol property.value
- The symbol property value.public Object getProperty(String key)
key
- The property name.© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.