|
||||||||||
| 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.IlpStyleValueModifier
ilog.cpl.style.IlpKeyStyleValueModifier
ilog.cpl.style.IlpStyleValueFormatter
public class IlpStyleValueFormatter
Models an object that is responsible for formatting
the value retrieved from a style value provider. Formatting a value
always converts the value to a String.
Format,
IlpStyleValueProvider,
Serialized Form| Field Summary |
|---|
| Fields inherited from class ilog.cpl.style.IlpKeyStyleValueModifier |
|---|
remoteKey, remoteStyle |
| Fields inherited from class ilog.cpl.style.IlpStyleValueModifier |
|---|
provider |
| Fields inherited from class ilog.cpl.style.IlpAbstractStyleValueProvider |
|---|
dependentStyles, styleListeners, supportNotification |
| Constructor Summary | |
|---|---|
IlpStyleValueFormatter(IlpStyleValueProvider provider,
IlpFormatKey key)
Deprecated. IlpStyleValueFormatter constructor. |
|
IlpStyleValueFormatter(IlpStyleValueProvider provider,
IlpFormatKey key,
IlpStyle style)
Deprecated. IlpStyleValueFormatter constructor. |
|
| Method Summary | |
|---|---|
Object |
clone()
Deprecated. |
boolean |
equals(Object other)
Deprecated. This method is needed to search instances in collections. |
String |
getStringValue()
Deprecated. Returns the value for the given style as a string. |
Class |
getValueType()
Deprecated. Returns the String class. |
Object |
modifyValue(IlpKey key,
IlpStyle style,
Object value)
Deprecated. Formats the given value. |
| Methods inherited from class ilog.cpl.style.IlpKeyStyleValueModifier |
|---|
addDependentStyle, addStyleChangeListener, getRemoteKey, getRemoteStyle, removeDependentStyle, removeStyleChangeListener, styleChanged, toString |
| Methods inherited from class ilog.cpl.style.IlpStyleValueModifier |
|---|
getValue, getValueProvider, specificAddDependentStyle, specificRemoveDependentStyle |
| Methods inherited from class ilog.cpl.style.IlpAbstractStyleValueProvider |
|---|
fireStyleChangeEvent, fireStyleChangeEvent, hasDependentStyles, setSupportNotification |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public IlpStyleValueFormatter(IlpStyleValueProvider provider,
IlpFormatKey key)
IlpStyleValueFormatter constructor.
This instance formats the value retrieved from the original style value provider using the format given by key and style.
provider - The original style value provider.key - The key to retrieve the formatFormat,
IlpFormatKey
public IlpStyleValueFormatter(IlpStyleValueProvider provider,
IlpFormatKey key,
IlpStyle style)
IlpStyleValueFormatter constructor.
This instance formats the value retrieved from the original style value provider using the format given by key and style.
provider - The original style value provider.key - The key to retrieve the format that will be applied.style - Style where the format will be retrieved.| Method Detail |
|---|
public Object modifyValue(IlpKey key,
IlpStyle style,
Object value)
modifyValue in class IlpStyleValueModifierpublic Class getValueType()
String class.
Formatted values are also converted to String.
public 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.
public boolean equals(Object other)
equals in class IlpKeyStyleValueModifier
public Object clone()
throws CloneNotSupportedException
clone in class IlpKeyStyleValueModifierCloneNotSupportedException
|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||