fi.hut.tml.xsmiles.mlfc.xforms.constraint
Class DynamicDependencyHandler.Dependency.ValueChangeListener

java.lang.Object
  extended byfi.hut.tml.xsmiles.mlfc.xforms.constraint.DynamicDependencyHandler.Dependency.ValueChangeListener
All Implemented Interfaces:
InstanceItemListener
Enclosing class:
DynamicDependencyHandler.Dependency

public class DynamicDependencyHandler.Dependency.ValueChangeListener
extends java.lang.Object
implements InstanceItemListener

this class listens for the change in the referred nodeset


Constructor Summary
DynamicDependencyHandler.Dependency.ValueChangeListener()
           
 
Method Summary
 void checkStyling()
           
 void checkValidity(InstanceItem item)
          An instance item instructs the control to check its status, when the status changes
 void checkVisibility(InstanceItem item)
          An instance item instructs the control to check its status, when the status changes
 void notifyError(java.lang.Exception e, boolean atSubmission)
          notify this listener that there was an error in the value of the instance item.
 void setReadonly(boolean readonly)
           
 void setRequired(boolean required)
           
 void valueChanged(java.lang.String newValue)
          The value of this instanceItem has changed
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DynamicDependencyHandler.Dependency.ValueChangeListener

public DynamicDependencyHandler.Dependency.ValueChangeListener()
Method Detail

valueChanged

public void valueChanged(java.lang.String newValue)
The value of this instanceItem has changed

Specified by:
valueChanged in interface InstanceItemListener

checkValidity

public void checkValidity(InstanceItem item)
An instance item instructs the control to check its status, when the status changes

Specified by:
checkValidity in interface InstanceItemListener

checkVisibility

public void checkVisibility(InstanceItem item)
An instance item instructs the control to check its status, when the status changes

Specified by:
checkVisibility in interface InstanceItemListener

notifyError

public void notifyError(java.lang.Exception e,
                        boolean atSubmission)
notify this listener that there was an error in the value of the instance item. This can be schema validity, constraint, required etc.

Specified by:
notifyError in interface InstanceItemListener

setReadonly

public void setReadonly(boolean readonly)
Specified by:
setReadonly in interface InstanceItemListener

setRequired

public void setRequired(boolean required)
Specified by:
setRequired in interface InstanceItemListener

checkStyling

public void checkStyling()
Specified by:
checkStyling in interface InstanceItemListener


X-Smiles 1.2