public abstract class IlrModelAdapter
extends java.lang.Object
IlrModelAdapter allows the user to define a
mapping between objects stored in the model and the strings displayed
in the property sheet.| Constructor and Description |
|---|
IlrModelAdapter() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getEditorValue(java.lang.Object value)
Transforms an object into a string value that can be displayed
by a property sheet.
|
abstract java.lang.Object |
getModelValue(java.lang.String value)
Transforms a string value displayed in the property
sheet into an value which can be stored into the
Rule Model.
|
public java.lang.String getEditorValue(java.lang.Object value)
This default implementation calls toString()
on the value to return a string value.
value - A value in the model.public abstract java.lang.Object getModelValue(java.lang.String value)
value - A value in the cell editor.© Copyright IBM Corp. 1987, 2017