Example usage for com.google.gwt.user.client.ui UIObject toString

List of usage examples for com.google.gwt.user.client.ui UIObject toString

Introduction

In this page you can find the example usage for com.google.gwt.user.client.ui UIObject toString.

Prototype

@Override
public String toString() 

Source Link

Document

This method is overridden so that any object can be viewed in the debugger as an HTML snippet.

Usage

From source file:com.totsp.gwittir.client.validator.StyleValidationFeedback.java

License:Open Source License

public void resolve(Object source) {
    UIObject object = (UIObject) source;
    String previousStyle = (String) this.previousStyles.get(source);
    if (previousStyle != null) {
        GWT.log("Reverting to style:" + previousStyle, null);
        object.setStyleName(previousStyle);
        GWT.log(object.toString(), null);
        this.previousStyles.remove(source);
    }//ww  w .  j av  a  2  s.  c o  m
}