@Deprecated public abstract class IlpStyleValueModifier extends IlpAbstractStyleValueProvider implements StyleChangeListener
IlpStyleValueProvider,
Serialized Form| Modifier and Type | Field and Description |
|---|---|
protected IlpStyleValueProvider |
provider
Deprecated.
This is the original style value provider.
|
dependentStyles, styleListeners, supportNotification| Constructor and Description |
|---|
IlpStyleValueModifier(IlpStyleValueProvider provider)
Deprecated.
IlpStyleValueModifier constructor. |
| Modifier and Type | Method and Description |
|---|---|
void |
addStyleChangeListener(StyleChangeListener l)
Deprecated.
Registers a listener to style value provider change notifications.
|
Object |
clone()
Deprecated.
|
boolean |
equals(Object other)
Deprecated.
This method is needed to search instances in collections.
|
Object |
getValue(IlpKey key,
IlpStyle style)
Deprecated.
Returns the value of the remote key on the remote style.
|
IlpStyleValueProvider |
getValueProvider()
Deprecated.
Returns the Style value provider encapsulated by this instance.
|
abstract 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 |
removeStyleChangeListener(StyleChangeListener l)
Deprecated.
Removes a listener of style value provider changes.
|
protected void |
specificAddDependentStyle(IlpKey key,
IlpStyle style)
Deprecated.
This method can be overwritten in the subclasses to execute an
specific behavior when a dependent style and key is set to this provider.
|
protected void |
specificRemoveDependentStyle(IlpKey key,
IlpStyle style)
Deprecated.
This method can be overwritten in the subclasses to execute an
specific behavior when a dependent style and key is removed.
|
void |
styleChanged(StyleChangeEvent e)
Deprecated.
Called when the inner style value provider has its
value changed somehow.
|
String |
toString()
Deprecated.
|
addDependentStyle, fireStyleChangeEvent, fireStyleChangeEvent, hasDependentStyles, removeDependentStyle, setSupportNotificationfinalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetStringValue, getValueTypeprotected IlpStyleValueProvider provider
public IlpStyleValueModifier(IlpStyleValueProvider provider)
IlpStyleValueModifier constructor.
Creates a new instance that will modify the value
retrieved from the given style value provider in one way or another.provider - The original style value provider.public abstract Object modifyValue(IlpKey key, IlpStyle style, Object value)
public Object getValue(IlpKey key, IlpStyle style)
getValue in interface IlpStyleValueProviderkey - The remote style key.style - The style context used to resolve the value.public IlpStyleValueProvider getValueProvider()
public String toString()
public boolean equals(Object other)
protected void specificAddDependentStyle(IlpKey key, IlpStyle style)
specificAddDependentStyle in class IlpAbstractStyleValueProviderkey - The key that is dependent on this style value provider.style - The style with the dependent key.protected void specificRemoveDependentStyle(IlpKey key, IlpStyle style)
specificRemoveDependentStyle in class IlpAbstractStyleValueProviderkey - Key that is dependent on this style value providerstyle - Style where the key is dependentpublic void addStyleChangeListener(StyleChangeListener l)
addStyleChangeListener in interface IlpStyleValueProvideraddStyleChangeListener in class IlpAbstractStyleValueProviderl - Listener to style changespublic void removeStyleChangeListener(StyleChangeListener l)
removeStyleChangeListener in interface IlpStyleValueProviderremoveStyleChangeListener in class IlpAbstractStyleValueProviderl - Listener to style changespublic void styleChanged(StyleChangeEvent e)
styleChanged in interface StyleChangeListenerstyleChanged in class IlpAbstractStyleValueProvidere - Style change event indicating which key has changed.public Object clone() throws CloneNotSupportedException
clone in class IlpAbstractStyleValueProviderCloneNotSupportedException© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.