Interface FlexLayoutTagDeclaration
- All Superinterfaces:
HasBinding, HasId, HasIdBindingAndRendered, IsRendered, IsVisual
Renders a <a href=https://www.w3.org/TR/css-flexbox-1/>Flexible Box Layout</a>.
- Since:
- 3.0.0
-
Method Summary
Modifier and TypeMethodDescriptionvoidsetAlignItems(String alignItems) This value defines CSS align-items value of the flex layout.voidsetColumns(String columns) This value defines the layout constraints for column layout.voidsetJustifyContent(String justifyContent) This value defines CSS justify-content value of the flex layout.voidThis value defines the layout constraints for row layout.Methods inherited from interface HasBinding
setBindingMethods inherited from interface IsRendered
setRenderedMethods inherited from interface IsVisual
setCustomClass, setMarkup, setStyleClass
-
Method Details
-
setColumns
This value defines the layout constraints for column layout. It is a space separated list of layout tokens '<n>fr', '<measure>' or the keyword 'auto'. Where <n> is a positive integer and <measure> is a valid CSS length. Example: '2fr 1fr 100px 3rem auto'. -
setRows
This value defines the layout constraints for row layout. It is a space separated list of layout tokens '<n>fr', '<measure>' or the keyword 'auto'. Where <n> is a positive integer and <measure> is a valid CSS length. Example: '2fr 1fr 100px 3rem auto'. -
setAlignItems
This value defines CSS align-items value of the flex layout.- Since:
- 3.0.0
-
setJustifyContent
This value defines CSS justify-content value of the flex layout.- Since:
- 3.0.0
-