|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectilog.cpl.style.IlpAbstractStyleValueProvider
ilog.cpl.style.IlpRemoteStyleValueProvider
public class IlpRemoteStyleValueProvider
Style value provider for remote style values.
| Field Summary | |
|---|---|
protected IlpKey |
remoteKey
Deprecated. Remote key |
protected IlpStyle |
remoteStyle
Deprecated. Remote style |
| Fields inherited from class ilog.cpl.style.IlpAbstractStyleValueProvider |
|---|
dependentStyles, styleListeners, supportNotification |
| Constructor Summary | |
|---|---|
IlpRemoteStyleValueProvider(IlpKey remoteKey)
Deprecated. IlpRemoteStyleValueProvider constructor. |
|
IlpRemoteStyleValueProvider(IlpKey remoteKey,
IlpStyle remoteStyle)
Deprecated. IlpRemoteStyleValueProvider constructor. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class ilog.cpl.style.IlpAbstractStyleValueProvider |
|---|
fireStyleChangeEvent, fireStyleChangeEvent, hasDependentStyles, setSupportNotification, specificAddDependentStyle, specificRemoveDependentStyle |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected IlpKey remoteKey
protected IlpStyle remoteStyle
| Constructor Detail |
|---|
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.| Method Detail |
|---|
public Class getValueType()
getValueType in interface IlpStyleValueProvider
public Object getValue(IlpKey key,
IlpStyle style)
getValue in interface IlpStyleValueProviderkey - 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 IlpStyleValueProviderpublic String toString()
toString in class Objectpublic boolean equals(Object other)
equals in class Object
public void addDependentStyle(IlpKey key,
IlpStyle style)
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)
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 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
|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||