Class HasDataEditor<T>

java.lang.Object
com.google.gwt.editor.client.adapters.ListEditor<T,LeafValueEditor<T>>
com.google.gwt.editor.client.adapters.HasDataEditor<T>
Type Parameters:
T - the type of data to be edited
All Implemented Interfaces:
CompositeEditor<List<T>,T,LeafValueEditor<T>>, Editor<List<T>>, HasEditorDelegate<List<T>>, ValueAwareEditor<List<T>>

public class HasDataEditor<T> extends ListEditor<T,LeafValueEditor<T>>
Adapts the HasData interface to the Editor framework.
  • Method Details

    • of

      public static <T> HasDataEditor<T> of(HasData<T> data)
      Create a HasDataEditor backed by a HasData.
      Type Parameters:
      T - the type of data to be edited
      Parameters:
      data - the HasData that is displaying the data
      Returns:
      a instance of a HasDataEditor