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.ait.ext4j.client.ui.CheckBox.java

License:Apache License

@Override
public LeafValueEditor<Boolean> asEditor() {
    if (editor == null) {
        editor = TakesValueEditor.of(this);
    }/*w  w w  .j  a  va2  s  .co m*/
    return editor;
}

From source file:com.ait.ext4j.client.ui.Display.java

License:Apache License

@Override
public LeafValueEditor<String> asEditor() {
    if (editor == null) {
        editor = TakesValueEditor.of(this);
    }/*from  w w w .  j av  a  2 s. co  m*/
    return editor;
}

From source file:com.ait.toolkit.sencha.touch.client.ui.Slider.java

License:Open Source License

@Override
public LeafValueEditor<Integer> asEditor() {
    if (editor == null) {
        editor = TakesValueEditor.of(this);
    }/*  w  w  w.j av a2 s.c  o  m*/
    return editor;
}

From source file:com.ait.toolkit.sencha.touch.client.ui.Text.java

License:Open Source License

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

From source file:com.akjava.gwt.html5.client.input.ColorBox.java

License:Apache License

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

From source file:com.arcbees.chosen.client.gwt.ChosenValueListBox.java

License:Apache License

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

From source file:com.arcbees.chosen.client.gwt.MultipleChosenValueListBox.java

License:Apache License

@Override
public TakesValueEditor<List<T>> asEditor() {
    if (editor == null) {
        editor = TakesValueEditor.of(this);
    }//from  w w w  . j ava2 s  .  c  o m
    return editor;
}

From source file:com.gafactory.core.client.ui.widgets.ValueListBoxSelect.java

License:Apache License

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

From source file:com.github.gwtbootstrap.client.ui.CheckBox.java

License:Apache License

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

From source file:com.github.gwtbootstrap.datepicker.client.ui.base.DateBoxBase.java

License:Apache License

/**
 * Retuen Editor/*w  w  w  .j  a va 2 s .  co m*/
 * @return editor
 */
@Override
public TakesValueEditor<Date> asEditor() {
    if (editor == null) {
        editor = TakesValueEditor.of(this);
    }
    return editor;
}