Example usage for com.google.gwt.ajaxloader.client Properties cast

List of usage examples for com.google.gwt.ajaxloader.client Properties cast

Introduction

In this page you can find the example usage for com.google.gwt.ajaxloader.client Properties cast.

Prototype

@Override
@SuppressWarnings("unchecked")
public <T extends JavascriptObjectEquivalent> T cast() 

Source Link

Document

A helper method to enable cross-casting from any JavaScriptObject type to any other JavaScriptObject type.

Usage

From source file:org.ednovo.gooru.client.mvp.analytics.collectionSummaryTeacher.CollectionSummaryTeacherView.java

License:Open Source License

/**
 * This method is used to set the cell properties
 * @return/*  ww  w .ja  v  a2s. c  o m*/
 */
com.google.gwt.visualization.client.Properties getPropertiesCell() {
    Properties properties = Properties.create();
    properties.set("style", "text-align:center;");
    com.google.gwt.visualization.client.Properties p = properties.cast();
    return p;
}