Class TabGroup

java.lang.Object
org.oddjob.arooa.design.screem.TabGroup
All Implemented Interfaces:
FormItem

public class TabGroup extends Object implements FormItem
Base class for DesignDefinitions that group other DesignDefinitions.
Author:
Rob Gordon.
  • Constructor Details

    • TabGroup

      public TabGroup()
    • TabGroup

      public TabGroup(String heading)
  • Method Details

    • setTitle

      public FormItem setTitle(String title)
      Description copied from interface: FormItem
      Set the title that will be displayed on the view for this form item. This should really be set on the DesignProperty that creates this model.
      Specified by:
      setTitle in interface FormItem
      Parameters:
      title - The String title.
      Returns:
      this, for method chaining.
    • getTitle

      public String getTitle()
      Description copied from interface: FormItem
      The title will either be the title for a field or the title round a group or the title on a dialog depending on how the visual component is presented.
      Specified by:
      getTitle in interface FormItem
      Returns:
      The title.
    • get

      public FormItem get(int index)
    • size

      public int size()
    • add

      public TabGroup add(FormItem elementField)
    • isPopulated

      public boolean isPopulated()
      Description copied from interface: FormItem
      Used by certain summary views to indicate that there is more detail.
      Specified by:
      isPopulated in interface FormItem
      Returns:
      true if the model has some data, false if it doesn't.