|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface FormElement
Interface for all form elements.
A form element represents the management for an
form entry.
| Method Summary | |
|---|---|
void |
appendToList(java.util.List<FormElement> elements)
|
Container |
getContainer()
Returns the database connection. |
FormEntry |
getEntry()
Returns the form entry specification for this element. |
PObjForm |
getForm()
Returns the form to which this element belongs. |
java.lang.String |
getLabel()
Returns the label for this form element. |
java.lang.String |
getProperty()
Returns the property for this form element. |
java.lang.String |
getPullInPrefix()
Returns the pullInPrefix. |
boolean |
hasChanged()
Tests whether the data for this element has been changed. |
boolean |
isMandatory()
Tests whether data for this element must be entered. |
boolean |
isPulledIn()
Tests whether this element will be pulled into previous line. |
boolean |
isVisible()
Tests whether this element will write anything visible. |
boolean |
omitRowHeader()
Tests whether for this element the header row should be omited. |
void |
setLabel(java.lang.String label)
Sets the label of this form element to a new value. |
void |
setProperty(java.lang.String property)
Sets the property to a new value, and propagates the change to all child elements. |
void |
setPullInPrefix(java.lang.String prefix)
Sets the pullInPrefix. |
void |
setVisible(boolean visible)
Sets whether this element will be written visibly. |
boolean |
startsNewCell()
Tests whether this element will start a new cell in the current row. |
void |
validate()
Checks for a valid value in this form element and any possible children. |
| Method Detail |
|---|
PObjForm getForm()
FormEntry getEntry()
Container getContainer()
PObjForm.getContainer()java.lang.String getProperty()
void setProperty(java.lang.String property)
java.lang.String getLabel()
void setLabel(java.lang.String label)
boolean isMandatory()
boolean isPulledIn()
java.lang.String getPullInPrefix()
setPullInPrefix(String)void setPullInPrefix(java.lang.String prefix)
If the form element is pulled into a line (and is not the first element of that line), then this text is written in front of the element.
boolean omitRowHeader()
boolean startsNewCell()
boolean isVisible()
void setVisible(boolean visible)
boolean hasChanged()
void appendToList(java.util.List<FormElement> elements)
void validate()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||