Example usage for com.google.gwt.editor.client.adapters TakesValueEditor of

List of usage examples for com.google.gwt.editor.client.adapters TakesValueEditor of

Introduction

In this page you can find the example usage for com.google.gwt.editor.client.adapters TakesValueEditor of.

Prototype

public static <T> TakesValueEditor<T> of(TakesValue<T> peer) 

Source Link

Document

Returns a new ValueEditor that modifies the given TakesValue peer instance.

Usage

From source file:de.swm.commons.mobile.client.widgets.date.DateTextBox.java

License:Apache License

@Override
public TakesValueEditor<Date> asEditor() {
    return TakesValueEditor.of(this);
}

From source file:org.kaaproject.kaa.server.admin.client.mvp.view.widget.MultiValueListBox.java

License:Apache License

/**
 * Returns a {@link TakesValueEditor} backed by the ValueListBox.
 *//*  www .  j  a  v  a2s.  co  m*/
public TakesValueEditor<List<T>> asEditor() {
    if (editor == null) {
        editor = TakesValueEditor.of(this);
    }
    return editor;
}