org.oddjob.arooa.design.screem
Class FieldSelection

java.lang.Object
  extended by org.oddjob.arooa.design.screem.GroupBase
      extended by org.oddjob.arooa.design.screem.FieldSelection
All Implemented Interfaces:
FormItem

public class FieldSelection
extends GroupBase

A DesignDefintion that is intended to be rendered as a selection between the child DesignDefinitions.

Author:
Rob Gordon.

Constructor Summary
FieldSelection()
          Constructor.
 
Method Summary
 FieldSelection add(FormItem designDef)
          Add a child DesignDefinition.
 
Methods inherited from class org.oddjob.arooa.design.screem.GroupBase
addElement, get, getTitle, isPopulated, setTitle, size
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FieldSelection

public FieldSelection()
Constructor. A FieldSelection can currently only appear inline so the title 'select' is only used for testing.

Method Detail

add

public FieldSelection add(FormItem designDef)
Add a child DesignDefinition.

Parameters:
designDef - The child DesignDefinition.
Returns:
This.