Uses of Class
com.jbstrap.ui.components.form.Form
-
Uses of Form in com.jbstrap.ui.components.form
Modifier and TypeMethodDescriptionfinal Form
Creates a form block on the formfinal Form
Creates a form column on the formForm.addComponent
(Component<?> component) final Form
Form.addTabPage
(String tabPageName, Icon icon, String title) Creates a tab page on the formForm.editRecord
(Record record) Starts the editing of the specified record in the form component.final Form
Form.newRecord()
Starts the editing of a new record in the form component.Form.rebuild()
final Form
Form.recalcAutoCalculateFields()
Recalculates the fields on the form.Form.removeAllComponents()
Every component cannot be removed from the formfinal Form
Sets the form actionfinal Form
Form.setBuildType
(FormBuildType buildType) Sets the form builder class.final Form
Form.setBuildType
(FormBuildType buildType, FormBuilder builder) Sets the builder class, by specifiyng the builder class instance.final Form
Form.setDataDescriptor
(DataDescriptor dataDescriptor) Sets the form's DataDescriptor.final Form
Form.setFormChangeHandler
(FormChangeHandler handler) Sets the form change event handler implementationfinal Form
Form.setFormEncode
(FormEncoding encode) Sets the form encoding.final Form
Form.setFormMethod
(FormMethod method) Sets the form method.Form.setFormType
(FormType formType) Sets the form type.final Form
Form.setFormValidator
(FormValidator validator) Sets a custom form validator on the form componentForm.setHierarchy
(ComplexBuilderHierarchy hierachy) Sets the builder hierarchy (used when using a complex form builder).final Form
Form.setLabelPosition
(FormItemLabelPosition position) Sets the label position of the form items.Form.setOriginalValue
(String fieldName, Object value) Sets the original value of a form item.Form.setTabType
(TabType tabType) Sets the type of the tabs, that are used on the form.Sets the value of a form item.final Form
Form.submit()
Submits the formModifier and TypeMethodDescriptionvoid
FormChangeHandler.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.boolean
Checks the validity of a form.