We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
com.vaadin.shared.ui.
Class ComponentStateUtil
- java.lang.Object
-
- com.vaadin.shared.ui.ComponentStateUtil
-
All Implemented Interfaces:
public final class ComponentStateUtil extends Object implements Serializable
See Also:
-
-
Method Summary
All Methods 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.
-
-
-
Method Detail
-
isUndefinedWidth
public static final boolean isUndefinedWidth(AbstractComponentState state)
-
isUndefinedHeight
public static final boolean isUndefinedHeight(AbstractComponentState state)
-
hasDescription
public static final boolean hasDescription(AbstractComponentState state)
-
hasStyles
public static final boolean hasStyles(AbstractComponentState state)
-
isRelativeWidth
public static final boolean isRelativeWidth(AbstractComponentState state)
-
isRelativeHeight
public static final boolean isRelativeHeight(AbstractComponentState state)
-
removeRegisteredEventListener
public static final void removeRegisteredEventListener(SharedState state, String eventIdentifier)
Removes an event listener id.
Parameters:
eventListenerId
- The event identifier to remove
-
addRegisteredEventListener
public static final void addRegisteredEventListener(SharedState state, String eventListenerId)
Adds an event listener id.
Parameters:
eventListenerId
- The event identifier to add
-
-