public interface IEditable extends ITransferable
Modifier and Type | Method and Description |
---|---|
void |
removedFromEditor(Editor ed,
String fieldName)
This is called when the IEditable data field is removed from the Editor - but this may never be called
if the Editor is dismissed without having the object removed.
|
void |
setToEditor(Editor ed,
String fieldName)
This is called when the IEditable data field is set to a field in the Editor.
|
getTransferDataType
getSetTransferData
void setToEditor(Editor ed, String fieldName)
ed
- the Editor it is now set to. You should only hold a weak reference to the Editor since
it is not guaranteed that removedFromEditor() will be called.fieldName
- the field name for the field.void removedFromEditor(Editor ed, String fieldName)
ed
- the Editor it was removed from.fieldName
- the field name for the field.