public final class ComponentStateUtil extends Object implements Serializable
Modifier and Type | Method and Description |
---|---|
static void |
addRegisteredEventListener(SharedState state,
String eventListenerId)
Adds an event listener id.
|
static boolean |
hasDescription(AbstractComponentState state) |
static boolean |
hasStyles(AbstractComponentState state) |
static boolean |
isRelativeHeight(AbstractComponentState state) |
static boolean |
isRelativeWidth(AbstractComponentState state) |
static boolean |
isUndefinedHeight(AbstractComponentState state) |
static boolean |
isUndefinedWidth(AbstractComponentState state) |
static void |
removeRegisteredEventListener(SharedState state,
String eventIdentifier)
Removes an event listener id.
|
public static final boolean isUndefinedWidth(AbstractComponentState state)
public static final boolean isUndefinedHeight(AbstractComponentState state)
public static final boolean hasDescription(AbstractComponentState state)
public static final boolean hasStyles(AbstractComponentState state)
public static final boolean isRelativeWidth(AbstractComponentState state)
public static final boolean isRelativeHeight(AbstractComponentState state)
public static final void removeRegisteredEventListener(SharedState state, String eventIdentifier)
eventListenerId
- The event identifier to removepublic static final void addRegisteredEventListener(SharedState state, String eventListenerId)
eventListenerId
- The event identifier to addCopyright © 2019 Vaadin Ltd. All rights reserved.