|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.mguennewig.pobjform.AbstractFormElement
public abstract class AbstractFormElement
Abstract implementation of an form element.
| Constructor Summary | |
|---|---|
AbstractFormElement(PObjForm form,
FormEntry entry)
Creates a new AbstractFormElement. |
|
| 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 |
isPulledIn()
Tests whether this element will be pulled into previous line. |
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 pullInPrefix)
Sets the pullInPrefix. |
boolean |
startsNewCell()
Tests whether this element will start a new cell in the current row. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface de.mguennewig.pobjform.FormElement |
|---|
hasChanged, isMandatory, isVisible, setVisible, validate |
| Constructor Detail |
|---|
public AbstractFormElement(PObjForm form,
FormEntry entry)
| Method Detail |
|---|
public final PObjForm getForm()
getForm in interface FormElementpublic final FormEntry getEntry()
getEntry in interface FormElementpublic final Container getContainer()
getContainer in interface FormElementPObjForm.getContainer()public final java.lang.String getProperty()
getProperty in interface FormElementpublic void setProperty(java.lang.String property)
setProperty in interface FormElementpublic final java.lang.String getLabel()
getLabel in interface FormElementpublic void setLabel(java.lang.String label)
setLabel in interface FormElementpublic final java.lang.String getPullInPrefix()
getPullInPrefix in interface FormElementFormElement.setPullInPrefix(String)public void setPullInPrefix(java.lang.String pullInPrefix)
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.
setPullInPrefix in interface FormElementpublic final boolean isPulledIn()
isPulledIn in interface FormElementpublic final boolean omitRowHeader()
omitRowHeader in interface FormElementpublic final boolean startsNewCell()
startsNewCell in interface FormElementpublic void appendToList(java.util.List<FormElement> elements)
appendToList in interface FormElement
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||