org.springframework.richclient.layout
Interface LayoutBuilder

Show UML class diagram
All Known Implementing Classes:
GridBagLayoutBuilder, GridBagLayoutFormBuilder, GridBagLayoutFormBuilder.FormModelAwareGridBagLayoutBuilder, TableLayoutBuilder

public interface LayoutBuilder

LayoutBuilders exist to make it easier to do component layouts. Typical usage is to create an instance of the builder, add components to it, the call the builder's getPanel()method.


Method Summary
 JPanel getPanel()
          Creates and returns a JPanel with all the given components in it, using the "hints" that were provided to the builder.
 

Method Detail

getPanel

JPanel getPanel()
Creates and returns a JPanel with all the given components in it, using the "hints" that were provided to the builder.

Returns:
a new JPanel with the components laid-out in it; never null


Copyright © 2004-2009 The Spring Framework. All Rights Reserved.