| Modifier and Type | Field and Description |
|---|---|
| protected final BooleanProperty | |
| protected final List | |
| private final Map | |
| protected TranslationService | translationService
The translation service is passed down from the containing form. |
| protected final BooleanProperty | valid
The group acts as a proxy for its contained elements' |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public Group | addEventHandler(EventType<GroupEvent>
the type of the events to receive by the handler eventType, EventHandler<? super GroupEvent> the handler to register eventHandler)Registers an event handler to this group. |
| public BooleanProperty | |
| protected void | |
| public List | |
| public boolean | |
| public boolean | |
| public boolean | |
| public static Group | |
| public void | |
| public Group | removeEventHandler(EventType<GroupEvent>
the event type from which to unregister eventType, EventHandler<? super GroupEvent> the handler to unregister eventHandler)Unregisters a previously registered event handler from this group. |
| public void | |
| private void | setChangedProperty()
Sets this group's |
| private void | setValidProperty()
Sets this group's |
| protected void | translate(TranslationService
The new service to use for translating translatable values. newValue)This internal method is called by the containing form when a new translation has been added to the form. |
| public BooleanProperty |
| changed | back to summary |
|---|---|
| protected final BooleanProperty changed | |
| elements | back to summary |
|---|---|
| protected final List<Element<E extends Element<E>>> elements | |
| eventHandlers | back to summary |
|---|---|
| private final Map<EventType<GroupEvent>, List<EventHandler<? super GroupEvent>>> eventHandlers | |
| translationService | back to summary |
|---|---|
| protected TranslationService translationService The translation service is passed down from the containing form. It is used to translate all translatable values of the field. | |
| valid | back to summary |
|---|---|
| protected final BooleanProperty valid The group acts as a proxy for its contained elements' | |
| Group | back to summary |
|---|---|
| protected Group(Element<E extends Element<E>>... elements) Internal constructor for the | |
| addEventHandler | back to summary |
|---|---|
| public Group addEventHandler(EventType<GroupEvent> eventType, EventHandler<? super GroupEvent> eventHandler) Registers an event handler to this group. The handler is called when the
group receives an
| |
| changedProperty | back to summary |
|---|---|
| public BooleanProperty changedProperty() | |
| fireEvent | back to summary |
|---|---|
| protected void fireEvent(GroupEvent event) | |
| getElements | back to summary |
|---|---|
| public List | |
| hasChanged | back to summary |
|---|---|
| public boolean hasChanged() | |
| isI18N | back to summary |
|---|---|
| public boolean isI18N() | |
| isValid | back to summary |
|---|---|
| public boolean isValid() | |
| of | back to summary |
|---|---|
| public static Group of(Element<E extends Element<E>>... elements) Creates a new group containing the given elements. | |
| persist | back to summary |
|---|---|
| public void persist() Persists the values for all contained elements.
| |
| removeEventHandler | back to summary |
|---|---|
| public Group removeEventHandler(EventType<GroupEvent> eventType, EventHandler<? super GroupEvent> eventHandler) Unregisters a previously registered event handler from this group. 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 contained elements.
| |
| setChangedProperty | back to summary |
|---|---|
| private void setChangedProperty() Sets this group's | |
| setValidProperty | back to summary |
|---|---|
| private void setValidProperty() Sets this group's | |
| translate | back to summary |
|---|---|
| protected void translate(TranslationService newValue) This internal method is called by the containing form when a new translation has been added to the form. Also applies the translation to all contained elements.
| |
| validProperty | back to summary |
|---|---|
| public BooleanProperty validProperty() | |