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:com.google.gwt.sample.mobilewebapp.client.ui.DateButton.java

License:Apache License

public LeafValueEditor<Date> asEditor() {
    if (editor == null) {
        editor = TakesValueEditor.of(this);
    }
    return editor;
}

From source file:com.googlecode.mgwt.ui.client.widget.MCheckBox.java

License:Apache License

/** {@inheritDoc} */
@Override//from   w ww.ja v a 2s .c  om
public LeafValueEditor<Boolean> asEditor() {
    if (editor == null) {
        editor = TakesValueEditor.of(this);
    }
    return editor;
}

From source file:com.petro.span.client.CustomDateBox.java

License:Apache License

/**
 * Returns a {@link TakesValueEditor} backed by the DateBox.
 *//*from   w w w.  j  a v a 2 s  .  c  o m*/
public LeafValueEditor<Date> asEditor() {
    if (editor == null) {
        editor = TakesValueEditor.of(this);
    }
    return editor;
}

From source file:com.redspr.redquerybuilder.core.client.expression.ValueMultiListBox.java

License:Open Source License

/**
 * Returns a {@link TakesValueEditor} backed by the ValueListBox.
 *//*from w ww  .j a v  a  2s.co m*/
@Override
public TakesValueEditor<Collection<T>> asEditor() {
    if (editor == null) {
        editor = TakesValueEditor.of(this);
    }
    return editor;
}

From source file:com.retech.reader.web.client.ui.widget.DateButton.java

License:Apache License

@Override
public LeafValueEditor<Date> asEditor() {
    if (editor == null) {
        editor = TakesValueEditor.of(this);
    }
    return editor;
}

From source file:com.tasktop.c2c.server.common.web.client.widgets.chooser.MultiValueChooser.java

License:Open Source License

@Override
public Editor<List<T>> asEditor() {
    if (editor == null) {
        editor = TakesValueEditor.of(this);
    }
    return editor;
}

From source file:com.tasktop.c2c.server.common.web.client.widgets.chooser.SingleValueChooser.java

License:Open Source License

@Override
public Editor<T> asEditor() {
    if (editor == null) {
        editor = TakesValueEditor.of(this);
    }
    return editor;
}

From source file:com.tasktop.c2c.server.tasks.client.widgets.MultipleTaskProfileChooser.java

License:Open Source License

@Override
public Editor<List<TaskUserProfile>> asEditor() {
    if (editor == null) {
        editor = TakesValueEditor.of(this);
    }//  ww  w  .j  ava 2 s  . c om
    return editor;
}

From source file:com.tasktop.c2c.server.tasks.client.widgets.SingleTaskProfileChooser.java

License:Open Source License

@Override
public Editor<TaskUserProfile> asEditor() {
    if (editor == null) {
        editor = TakesValueEditor.of(this);
    }
    return editor;
}

From source file:com.tasktop.c2c.server.tasks.client.widgets.wiki.EditWikiPanel.java

License:Open Source License

@Override
public Editor<String> asEditor() {
    if (editor == null) {
        editor = TakesValueEditor.of(this);
    }
    return editor;
}