@Deprecated public abstract class IlpKeyStyleValueModifier extends IlpStyleValueModifier
| Modifier and Type | Field and Description |
|---|---|
protected IlpKey |
remoteKey
Deprecated.
Remote key
|
protected IlpStyle |
remoteStyle
Deprecated.
Remote style
|
providerdependentStyles, styleListeners, supportNotification| Constructor and Description |
|---|
IlpKeyStyleValueModifier(IlpStyleValueProvider provider,
IlpKey key,
IlpStyle style)
Deprecated.
IlpKeyStyleValueModifier constructor. |
| 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.
|
Object |
clone()
Deprecated.
|
boolean |
equals(Object other)
Deprecated.
This method is needed to search instances in collections.
|
IlpKey |
getRemoteKey()
Deprecated.
Get remote key.
|
IlpStyle |
getRemoteStyle()
Deprecated.
Get remote style.
|
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.
|
void |
styleChanged(StyleChangeEvent e)
Deprecated.
Called when the inner style value provider has its
value changed somehow.
|
String |
toString()
Deprecated.
|
getValue, getValueProvider, modifyValue, specificAddDependentStyle, specificRemoveDependentStylefireStyleChangeEvent, fireStyleChangeEvent, hasDependentStyles, setSupportNotificationfinalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetStringValue, getValueTypeprotected IlpKey remoteKey
protected IlpStyle remoteStyle
public IlpKeyStyleValueModifier(IlpStyleValueProvider provider, IlpKey key, IlpStyle style)
IlpKeyStyleValueModifier constructor.provider - The original style value provider.key - The key to retrieve the valuestyle - Style to retrieve the value or null if the
current style should be used.public IlpKey getRemoteKey()
public IlpStyle getRemoteStyle()
public String toString()
toString in class IlpStyleValueModifierpublic boolean equals(Object other)
equals in class IlpStyleValueModifierpublic void addDependentStyle(IlpKey key, IlpStyle style)
This method is called whenever this instance is set in a style,
using IlpStyle.setValueProvider.
addDependentStyle in interface IlpStyleValueProvideraddDependentStyle in class IlpAbstractStyleValueProviderkey - The key which is dependent on this style value provider.style - The style with the dependent key.IlpStyle.setValueProvider(ilog.cpl.style.key.IlpKey, ilog.cpl.style.IlpStyleValueProvider, boolean)public void removeDependentStyle(IlpKey key, IlpStyle style)
This method is called whenever this instance is removed from a
style, either calling IlpStyle.resetToDefaultValue or
IlpStyle.setValueProvider.
removeDependentStyle in interface IlpStyleValueProviderremoveDependentStyle in class IlpAbstractStyleValueProviderkey - The key that was dependent on this style value provider.style - The style with the dependent key.IlpStyle.setValueProvider(ilog.cpl.style.key.IlpKey, ilog.cpl.style.IlpStyleValueProvider, boolean)public void addStyleChangeListener(StyleChangeListener l)
addStyleChangeListener in interface IlpStyleValueProvideraddStyleChangeListener in class IlpStyleValueModifierl - Listener to style changespublic void removeStyleChangeListener(StyleChangeListener l)
removeStyleChangeListener in interface IlpStyleValueProviderremoveStyleChangeListener in class IlpStyleValueModifierl - Listener to style changespublic void styleChanged(StyleChangeEvent e)
styleChanged in interface StyleChangeListenerstyleChanged in class IlpStyleValueModifiere - Style change event indicating which key has changed.public Object clone() throws CloneNotSupportedException
clone in class IlpStyleValueModifierCloneNotSupportedException© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.