All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.vaadin.polymer.array.widget.ArraySelector Maven / Gradle / Ivy

There is a newer version: 1.9.3.1
Show newest version
/*
 * This code was generated with Vaadin Web Component GWT API Generator, 
 * from polymer project by The Polymer Authors (http://polymer.github.io/AUTHORS.txt)
 * that is licensed with http://polymer.github.io/LICENSE.txt license.
 */
package com.vaadin.polymer.array.widget;

import com.vaadin.polymer.array.element.*;

import com.vaadin.polymer.PolymerWidget;
import com.vaadin.polymer.elemental.*;
import com.google.gwt.core.client.JsArray;
import com.google.gwt.event.shared.HandlerRegistration;
import com.google.gwt.core.client.JavaScriptObject;

/**
 * 
 */
public class ArraySelector extends PolymerWidget {
    /**
     * Default Constructor.
     */
    public ArraySelector() {
       this("");
    }

    /**
     * Constructor used by UIBinder to create widgets with content.
     */
    public ArraySelector(String html) {
        super(ArraySelectorElement.TAG, ArraySelectorElement.SRC, html);

    }

    /**
     * Gets a handle to the Polymer object's underlying DOM element.
     */
    public ArraySelectorElement getPolymerElement() {
        return (ArraySelectorElement) getElement();
    }


  
    /**
     * 
     *
     * JavaScript Info:
     * @method deselect
     * @param {} item  
     * 
     */
    public void deselect(JavaScriptObject item) {
        getPolymerElement().deselect(item);
    }
  

  
    /**
     * 
     *
     * JavaScript Info:
     * @property items
     * @type Array
     * 
     */
    public JsArray getItems(){
        return getPolymerElement().getItems();
    }
    /**
     * 
     *
     * JavaScript Info:
     * @property items
     * @type Array
     * 
     */
    public void setItems(JsArray value) {
        getPolymerElement().setItems(value);
    }
   
    /**
     * 
     *
     * JavaScript Info:
     * @attribute items
     * 
     */
    public void setItems(String value) {
        getPolymerElement().setAttribute("items", value);
    }
   
  

  
    /**
     * 
     *
     * JavaScript Info:
     * @property multi
     * @type boolean
     * 
     */
    public boolean getMulti(){
        return getPolymerElement().getMulti();
    }
    /**
     * 
     *
     * JavaScript Info:
     * @property multi
     * @type boolean
     * 
     */
    public void setMulti(boolean value) {
        getPolymerElement().setMulti(value);
    }
   
  

  
    /**
     * 
     *
     * JavaScript Info:
     * @method select
     * @param {} item  
     * 
     */
    public void select(JavaScriptObject item) {
        getPolymerElement().select(item);
    }
  

  
    /**
     * 
     *
     * JavaScript Info:
     * @property selected
     * @type Object
     * 
     */
    public JavaScriptObject getSelected(){
        return getPolymerElement().getSelected();
    }
    /**
     * 
     *
     * JavaScript Info:
     * @property selected
     * @type Object
     * 
     */
    public void setSelected(JavaScriptObject value) {
        getPolymerElement().setSelected(value);
    }
   
    /**
     * 
     *
     * JavaScript Info:
     * @attribute selected
     * 
     */
    public void setSelected(String value) {
        getPolymerElement().setAttribute("selected", value);
    }
   
  

  
    /**
     * 
     *
     * JavaScript Info:
     * @property toggle
     * @type boolean
     * 
     */
    public boolean getToggle(){
        return getPolymerElement().getToggle();
    }
    /**
     * 
     *
     * JavaScript Info:
     * @property toggle
     * @type boolean
     * 
     */
    public void setToggle(boolean value) {
        getPolymerElement().setToggle(value);
    }
   
  


}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy