THIS
- Self-referential generic THISpublic static interface FluentLayout.FluentSpacingHandler<THIS extends FluentLayout.FluentSpacingHandler<THIS>>
extends com.vaadin.ui.Layout.SpacingHandler
SpacingHandler
complemented by fluent setters.SpacingHandler
Modifier and Type | Method and Description |
---|---|
default THIS |
withSpacing(boolean enabled)
Enable spacing between child components within this layout.
|
default THIS withSpacing(boolean enabled)
NOTE: This will only affect the space between
components, not the space around all the components in the layout
(i.e. do not confuse this with the cellspacing attribute of a HTML
Table). Use MarginHandler#setMargin(boolean)
to add space
around the layout.
See the reference manual for more information about CSS rules for defining the amount of spacing to use.
enabled
- true if spacing should be turned on, false if it should be
turned offLayout.SpacingHandler.setSpacing(boolean)
Copyright © 2017 Jean-Christophe Fortier. All rights reserved.