|
||||||||||
| 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.AbstractLinkElement
public abstract class AbstractLinkElement
Abstract base implementation for a form element that shows a link.
| Constructor Summary | |
|---|---|
AbstractLinkElement(PObjForm form,
LinkEntry entry)
Creates a new AbstractLinkElement. |
|
| Method Summary | |
|---|---|
java.lang.String |
getLinkUrl()
Returns the URL the link is pointing to. |
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 |
setLinkUrl(java.lang.String url)
Sets the URL the link will point to. |
void |
setVisible(boolean visible)
Sets whether the link is visible. |
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 AbstractLinkElement(PObjForm form,
LinkEntry entry)
| Method Detail |
|---|
public final boolean hasChanged()
hasChanged in interface FormElementpublic final boolean isMandatory()
isMandatory in interface FormElementpublic final boolean isVisible()
isVisible in interface FormElementpublic final void validate()
validate in interface FormElementpublic final java.lang.String getLinkUrl()
getLinkUrl in interface LinkElementpublic void setLinkUrl(java.lang.String url)
setLinkUrl in interface LinkElementpublic void setVisible(boolean visible)
setVisible in interface FormElementsetVisible in interface LinkElement
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||