com.sencha.gxt.widget.core.client.form
Class ConverterEditorAdapter<T,U,E extends Editor<U>>

java.lang.Object
  extended by com.sencha.gxt.widget.core.client.form.ConverterEditorAdapter<T,U,E>
All Implemented Interfaces:
CompositeEditor<T,U,E>, Editor<T>, HasEditorDelegate<T>, LeafValueEditor<T>, ValueAwareEditor<T>, TakesValue<T>

public class ConverterEditorAdapter<T,U,E extends Editor<U>>
extends java.lang.Object
implements CompositeEditor<T,U,E>, LeafValueEditor<T>


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.google.gwt.editor.client.CompositeEditor
CompositeEditor.EditorChain<C,E extends Editor<C>>
 
Nested classes/interfaces inherited from interface com.google.gwt.editor.client.Editor
Editor.Ignore, Editor.Path
 
Constructor Summary
ConverterEditorAdapter(E editor, Converter<T,U> converter)
           
 
Method Summary
 E createEditorForTraversal()
           
 void flush()
           
 java.lang.String getPathElement(E subEditor)
           
 T getValue()
           
 void onPropertyChange(java.lang.String... paths)
           
 void setDelegate(EditorDelegate<T> delegate)
           
 void setEditorChain(CompositeEditor.EditorChain<U,E> chain)
           
 void setValue(T value)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConverterEditorAdapter

public ConverterEditorAdapter(E editor,
                              Converter<T,U> converter)
Method Detail

flush

public void flush()
Specified by:
flush in interface ValueAwareEditor<T>

onPropertyChange

public void onPropertyChange(java.lang.String... paths)
Specified by:
onPropertyChange in interface ValueAwareEditor<T>

setDelegate

public void setDelegate(EditorDelegate<T> delegate)
Specified by:
setDelegate in interface HasEditorDelegate<T>

setValue

public void setValue(T value)
Specified by:
setValue in interface ValueAwareEditor<T>
Specified by:
setValue in interface TakesValue<T>

getValue

public T getValue()
Specified by:
getValue in interface TakesValue<T>

createEditorForTraversal

public E createEditorForTraversal()
Specified by:
createEditorForTraversal in interface CompositeEditor<T,U,E extends Editor<U>>

getPathElement

public java.lang.String getPathElement(E subEditor)
Specified by:
getPathElement in interface CompositeEditor<T,U,E extends Editor<U>>

setEditorChain

public void setEditorChain(CompositeEditor.EditorChain<U,E> chain)
Specified by:
setEditorChain in interface CompositeEditor<T,U,E extends Editor<U>>


Copyright © 2012. All Rights Reserved.