Example usage for com.google.gwt.dom.client TableCellElement as

List of usage examples for com.google.gwt.dom.client TableCellElement as

Introduction

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

Prototype

public static TableCellElement as(Element elem) 

Source Link

Document

Assert that the given Element is compatible with this class and automatically typecast it.

Usage

From source file:fr.putnami.pwt.core.widget.client.TableTD.java

License:Open Source License

@Override
public void redraw() {
    if (this.colspan != null) {
        TableCellElement.as(this.getElement()).setColSpan(this.colspan);
    }// w  w  w.  jav a  2 s . c o  m
}