org.oddjob.arooa.design.screem
Class StandardForm

java.lang.Object
  extended by org.oddjob.arooa.design.screem.StandardForm
All Implemented Interfaces:
Form

public class StandardForm
extends Object
implements Form

A form definition provides a definition for creating the designer detail panel.


Constructor Summary
StandardForm(DesignInstance design)
           
StandardForm(String name, DesignInstance design)
           
 
Method Summary
 StandardForm addFormItem(FormItem designDef)
          Add a dialog definition which will be rendered as a group on the form.
 DesignInstance getDesign()
           
 FormItem getFormItem(int index)
           
 String getTitle()
           
 boolean isPopulated()
          Used by certain summary views to indicate that there is more detail.
 int size()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StandardForm

public StandardForm(DesignInstance design)

StandardForm

public StandardForm(String name,
                    DesignInstance design)
Method Detail

getTitle

public String getTitle()
Specified by:
getTitle in interface Form

getDesign

public DesignInstance getDesign()

addFormItem

public StandardForm addFormItem(FormItem designDef)
Add a dialog definition which will be rendered as a group on the form.

Parameters:
designDef - A design definition.
Returns:
This form definition.

size

public int size()

getFormItem

public FormItem getFormItem(int index)

isPopulated

public boolean isPopulated()
Used by certain summary views to indicate that there is more detail.

Returns:
true if the model has some data, false if it doesn't.