org.apache.pivot.wtk
Interface FormListener

All Known Implementing Classes:
FormListener.Adapter, TerraFormSkin

public interface FormListener

Form listener interface.


Nested Class Summary
static class FormListener.Adapter
          Form listener adapter.
 
Method Summary
 void fieldInserted(Form.Section section, int index)
          Called when a form field has been inserted.
 void fieldsRemoved(Form.Section section, int index, Sequence<Component> fields)
          Called when forms fields items have been removed.
 void sectionHeadingChanged(Form.Section section)
          Called when a form section's heading has changed.
 void sectionInserted(Form form, int index)
          Called when a form section has been inserted.
 void sectionsRemoved(Form form, int index, Sequence<Form.Section> removed)
          Called when form sections have been removed.
 

Method Detail

sectionInserted

void sectionInserted(Form form,
                     int index)
Called when a form section has been inserted.

Parameters:
form -
index -

sectionsRemoved

void sectionsRemoved(Form form,
                     int index,
                     Sequence<Form.Section> removed)
Called when form sections have been removed.

Parameters:
form -
index -
removed -

sectionHeadingChanged

void sectionHeadingChanged(Form.Section section)
Called when a form section's heading has changed.

Parameters:
section -

fieldInserted

void fieldInserted(Form.Section section,
                   int index)
Called when a form field has been inserted.

Parameters:
section -
index -

fieldsRemoved

void fieldsRemoved(Form.Section section,
                   int index,
                   Sequence<Component> fields)
Called when forms fields items have been removed.

Parameters:
section -
index -
fields -