org.oddjob.arooa.design
Class SimpleTextProperty

java.lang.Object
  extended by org.oddjob.arooa.design.SimpleTextProperty
All Implemented Interfaces:
DesignProperty, DesignTextProperty

public class SimpleTextProperty
extends Object
implements DesignTextProperty

Author:
Rob Gordon.

Constructor Summary
SimpleTextProperty(String property)
           
 
Method Summary
 boolean isPopulated()
          Used by the Field Selection View to work out which group to check box.
 String property()
          The name of the property.
 String text()
           
 void text(String text)
           
 FormItem view()
          Provide the FormItem model that represents the view for the design of this property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleTextProperty

public SimpleTextProperty(String property)
Method Detail

property

public String property()
Description copied from interface: DesignProperty
The name of the property.

Specified by:
property in interface DesignProperty
Returns:
The name of the property. Never null.

text

public String text()
Specified by:
text in interface DesignTextProperty

text

public void text(String text)
Specified by:
text in interface DesignTextProperty

view

public final FormItem view()
Description copied from interface: DesignProperty
Provide the FormItem model that represents the view for the design of this property.

Specified by:
view in interface DesignProperty
Returns:
The FormItem. Never null.

isPopulated

public boolean isPopulated()
Description copied from interface: DesignProperty
Used by the Field Selection View to work out which group to check box.

Specified by:
isPopulated in interface DesignProperty
Returns: