oracle.ide.controls
Interface AbstractPicker.PickerValueEncoder
- Enclosing class:
- AbstractPicker
- public static interface AbstractPicker.PickerValueEncoder
The interface defining Encoders for AbstractPicker values. The
PickerValueEncoder
is responsible for converting a raw
value, as provided by an edit or browse action, into an object
suitable for adding to the AbstractPicker model.
A PickerValueEncoder
is necessary only when the types stored in
the model differ from the types returned by a browse or edit.
Method Summary |
java.lang.Object |
encodeValue(java.lang.Object value)
Encode a value into an object suitable for adding to the AbstractPicker
model. |
encodeValue
public java.lang.Object encodeValue(java.lang.Object value)
- Encode a value into an object suitable for adding to the AbstractPicker
model.
- Parameters:
value
- the raw value returned by a browse or edit.- Returns:
- the encoded value.