public final class ComponentStateUtil extends Object implements Serializable
Modifier and Type | Method and Description |
---|---|
static Registration |
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)
Deprecated.
Use a
Registration object returned by
addRegisteredEventListener(SharedState, String) to
remove a listener |
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)
@Deprecated public static final void removeRegisteredEventListener(SharedState state, String eventIdentifier)
Registration
object returned by
addRegisteredEventListener(SharedState, String)
to
remove a listenerstate
- shared stateeventIdentifier
- The event identifier to removepublic static final Registration addRegisteredEventListener(SharedState state, String eventListenerId)
eventListenerId
- The event identifier to addCopyright © 2018 Vaadin Ltd. All rights reserved.