Example usage for com.google.gwt.dom.client SelectElement setMultiple

List of usage examples for com.google.gwt.dom.client SelectElement setMultiple

Introduction

In this page you can find the example usage for com.google.gwt.dom.client SelectElement setMultiple.

Prototype

public void setMultiple(boolean multiple) 

Source Link

Document

If true, multiple OPTION elements may be selected in this SELECT.

Usage

From source file:org.gwtbootstrap3.extras.tagsinput.client.ui.base.MultiValueTagsInput.java

License:Apache License

public MultiValueTagsInput(final Collection<? extends Dataset<T>> datasets) {
    SelectElement tagsSelect = Document.get().createSelectElement();
    tagsSelect.setMultiple(true);
    tagsSelect.setAttribute("data-role", "tagsinput");

    setElement(tagsSelect);//from  ww w .j a v  a2  s. c om

    setDatasets(datasets);
}