|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.mguennewig.pobjform.AbstractFormElement
de.mguennewig.pobjform.AbstractSpacerElement
public abstract class AbstractSpacerElement
Common base class for all spacer element implementations.
| Constructor Summary | |
|---|---|
AbstractSpacerElement(PObjForm form,
SpacerEntry entry)
Creates a new abstract spacer element. |
|
| Method Summary | |
|---|---|
int |
getRenderAs()
|
boolean |
hasChanged()
Tests whether the data for this element has been changed. |
boolean |
isMandatory()
Tests whether data for this element must be entered. |
boolean |
isVisible()
Tests whether this element will write anything visible. |
void |
setVisible(boolean visible)
Sets whether this element will be written visibly. |
void |
validate()
Checks for a valid value in this form element and any possible children. |
| Methods inherited from class de.mguennewig.pobjform.AbstractFormElement |
|---|
appendToList, getContainer, getEntry, getForm, getLabel, getProperty, getPullInPrefix, isPulledIn, omitRowHeader, setLabel, setProperty, setPullInPrefix, startsNewCell |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface de.mguennewig.pobjform.FormElement |
|---|
appendToList, getContainer, getEntry, getForm, getLabel, getProperty, getPullInPrefix, isPulledIn, omitRowHeader, setLabel, setProperty, setPullInPrefix, startsNewCell |
| Constructor Detail |
|---|
public AbstractSpacerElement(PObjForm form,
SpacerEntry entry)
| Method Detail |
|---|
public final boolean isMandatory()
isMandatory in interface FormElementpublic final boolean isVisible()
isVisible in interface FormElementpublic void setVisible(boolean visible)
A spacer element is always visible.
setVisible in interface FormElementpublic final boolean hasChanged()
hasChanged in interface FormElementpublic final int getRenderAs()
getRenderAs in interface SpacerElementpublic void validate()
validate in interface FormElement
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||