adapforms.form
Interface FormBehaviour


public interface FormBehaviour

Defines a class that contains behavioural logic specific to a single form.

This class should be shipped along with the XML form, and it will then be loaded and executed when the form is being instantiated.

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

Method Summary
 void postInitialize(FormInstance instance)
          Invoked just after the instance has been initialized.
 void preInitialize(FormInstance instance)
          Invoked just before the initialization of the specified instance.
 

Method Detail

preInitialize

void preInitialize(FormInstance instance)
Invoked just before the initialization of the specified instance. This presents an opportunity to register form hooks and similar.

Parameters:
instance - The form instance being initialized

postInitialize

void postInitialize(FormInstance instance)
Invoked just after the instance has been initialized.

Parameters:
instance - The form instance being initialized