adapforms.runtime.adaptations
Class ValueChangeAdaptation

java.lang.Object
  extended by adapforms.runtime.adaptations.ElementAdaptation
      extended by adapforms.runtime.adaptations.ValueChangeAdaptation
All Implemented Interfaces:
Adaptation

public class ValueChangeAdaptation
extends ElementAdaptation

Changing the value of a form element.

Author:
Henrik Gammelmark, geemark@cs.au.dk

Constructor Summary
ValueChangeAdaptation(FormPath path, java.lang.Object value)
           
 
Method Summary
 java.lang.Object getValue()
          The new value to set.
 java.lang.String toString()
           
 
Methods inherited from class adapforms.runtime.adaptations.ElementAdaptation
getElementPath
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ValueChangeAdaptation

public ValueChangeAdaptation(FormPath path,
                             java.lang.Object value)
Method Detail

getValue

public java.lang.Object getValue()
The new value to set. The value has been type-converted according to the type expected by the form element type. See ValueHoldingElement.convertValue(java.lang.Object, adapforms.runtime.i18n.Localization).


toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object