@Deprecated public class IlpStyleValueMapper extends IlpKeyStyleValueModifier
IlpValueMap
,
IlpStyleValueProvider
,
Serialized FormModifier and Type | Field and Description |
---|---|
protected Class |
valueMapType
Deprecated.
Type of the result value in the map
|
remoteKey, remoteStyle
provider
dependentStyles, styleListeners, supportNotification
Constructor and Description |
---|
IlpStyleValueMapper(IlpStyleValueProvider provider,
IlpValueMapKey key,
Class mapValueType)
Deprecated.
IlpStyleValueMapper constructor. |
IlpStyleValueMapper(IlpStyleValueProvider provider,
IlpValueMapKey key,
IlpStyle style)
Deprecated.
IlpStyleValueMapper constructor. |
Modifier and Type | Method and Description |
---|---|
Object |
clone()
Deprecated.
|
boolean |
equals(Object other)
Deprecated.
This method is needed to search instances in collections.
|
String |
getStringValue()
Deprecated.
Returns the value for the given style as a string.
|
Class |
getValueType()
Deprecated.
Returns the mapped value class or
Object class if
the class could not be retrieved. |
Object |
modifyValue(IlpKey key,
IlpStyle style,
Object value)
Deprecated.
Returns the mapped value, if it is defined in the
source value map, or
IlpStyle.NotFound . |
addDependentStyle, addStyleChangeListener, getRemoteKey, getRemoteStyle, removeDependentStyle, removeStyleChangeListener, styleChanged, toString
getValue, getValueProvider, specificAddDependentStyle, specificRemoveDependentStyle
fireStyleChangeEvent, fireStyleChangeEvent, hasDependentStyles, setSupportNotification
protected Class valueMapType
public IlpStyleValueMapper(IlpStyleValueProvider provider, IlpValueMapKey key, Class mapValueType)
IlpStyleValueMapper
constructor.
This instance will map the value retrieved from the given style
value provider to another value, which is retrieved from an
IlpValueMap
.
provider
- The original style value provider.key
- The key to retrieve the IlpValueMap
that will be applied.mapValueType
- The value map typeIlpValueMap
,
IlpValueMapKey
public IlpStyleValueMapper(IlpStyleValueProvider provider, IlpValueMapKey key, IlpStyle style)
IlpStyleValueMapper
constructor.
This instance will map the value retrieved from the given style
value provider to another value, which is retrieved from an
IlpValueMap
.
provider
- The original style value provider.key
- The key to retrieve the IlpValueMap
that will be applied.style
- Style where the IlpValueMap
will be retrieved.IlpValueMap
,
IlpValueMapKey
public Object modifyValue(IlpKey key, IlpStyle style, Object value)
IlpStyle.NotFound
.modifyValue
in class IlpStyleValueModifier
public Class getValueType()
Object
class if
the class could not be retrieved.public String getStringValue()
IlpStyleValueProvider
interface to provide
the data that should be stored when the style value provider is saved to
the persistent storage. Correspondingly, a string-based constructor for the
style value provider is needed to restore the value when reading it from
the stored styles.public boolean equals(Object other)
equals
in class IlpKeyStyleValueModifier
public Object clone() throws CloneNotSupportedException
clone
in class IlpKeyStyleValueModifier
CloneNotSupportedException
© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.