@Deprecated public interface IlpStyleValueProvider extends Serializable
Modifier and Type | Method and Description |
---|---|
void |
addDependentStyle(IlpKey key,
IlpStyle style)
Deprecated.
Indicates that the given style is using this style value provider
for the given key.
|
void |
addStyleChangeListener(StyleChangeListener l)
Deprecated.
Registers a listener to style value provider change notifications.
|
String |
getStringValue()
Deprecated.
Returns the value for the given style as a string.
|
Object |
getValue(IlpKey key,
IlpStyle style)
Deprecated.
Returns the value for the given style.
|
Class |
getValueType()
Deprecated.
Returns the Java class of the value the style value provider is expected to
return.
|
void |
removeDependentStyle(IlpKey key,
IlpStyle style)
Deprecated.
Indicates that the given style is no longer using this style value
provider for the given key.
|
void |
removeStyleChangeListener(StyleChangeListener l)
Deprecated.
Removes a listener of style value provider changes.
|
Object getValue(IlpKey key, IlpStyle style)
key
- Style key whose value is being requested.style
- Style whose value is requested.IlpStyle.NotFound
if the value could not
be calculated by this provider.Class getValueType()
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.void addDependentStyle(IlpKey key, IlpStyle style)
void removeDependentStyle(IlpKey key, IlpStyle style)
void addStyleChangeListener(StyleChangeListener l)
void removeStyleChangeListener(StyleChangeListener l)
© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.