Example usage for com.google.gwt.dom.client SelectElement getSize

List of usage examples for com.google.gwt.dom.client SelectElement getSize

Introduction

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

Prototype

public int getSize() 

Source Link

Document

Number of visible rows.

Usage

From source file:gwtquery.plugins.enhance.client.gwt.ListBoxWidgetFactory.java

License:Apache License

protected void copyAttributes(SelectElement source, SelectElement destination) {
    destination.setDisabled(source.isDisabled());
    destination.setName(source.getName());
    destination.setSelectedIndex(source.getSelectedIndex());
    destination.setSize(source.getSize());

}