de.mguennewig.pobjform
Interface ValueElement

All Superinterfaces:
FormElement
All Known Subinterfaces:
ArrayElement, CheckboxElement, InputElement, PClassSearchForm.Column, PClassSearchForm.Condition, PClassSearchForm.Restrict, PClassSearchForm.Sort, RadioElement, RecordElement, ReferenceElement, StringElement, TextAreaElement
All Known Implementing Classes:
AbstractArrayElement, AbstractInputElement, AbstractRecordElement, AbstractValueElement, HtmlArrayElement, HtmlCheckboxElement, HtmlInputElement, HtmlRadioElement, HtmlRecordElement, HtmlReferenceElement, HtmlStringElement, HtmlTextAreaElement, PClassHtmlSearchForm.HtmlColumn, PClassHtmlSearchForm.HtmlCondition, PClassHtmlSearchForm.HtmlRestrict, PClassHtmlSearchForm.HtmlSort, PClassSwingSearchForm.SwingColumn, PClassSwingSearchForm.SwingCondition, PClassSwingSearchForm.SwingRestrict, PClassSwingSearchForm.SwingSort, SwingArrayElement, SwingCheckboxElement, SwingInputElement, SwingRecordElement, SwingReferenceElement, SwingStringElement, SwingTextAreaElement

public interface ValueElement
extends FormElement

Interface for all form elements that handle editable values.

Author:
Michael Günnewig

Method Summary
 java.lang.String getCurrentString()
          Returns the string representation of the current object.
 java.lang.Object getInitialObject()
          Returns the initial object.
 java.lang.String getInitialString()
          Returns the string representation of the initial object.
 java.lang.Object getObject()
          Returns the current object.
 void setCurrentAsInitialState()
          Copies the current state to the initial state.
 void setObject(java.lang.Object obj)
          Sets the current object to the new value.
 
Methods inherited from interface de.mguennewig.pobjform.FormElement
appendToList, getContainer, getEntry, getForm, getLabel, getProperty, getPullInPrefix, hasChanged, isMandatory, isPulledIn, isVisible, omitRowHeader, setLabel, setProperty, setPullInPrefix, setVisible, startsNewCell, validate
 

Method Detail

getObject

java.lang.Object getObject()
Returns the current object.


setObject

void setObject(java.lang.Object obj)
Sets the current object to the new value.


getInitialObject

java.lang.Object getInitialObject()
Returns the initial object.


setCurrentAsInitialState

void setCurrentAsInitialState()
Copies the current state to the initial state.


getInitialString

java.lang.String getInitialString()
Returns the string representation of the initial object.


getCurrentString

java.lang.String getCurrentString()
Returns the string representation of the current object.