@Deprecated public class IlpStyleValueTypeConverter extends IlpStyleValueModifier
IlpStyleValueProvider, 
IlpTypeConverter, 
Serialized Form| Modifier and Type | Field and Description | 
|---|---|
| protected IlpContext | contextDeprecated.  Context used to retrieve the type converter | 
| protected IlpTypeConverter | converterDeprecated.  | 
| protected Class | valueTypeDeprecated.  Target type used to convert the retrieved value | 
providerdependentStyles, styleListeners, supportNotification| Constructor and Description | 
|---|
| IlpStyleValueTypeConverter(IlpContext context,
                          IlpStyleValueProvider provider,
                          Class target)Deprecated.  IlpStyleValueTypeConverterconstructor. | 
| IlpStyleValueTypeConverter(IlpStyleValueProvider provider,
                          Class target)Deprecated.  IlpStyleValueTypeConverterconstructor. | 
| 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. | 
| protected IlpTypeConverter | getTypeConverter(IlpStyle style)Deprecated.  Returns the type converter that will be used by this instance. | 
| Class | getValueType()Deprecated.  Returns the Java class of the value the style value provider is expected to
 return. | 
| Object | modifyValue(IlpKey key,
           IlpStyle style,
           Object value)Deprecated.  Modifies the given value; for example, converts it
 to another type, formats it, or maps it to
 another value. | 
| void | setContext(IlpContext c)Deprecated.  Sets the context used by this instance, should only be
 called after deserialization. | 
| String | toString()Deprecated.  | 
addStyleChangeListener, getValue, getValueProvider, removeStyleChangeListener, specificAddDependentStyle, specificRemoveDependentStyle, styleChangedaddDependentStyle, fireStyleChangeEvent, fireStyleChangeEvent, hasDependentStyles, removeDependentStyle, setSupportNotificationprotected IlpContext context
protected IlpTypeConverter converter
protected Class valueType
public IlpStyleValueTypeConverter(IlpContext context, IlpStyleValueProvider provider, Class target)
IlpStyleValueTypeConverter constructor.
 This instance will convert the value retrieved from the original style value provider to the target type. The conversion will be achieved using the default type converter implementation.
context - Application context that contains the IlpTypeConverter
 used by this instance.provider - The original style value provider.target - The target type.public IlpStyleValueTypeConverter(IlpStyleValueProvider provider, Class target)
IlpStyleValueTypeConverter constructor.
 This instance will convert the value retrieved from the original style value provider to the target type.
provider - The original style value provider.target - The target type.protected IlpTypeConverter getTypeConverter(IlpStyle style)
public Object modifyValue(IlpKey key, IlpStyle style, Object value)
modifyValue in class IlpStyleValueModifierpublic Class getValueType()
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 String toString()
toString in class IlpStyleValueModifierpublic void setContext(IlpContext c)
public boolean equals(Object other)
equals in class IlpStyleValueModifierpublic Object clone() throws CloneNotSupportedException
clone in class IlpStyleValueModifierCloneNotSupportedException© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.