com.itmill.toolkit.ui
Interface Layout.SpacingHandler

All Known Implementing Classes:
AbstractOrderedLayout, ExpandLayout, FormLayout, GridLayout, HorizontalLayout, OrderedLayout, VerticalLayout
Enclosing interface:
Layout

public static interface Layout.SpacingHandler

This type of layout can set spacing between its components on of off. TODO refine javadocs


Method Summary
 boolean isSpacingEnabled()
           
 void setSpacing(boolean enabled)
          Enable spacing between child components within this layout.
 

Method Detail

setSpacing

void setSpacing(boolean enabled)
Enable spacing between child components within this layout.

NOTE: This will only affect spaces between components, not also all around spacing of the layout (i.e. do not mix this with HTML Table elements cellspacing-attribute). Use Layout.setMargin(boolean) to add extra space around the layout.

Parameters:
enabled -

isSpacingEnabled

boolean isSpacingEnabled()
Returns:
true if spacing, layout leaves space between components


Copyright © 2000-2009 IT Mill Ltd. All Rights Reserved.