public class SimpleTextAttribute extends java.lang.Object implements DesignAttributeProperty
Constructor and Description |
---|
SimpleTextAttribute(java.lang.String property,
DesignInstance owner)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
attribute()
Get the attribute text.
|
void |
attribute(java.lang.String value)
Set the attribute text.
|
boolean |
isPopulated()
Used by the Field Selection View to work out which group to
check box.
|
java.lang.String |
property()
The name of the property.
|
FormItem |
view()
Provide the
FormItem model that represents the view for the
design of this property. |
public SimpleTextAttribute(java.lang.String property, DesignInstance owner)
property
- The property name.owner
- The owning design. The element will be used to
retrieve the initial attribute value.public java.lang.String property()
DesignProperty
property
in interface DesignProperty
public java.lang.String attribute()
DesignAttributeProperty
attribute
in interface DesignAttributeProperty
public void attribute(java.lang.String value)
DesignAttributeProperty
attribute
in interface DesignAttributeProperty
value
- The attribute. May be null.public FormItem view()
DesignProperty
FormItem
model that represents the view for the
design of this property.view
in interface DesignProperty
public boolean isPopulated()
DesignProperty
isPopulated
in interface DesignProperty