Example usage for com.google.gwt.user.client.ui ValueBoxBase getText

List of usage examples for com.google.gwt.user.client.ui ValueBoxBase getText

Introduction

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

Prototype

public String getText() 

Source Link

Usage

From source file:org.zoxweb.client.widget.WidgetUtil.java

License:Apache License

public static <T> boolean isNull(ValueBoxBase<T> valueBox) {
    if (valueBox.getValue() == null && valueBox.getText().length() == 0) {
        return true;
    }// w  w  w .  j  av  a2 s.c o m

    return false;
}