com.tonbeller.wcf.component
Interface Form

All Superinterfaces:
FormListener
All Known Implementing Classes:
ComponentSupport, FormSupport

public interface Form
extends FormListener

Sends events to FormListeners, e.g. if a button one component calls validate() on the Form, all FormListeners will receive this event.

Form instances may listen to each other. So (for example) expanding a node in a tree component may also validate text input in a form. Form may listen to each other without endless recursion, e.g. form1 may listen to form2 and form2 to form1.

Form ensures that a FormListener can not be registered more than once.

Author:
av
See Also:
FormListener

Method Summary
 void addFormListener(FormListener listener)
           
 void removeFormListener(FormListener listener)
           
 
Methods inherited from interface com.tonbeller.wcf.component.FormListener
revert, validate
 

Method Detail

addFormListener

public void addFormListener(FormListener listener)

removeFormListener

public void removeFormListener(FormListener listener)