public class InputUtil extends Object
InputException.| Constructor and Description |
|---|
InputUtil() |
| Modifier and Type | Method and Description |
|---|---|
static <T extends FocusWidget & HasText> |
requireNonEmpty(T widget,
String error)
Returns a text widget's value, making sure it is non-empty.
|
public static <T extends FocusWidget & HasText> String requireNonEmpty(T widget, String error)
InputException - if the widget has no textCopyright © 2013. All Rights Reserved.