org.oddjob.arooa.design.screem
Interface FormItem

All Known Implementing Classes:
BorderedGroup, FieldGroup, FieldSelection, FileSelection, GroupBase, LabelledComboBox, MultiTypeTable, SelectionList, SingleTypeSelection, TabGroup, TextField, TextInput

public interface FormItem

Defines the interface for a model that allows a visual configuration to be presented for DesignElements.

See Also:
DesignProperty}

Method Summary
 String getTitle()
          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.
 boolean isPopulated()
          Used by certain summary views to indicate that there is more detail.
 FormItem setTitle(String title)
          Set the title that will be displayed on the view for this form item.
 

Method Detail

setTitle

FormItem setTitle(String title)
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.

Parameters:
title - The String title.
Returns:
this, for method chaining.

getTitle

String getTitle()
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.

Returns:
The title.

isPopulated

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.