Package com.jbstrap.ui.components.form
Interface FormChangeHandler
public interface FormChangeHandler
Interface for handling any form value changes.
- Since:
- 4.0
- Author:
- JBStrap
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onFormChanged
(Form form, FormItem<?, ?> changedItem, Record record) The method is called when any field's value is changed on theForm
, or if a new record is loaded to the form.
-
Method Details
-
onFormChanged
The method is called when any field's value is changed on theForm
, or if a new record is loaded to the form.- Parameters:
form
- TheForm
component instance, on which the value have changedchangedItem
- The form item component instance, on which there was a change, ornull
if a new record is loaded. In this case, every form item value changesrecord
- The form's new record, which contains the changed values
-