public class UIUtils extends Object
| Modifier and Type | Field and Description |
|---|---|
static org.slf4j.Logger |
LOGGER |
| Constructor and Description |
|---|
UIUtils() |
| Modifier and Type | Method and Description |
|---|---|
static <T> T |
getFirstComponent(Class<T> c) |
static <T> T |
getFirstComponent(com.vaadin.flow.component.Component parent,
Class<T> c) |
static void |
setElementProperty(com.vaadin.flow.component.HasElement he,
String prop,
String text) |
static void |
setTitle(com.vaadin.flow.component.HasElement he,
String text) |
static void |
stopEventPropagation(com.vaadin.flow.component.HasElement he,
String event)
This stops an event from propagating to outer elements.
|
public static <T> T getFirstComponent(com.vaadin.flow.component.Component parent,
Class<T> c)
public static <T> T getFirstComponent(Class<T> c)
public static void setTitle(com.vaadin.flow.component.HasElement he,
String text)
public static void setElementProperty(com.vaadin.flow.component.HasElement he,
String prop,
String text)
public static void stopEventPropagation(com.vaadin.flow.component.HasElement he,
String event)
he - event - Copyright © 2021. All rights reserved.