fi.hut.tml.xsmiles.mlfc.xforms.instance
Interface InstanceItemListener

All Known Implementing Classes:
CaptionElementImpl, DynamicDependencyHandler.Dependency, DynamicDependencyHandler.Dependency.ValueChangeListener, GroupElementImpl, XFormsControl

public interface InstanceItemListener

The listener for status / value changes in the instance item


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
 

Method Detail

checkVisibility

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


checkValidity

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


setReadonly

public void setReadonly(boolean readonly)

setRequired

public void setRequired(boolean required)

valueChanged

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


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.


checkStyling

public void checkStyling()


X-Smiles 1.2