Package org.apache.pivot.wtk
Class FormListener.Adapter
- java.lang.Object
-
- org.apache.pivot.wtk.FormListener.Adapter
-
- All Implemented Interfaces:
FormListener
- Enclosing interface:
- FormListener
@Deprecated public static class FormListener.Adapter extends java.lang.Object implements FormListener
Deprecated.Since 2.1 and Java 8 the interface itself has default implementations.Form listener adapter.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.pivot.wtk.FormListener
FormListener.Adapter, FormListener.Listeners
-
-
Constructor Summary
Constructors Constructor Description Adapter()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
fieldInserted(Form.Section section, int index)
Deprecated.Called when a form field has been inserted.void
fieldsRemoved(Form.Section section, int index, Sequence<Component> fields)
Deprecated.Called when form fields have been removed.void
sectionHeadingChanged(Form.Section section)
Deprecated.Called when a form section's heading has changed.void
sectionInserted(Form form, int index)
Deprecated.Called when a form section has been inserted.void
sectionsRemoved(Form form, int index, Sequence<Form.Section> removed)
Deprecated.Called when form sections have been removed.
-
-
-
Method Detail
-
sectionInserted
public void sectionInserted(Form form, int index)
Deprecated.Description copied from interface:FormListener
Called when a form section has been inserted.- Specified by:
sectionInserted
in interfaceFormListener
- Parameters:
form
- The form that has changed.index
- The index where the new section has been inserted.
-
sectionsRemoved
public void sectionsRemoved(Form form, int index, Sequence<Form.Section> removed)
Deprecated.Description copied from interface:FormListener
Called when form sections have been removed.- Specified by:
sectionsRemoved
in interfaceFormListener
- Parameters:
form
- The form that has changed.index
- The starting index where sections were removed.removed
- The complete sequence of the removed sections.
-
sectionHeadingChanged
public void sectionHeadingChanged(Form.Section section)
Deprecated.Description copied from interface:FormListener
Called when a form section's heading has changed.- Specified by:
sectionHeadingChanged
in interfaceFormListener
- Parameters:
section
- The form section whose heading changed.
-
fieldInserted
public void fieldInserted(Form.Section section, int index)
Deprecated.Description copied from interface:FormListener
Called when a form field has been inserted.- Specified by:
fieldInserted
in interfaceFormListener
- Parameters:
section
- The enclosing form section that has changed.index
- The index where a new field has been inserted.
-
fieldsRemoved
public void fieldsRemoved(Form.Section section, int index, Sequence<Component> fields)
Deprecated.Description copied from interface:FormListener
Called when form fields have been removed.- Specified by:
fieldsRemoved
in interfaceFormListener
- Parameters:
section
- The enclosing form section.index
- The starting index where fields were removed.fields
- The complete sequence of fields that were removed.
-
-