Package com.vaadin.classic.v8.server
Class ComponentSizeValidator
- java.lang.Object
-
- com.vaadin.classic.v8.server.ComponentSizeValidator
-
- All Implemented Interfaces:
java.io.Serializable
public class ComponentSizeValidator extends java.lang.Object implements java.io.Serializable- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static booleanparentCanDefineHeight(com.vaadin.flow.component.Component component)Internal framework sizing magic method that has never had javadocs.static booleanparentCanDefineWidth(com.vaadin.flow.component.Component component)Internal framework sizing magic method that has never had javadocs.
-
-
-
Method Detail
-
parentCanDefineHeight
public static boolean parentCanDefineHeight(com.vaadin.flow.component.Component component)
Internal framework sizing magic method that has never had javadocs. The purpose is to block users from setting relative (%) size child components when inside certain legacy components.- Parameters:
component- the flow or classic component- Returns:
- whether the component can define its height or not
-
parentCanDefineWidth
public static boolean parentCanDefineWidth(com.vaadin.flow.component.Component component)
Internal framework sizing magic method that has never had javadocs. The purpose is to block users from setting relative (%) size child components when inside certain classic components.- Parameters:
component- the flow or classic component- Returns:
- whether the component can define its width or not
-
-