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

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

Introduction

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

Prototype

public boolean isReadOnly() 

Source Link

Document

This control is read-only.

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());
}