Package org.apache.pivot.wtk
Interface FormAttributeListener
-
- All Known Implementing Classes:
FormAttributeListener.Adapter
,FormAttributeListener.Listeners
,TerraFormSkin
public interface FormAttributeListener
Form attribute listener interface.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
FormAttributeListener.Adapter
Deprecated.Since 2.1 and Java 8 the interface itself has default implementations.static class
FormAttributeListener.Listeners
Form attribute listeners.
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default void
flagChanged(Form form, Component field, Form.Flag previousFlag)
Called when a field's flag attribute has changed.default void
labelChanged(Form form, Component field, java.lang.String previousLabel)
Called when a field's label attribute has changed.default void
requiredChanged(Form form, Component field)
Called when a fields's required attribute has changed.
-
-
-
Method Detail
-
labelChanged
default void labelChanged(Form form, Component field, java.lang.String previousLabel)
Called when a field's label attribute has changed.- Parameters:
form
- The enclosing form.field
- The field whose form label has changed.previousLabel
- The previous form label for this field.
-
requiredChanged
default void requiredChanged(Form form, Component field)
Called when a fields's required attribute has changed.- Parameters:
form
- The enclosing form.field
- The field that is or is not now required.
-
-