|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IlpStyleValueProvider
Interface implemented by classes that calculate style values. It will be invoked by the style.
| 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. |
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. |
| Method Detail |
|---|
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)
IlpStyle.setValueProvider(ilog.cpl.style.key.IlpKey, ilog.cpl.style.IlpStyleValueProvider, boolean)
void removeDependentStyle(IlpKey key,
IlpStyle style)
IlpStyle.setValueProvider(ilog.cpl.style.key.IlpKey, ilog.cpl.style.IlpStyleValueProvider, boolean)void addStyleChangeListener(StyleChangeListener l)
void removeStyleChangeListener(StyleChangeListener l)
|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||