public static class WidgetUtil.ErrorUtil extends Object
Constructor and Description |
---|
ErrorUtil() |
Modifier and Type | Method and Description |
---|---|
static com.google.gwt.dom.client.Element |
createErrorIndicatorElement()
Creates an element to use by widgets as an error indicator.
|
static void |
setErrorLevelStyle(com.google.gwt.dom.client.Element element,
String prefix,
ErrorLevel errorLevel)
Sets the error level style name for the given element and removes all
previously applied error level style names.
|
public static void setErrorLevelStyle(com.google.gwt.dom.client.Element element, String prefix, ErrorLevel errorLevel)
prefix-errorLevel
format.element
- element to apply the style name toprefix
- part of the style name before the error level stringerrorLevel
- error level for which the style will be appliedpublic static com.google.gwt.dom.client.Element createErrorIndicatorElement()
Copyright © 2018 Vaadin Ltd. All rights reserved.