cookxml.cookformlayout.helper
Class AbstractFormBuilderHelper

java.lang.Object
  extended bycookxml.cookformlayout.helper.AbstractFormBuilderHelper
All Implemented Interfaces:
NoAdd
Direct Known Subclasses:
PanelBuilderHelper

public abstract class AbstractFormBuilderHelper
extends Object
implements NoAdd

Since:
CookFormLayout 1.0

Constructor Summary
AbstractFormBuilderHelper(CookXml cookXml, JPanel panel)
           
 
Method Summary
 void add(Component component)
           
 void add(FormBuilderHelper helper)
           
 void add(com.jgoodies.forms.layout.FormLayout layout)
           
protected abstract  com.jgoodies.forms.builder.AbstractFormBuilder createFormBuilder()
          This function is to be overridden by child class to construct an AbstractFormBuilder.
 CookXml getCookXml()
           
 com.jgoodies.forms.builder.AbstractFormBuilder getFormBuilder()
           
 com.jgoodies.forms.layout.FormLayout getLayout()
           
 JPanel getPanel()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractFormBuilderHelper

public AbstractFormBuilderHelper(CookXml cookXml,
                                 JPanel panel)
Method Detail

createFormBuilder

protected abstract com.jgoodies.forms.builder.AbstractFormBuilder createFormBuilder()
This function is to be overridden by child class to construct an AbstractFormBuilder. Call getLayout () and getPanel () functions to obtain the necessary constructor parameters.

Returns:
a new instance of AbstractFormBuilder

getCookXml

public CookXml getCookXml()

getLayout

public com.jgoodies.forms.layout.FormLayout getLayout()

getPanel

public JPanel getPanel()

getFormBuilder

public com.jgoodies.forms.builder.AbstractFormBuilder getFormBuilder()

add

public void add(com.jgoodies.forms.layout.FormLayout layout)

add

public void add(Component component)

add

public void add(FormBuilderHelper helper)