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.client.
Interface HasChildMeasurementHintConnector
-
All Superinterfaces:
Connector
,HasComponentsConnector
,Serializable
,ServerConnector
public interface HasChildMeasurementHintConnector extends HasComponentsConnector
Connector with layout measuring hint. Used to improve granularity of control over child component measurements.
Since:
7.6
Author:
Vaadin Ltd
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
HasChildMeasurementHintConnector.ChildMeasurementHint
Specifies how you would like child components measurements to be handled.
-
Method Summary
All Methods Modifier and Type Method Description HasChildMeasurementHintConnector.ChildMeasurementHint
getChildMeasurementHint()
Returns the current child measurement hint value.
void
setChildMeasurementHint​(HasChildMeasurementHintConnector.ChildMeasurementHint hint)
Sets the child measurement hint for this component.
-
Methods inherited from interface com.vaadin.shared.Connector
getConnectorId
-
Methods inherited from interface com.vaadin.client.HasComponentsConnector
addConnectorHierarchyChangeHandler, getChildComponents, setChildComponents, updateCaption
-
Methods inherited from interface com.vaadin.client.ServerConnector
addStateChangeHandler, addStateChangeHandler, doInit, fireEvent, getChildren, getConnection, getParent, getRpcImplementations, getState, getTag, hasEventListener, isEnabled, onUnregister, removeStateChangeHandler, removeStateChangeHandler, setChildren, setParent, setTag, updateEnabledState
-
-
-
-
Method Detail
-
setChildMeasurementHint
void setChildMeasurementHint​(HasChildMeasurementHintConnector.ChildMeasurementHint hint)
Sets the child measurement hint for this component.
Parameters:
hint
- the value to set
-
getChildMeasurementHint
HasChildMeasurementHintConnector.ChildMeasurementHint getChildMeasurementHint()
Returns the current child measurement hint value.
Returns:
a ChildLayoutMeasureMode value
-
-