|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public static interface Layout.MarginHandler
This type of layout supports automatic addition of margins (space around its components).
| Method Summary | |
|---|---|
com.vaadin.shared.ui.MarginInfo |
getMargin()
|
void |
setMargin(boolean enabled)
Enable layout margins. |
void |
setMargin(com.vaadin.shared.ui.MarginInfo marginInfo)
Enable margins for this layout. |
| Method Detail |
|---|
void setMargin(boolean enabled)
enabled - true if margins should be enabled on all sides, false to
disable all marginsvoid setMargin(com.vaadin.shared.ui.MarginInfo marginInfo)
NOTE: This will only affect the space around the
components in the layout, not space between the components in the
layout. Use #setSpacing(boolean) to add space between the
components in the layout.
See the reference manual for more information about CSS rules for defining the size of the margin.
marginInfo - MarginInfo object containing the new margins.com.vaadin.shared.ui.MarginInfo getMargin()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||