Example usage for com.google.gwt.dom.client InputElement setPropertyString

List of usage examples for com.google.gwt.dom.client InputElement setPropertyString

Introduction

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

Prototype

@Override
    public void setPropertyString(String name, String value) 

Source Link

Usage

From source file:cc.alcina.framework.gwt.client.widget.InputButton.java

License:Apache License

/**
 * Creates a button with no caption./*from   w w  w  .j  a v a2  s.  c o  m*/
 */
public InputButton() {
    InputElement button = Document.get().createButtonInputElement();
    setElement(button);
    setStyleName("gwt-Button");
    button.setPropertyString("name", "");
}