Extension SDK 10.1.2

oracle.ide.controls
Interface AbstractPicker.PickerValueEncoder

All Known Implementing Classes:
ClassBuilderModel
Enclosing interface:
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.
 

Method Detail

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.

Extension SDK

 

Copyright © 1997, 2004, Oracle. All rights reserved.