|
||||||||||
| 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.AbstractTextElement
public abstract class AbstractTextElement
Common base class for all text element implementations.
| Constructor Summary | |
|---|---|
AbstractTextElement(PObjForm form,
TextEntry entry)
Creates a new AbstractTextElement. |
|
| Method Summary | |
|---|---|
java.lang.String |
getText()
|
boolean |
hasChanged()
Tests whether the data for this element has been changed. |
boolean |
isMandatory()
Tests whether data for this element must be entered. |
boolean |
isRightAligned()
Returns whether the text will be right aligned. |
boolean |
isVisible()
Tests whether this element will write anything visible. |
void |
setRightAligned(boolean rightAligned)
Sets whether the text should be right aligned. |
void |
setText(java.lang.String text)
|
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 AbstractTextElement(PObjForm form,
TextEntry entry)
| Method Detail |
|---|
public boolean isMandatory()
isMandatory in interface FormElementpublic final boolean isVisible()
isVisible in interface FormElementpublic void setVisible(boolean visible)
setVisible in interface FormElementpublic boolean hasChanged()
hasChanged in interface FormElementpublic void validate()
validate in interface FormElementpublic final java.lang.String getText()
getText in interface TextElementpublic void setText(java.lang.String text)
setText in interface TextElementpublic final boolean isRightAligned()
isRightAligned in interface TextElementpublic void setRightAligned(boolean rightAligned)
setRightAligned in interface TextElement
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||