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

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

Introduction

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

Prototype

public int getCols() 

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