Package org.apache.pivot.wtk
Class FormAttributeListener.Adapter
- java.lang.Object
-
- org.apache.pivot.wtk.FormAttributeListener.Adapter
-
- All Implemented Interfaces:
FormAttributeListener
- Enclosing interface:
- FormAttributeListener
@Deprecated public static class FormAttributeListener.Adapter extends java.lang.Object implements FormAttributeListener
Deprecated.Since 2.1 and Java 8 the interface itself has default implementations.Form attribute listener adapter.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.pivot.wtk.FormAttributeListener
FormAttributeListener.Adapter, FormAttributeListener.Listeners
-
-
Constructor Summary
Constructors Constructor Description Adapter()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
flagChanged(Form form, Component field, Form.Flag previousFlag)
Deprecated.Called when a field's flag attribute has changed.void
labelChanged(Form form, Component field, java.lang.String previousLabel)
Deprecated.Called when a field's label attribute has changed.void
requiredChanged(Form form, Component field)
Deprecated.Called when a fields's required attribute has changed.
-
-
-
Method Detail
-
labelChanged
public void labelChanged(Form form, Component field, java.lang.String previousLabel)
Deprecated.Description copied from interface:FormAttributeListener
Called when a field's label attribute has changed.- Specified by:
labelChanged
in interfaceFormAttributeListener
- Parameters:
form
- The enclosing form.field
- The field whose form label has changed.previousLabel
- The previous form label for this field.
-
requiredChanged
public void requiredChanged(Form form, Component field)
Deprecated.Description copied from interface:FormAttributeListener
Called when a fields's required attribute has changed.- Specified by:
requiredChanged
in interfaceFormAttributeListener
- Parameters:
form
- The enclosing form.field
- The field that is or is not now required.
-
flagChanged
public void flagChanged(Form form, Component field, Form.Flag previousFlag)
Deprecated.Description copied from interface:FormAttributeListener
Called when a field's flag attribute has changed.- Specified by:
flagChanged
in interfaceFormAttributeListener
- Parameters:
form
- The enclosing form.field
- The field whose flag attribute has changed.previousFlag
- The previous flag value for this field.
-
-