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

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

Introduction

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

Prototype

public void setAccessKey(String accessKey) 

Source Link

Document

A single character access key to give access to the form control.

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