Package com.vaadin.shared.ui
Class ComponentStateUtil
- java.lang.Object
-
- com.vaadin.shared.ui.ComponentStateUtil
-
- All Implemented Interfaces:
Serializable
public final class ComponentStateUtil extends Object implements Serializable
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method 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
-
-