| Modifier and Type | Field and Description |
|---|---|
| protected final BooleanProperty | |
| private final Map | |
| protected final List | |
| protected final Runnable | |
| protected final BooleanProperty | |
| protected final StringProperty | title
The title acts as a description for the form. |
| protected final StringProperty | |
| protected final ObjectProperty | translationService
A form can optionally have a translation service. |
| protected final BooleanProperty | valid
The form acts as a proxy for its contained sections' |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public Form | addEventHandler(EventType<FormEvent>
the type of the events to receive by the handler eventType, EventHandler<? super FormEvent> the handler to register eventHandler)Registers an event handler to this form. |
| public Form | Returns: Returns the current form to allow for chaining.The new mode for handling external bindings. newValue)Changes the way field values are bound to external properties. |
| public BooleanProperty | |
| protected void | |
| public List | |
| public List | |
| public List | |
| public String | |
| public boolean | |
| public Form | Returns: Returns the current form to allow for chaining.The new value for the translation service property. newValue)Sets the translation service property of the current form. |
| public boolean | |
| public boolean | |
| public boolean | |
| public static Form | |
| public void | |
| public BooleanProperty | |
| public Form | removeEventHandler(EventType<FormEvent>
the event type from which to unregister eventType, EventHandler<? super FormEvent> the handler to unregister eventHandler)Unregisters a previously registered event handler from this form. |
| public void | |
| protected void | setChangedProperty()
Sets this form's |
| protected void | setPersistableProperty()
Sets this form's |
| protected void | setValidProperty()
Sets this form's |
| public Form | |
| public StringProperty | |
| protected void | translate()
This internal method is used as a callback for when the translation service or its locale changes. |
| public BooleanProperty |
| changed | back to summary |
|---|---|
| protected final BooleanProperty changed | |
| eventHandlers | back to summary |
|---|---|
| private final Map<EventType<FormEvent>, List<EventHandler<? super FormEvent>>> eventHandlers | |
| groups | back to summary |
|---|---|
| protected final List<Group> groups | |
| localeChangeListener | back to summary |
|---|---|
| protected final Runnable localeChangeListener | |
| persistable | back to summary |
|---|---|
| protected final BooleanProperty persistable | |
| title | back to summary |
|---|---|
| protected final StringProperty title The title acts as a description for the form.
This property is translatable if a | |
| titleKey | back to summary |
|---|---|
| protected final StringProperty titleKey | |
| translationService | back to summary |
|---|---|
| protected final ObjectProperty<TranslationService> translationService A form can optionally have a translation service. This service is used to translate displayed values into multiple locales. The form registers itself as a listener on the translation service to handle locale changes.
| |
| valid | back to summary |
|---|---|
| protected final BooleanProperty valid The form acts as a proxy for its contained sections' | |
| Form | back to summary |
|---|---|
| private Form(Group... groups) Internal constructor for the | |
| addEventHandler | back to summary |
|---|---|
| public Form addEventHandler(EventType<FormEvent> eventType, EventHandler<? super FormEvent> eventHandler) Registers an event handler to this form. The handler is called when the
form receives an
| |
| binding | back to summary |
|---|---|
| public Form binding(BindingMode newValue) Changes the way field values are bound to external properties.
| |
| changedProperty | back to summary |
|---|---|
| public BooleanProperty changedProperty() | |
| fireEvent | back to summary |
|---|---|
| protected void fireEvent(FormEvent event) | |
| getElements | back to summary |
|---|---|
| public List | |
| getFields | back to summary |
|---|---|
| public List | |
| getGroups | back to summary |
|---|---|
| public List | |
| getTitle | back to summary |
|---|---|
| public String getTitle() | |
| hasChanged | back to summary |
|---|---|
| public boolean hasChanged() | |
| i18n | back to summary |
|---|---|
| public Form i18n(TranslationService newValue) Sets the translation service property of the current form.
| |
| isI18N | back to summary |
|---|---|
| public boolean isI18N() | |
| isPersistable | back to summary |
|---|---|
| public boolean isPersistable() | |
| isValid | back to summary |
|---|---|
| public boolean isValid() | |
| of | back to summary |
|---|---|
| public static Form of(Group... sections) Creates a new form containing the given sections. | |
| persist | back to summary |
|---|---|
| public void persist() Persists the values for all elements contained in this form's groups.
| |
| persistableProperty | back to summary |
|---|---|
| public BooleanProperty persistableProperty() | |
| removeEventHandler | back to summary |
|---|---|
| public Form removeEventHandler(EventType<FormEvent> eventType, EventHandler<? super FormEvent> eventHandler) Unregisters a previously registered event handler from this form. One handler might have been registered for different event types, so the caller needs to specify the particular event type from which to unregister the handler.
| |
| reset | back to summary |
|---|---|
| public void reset() Resets the values for all elements contained in this form's groups.
| |
| setChangedProperty | back to summary |
|---|---|
| protected void setChangedProperty() Sets this form's | |
| setPersistableProperty | back to summary |
|---|---|
| protected void setPersistableProperty() Sets this form's | |
| setValidProperty | back to summary |
|---|---|
| protected void setValidProperty() Sets this form's | |
| title | back to summary |
|---|---|
| public Form title(String newValue) Sets the title property of the current form.
| |
| titleProperty | back to summary |
|---|---|
| public StringProperty titleProperty() | |
| translate | back to summary |
|---|---|
| protected void translate() This internal method is used as a callback for when the translation service or its locale changes. Also applies the translation to all contained sections.
| |
| validProperty | back to summary |
|---|---|
| public BooleanProperty validProperty() | |