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 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
hasStyles(List<String> styles)
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 aRegistration
object returned byaddRegisteredEventListener(SharedState, String)
to remove a listener
-
-
-
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
@Deprecated public static final void removeRegisteredEventListener(SharedState state, String eventIdentifier)
Deprecated.Use aRegistration
object returned byaddRegisteredEventListener(SharedState, String)
to remove a listenerRemoves an event listener id.
Parameters:
state
- shared stateeventIdentifier
- The event identifier to remove
-
addRegisteredEventListener
public static final Registration addRegisteredEventListener(SharedState state, String eventListenerId)
Adds an event listener id.
Parameters:
eventListenerId
- The event identifier to addReturns:
a registration object for removing the listener
Since:
8.0
-
-