public class ConverterEditorAdapter<T,U,E extends Editor<U>> extends Object implements CompositeEditor<T,U,E>, LeafValueEditor<T>
CompositeEditor.EditorChain<C,E extends Editor<C>>Editor.Ignore, Editor.Path| Constructor and Description |
|---|
ConverterEditorAdapter(E editor,
Converter<T,U> converter) |
| Modifier and Type | Method and Description |
|---|---|
E |
createEditorForTraversal() |
void |
flush() |
String |
getPathElement(E subEditor) |
T |
getValue() |
void |
onPropertyChange(String... paths) |
void |
setDelegate(EditorDelegate<T> delegate) |
void |
setEditorChain(CompositeEditor.EditorChain<U,E> chain) |
void |
setValue(T value) |
public void flush()
flush in interface ValueAwareEditor<T>public void onPropertyChange(String... paths)
onPropertyChange in interface ValueAwareEditor<T>public void setDelegate(EditorDelegate<T> delegate)
setDelegate in interface HasEditorDelegate<T>public void setValue(T value)
setValue in interface ValueAwareEditor<T>setValue in interface TakesValue<T>public T getValue()
getValue in interface TakesValue<T>public E createEditorForTraversal()
createEditorForTraversal in interface CompositeEditor<T,U,E extends Editor<U>>public String getPathElement(E subEditor)
getPathElement in interface CompositeEditor<T,U,E extends Editor<U>>public void setEditorChain(CompositeEditor.EditorChain<U,E> chain)
setEditorChain in interface CompositeEditor<T,U,E extends Editor<U>>Copyright © 2012. All Rights Reserved.