Example usage for com.google.gwt.dom.client TextAreaElement setDefaultValue

List of usage examples for com.google.gwt.dom.client TextAreaElement setDefaultValue

Introduction

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

Prototype

public void setDefaultValue(String defaultValue) 

Source Link

Document

Represents the contents of the element.

Usage

From source file:com.cgxlib.xq.client.plugins.widgets.TextAreaWidgetFactory.java

License:Apache License

@Override
protected void copyAttributes(Element src, Element dest) {
    TextAreaElement source = src.cast();
    TextAreaElement destination = dest.cast();

    destination.setAccessKey(source.getAccessKey());
    destination.setCols(source.getCols());
    destination.setDefaultValue(source.getDefaultValue());
    destination.setDisabled(source.isDisabled());
    destination.setName(source.getName());
    destination.setReadOnly(source.isReadOnly());
    destination.setRows(source.getRows());
    destination.setValue(source.getValue());
}