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

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

Introduction

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

Prototype

public void setCols(int cols) 

Source Link

Document

Width of control (in characters).

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