@Deprecated public class IlpRemoteStyleValueProvider extends IlpAbstractStyleValueProvider implements StyleChangeListener
Modifier and Type | Field and Description |
---|---|
protected IlpKey |
remoteKey
Deprecated.
Remote key
|
protected IlpStyle |
remoteStyle
Deprecated.
Remote style
|
dependentStyles, styleListeners, supportNotification
Constructor and Description |
---|
IlpRemoteStyleValueProvider(IlpKey remoteKey)
Deprecated.
IlpRemoteStyleValueProvider constructor. |
IlpRemoteStyleValueProvider(IlpKey remoteKey,
IlpStyle remoteStyle)
Deprecated.
IlpRemoteStyleValueProvider 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 |
getKey()
Deprecated.
Returns the
IlpKey pointed to by this IlpRemoteStyleValueProvider . |
String |
getStringValue()
Deprecated.
Returns the value for the given style as a string.
|
IlpStyle |
getStyle()
Deprecated.
Returns the
IlpStyle pointed to by this IlpRemoteStyleValueProvider . |
IlpStyle |
getStyle(IlpStyle style)
Deprecated.
Returns the
IlpStyle pointed to by this IlpRemoteStyleValueProvider or
the given default style. |
Object |
getValue(IlpKey key,
IlpStyle style)
Deprecated.
Returns the value of the remote key on the remote 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.
|
void |
styleChanged(StyleChangeEvent e)
Deprecated.
Called when style values have changed.
|
String |
toString()
Deprecated.
|
fireStyleChangeEvent, fireStyleChangeEvent, hasDependentStyles, setSupportNotification, specificAddDependentStyle, specificRemoveDependentStyle
protected IlpKey remoteKey
protected IlpStyle remoteStyle
public IlpRemoteStyleValueProvider(IlpKey remoteKey)
IlpRemoteStyleValueProvider
constructor.
Creates a remote style value provider linked to the given remote key in
the same style.remoteKey
- Key in the remote style.public IlpRemoteStyleValueProvider(IlpKey remoteKey, IlpStyle remoteStyle)
IlpRemoteStyleValueProvider
constructor.
Creates a remote style value provider linked to the given remote key.remoteKey
- Key in the remote style.remoteStyle
- Remote style where the remote value is located.public Class getValueType()
getValueType
in interface IlpStyleValueProvider
public Object getValue(IlpKey key, IlpStyle style)
getValue
in interface IlpStyleValueProvider
key
- Remote style keystyle
- Style context used to resolve the value.public IlpStyle getStyle(IlpStyle style)
IlpStyle
pointed to by this IlpRemoteStyleValueProvider
or
the given default style.public IlpStyle getStyle()
IlpStyle
pointed to by this IlpRemoteStyleValueProvider
.public IlpKey getKey()
IlpKey
pointed to by this IlpRemoteStyleValueProvider
.public String getStringValue()
null
.getStringValue
in interface IlpStyleValueProvider
public String toString()
public boolean equals(Object other)
public void addDependentStyle(IlpKey key, IlpStyle style)
addDependentStyle
in interface IlpStyleValueProvider
addDependentStyle
in class IlpAbstractStyleValueProvider
key
- 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)
removeDependentStyle
in interface IlpStyleValueProvider
removeDependentStyle
in class IlpAbstractStyleValueProvider
key
- 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 IlpStyleValueProvider
addStyleChangeListener
in class IlpAbstractStyleValueProvider
l
- Listener to style changespublic void removeStyleChangeListener(StyleChangeListener l)
removeStyleChangeListener
in interface IlpStyleValueProvider
removeStyleChangeListener
in class IlpAbstractStyleValueProvider
l
- Listener to style changespublic void styleChanged(StyleChangeEvent e)
styleChanged
in interface StyleChangeListener
styleChanged
in class IlpAbstractStyleValueProvider
e
- Style change event indicating which key has changed.public Object clone() throws CloneNotSupportedException
clone
in class IlpAbstractStyleValueProvider
CloneNotSupportedException
© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.