Examples of constraintViolationsProperty()


Examples of com.dooapp.fxform.validation.PropertyElementValidator.constraintViolationsProperty()

    private final NodeController constraintController;

    public PropertyElementController(final FXForm fxForm, PropertyElement element) {
        super(fxForm, element);
        PropertyElementValidator validator = ((PropertyEditorController) editorController).getPropertyElementValidator();
        validator.constraintViolationsProperty().addListener(new ListChangeListener<ConstraintViolation>() {
            @Override
            public void onChanged(Change<? extends ConstraintViolation> change) {
                while (change.next()) {
                    fxForm.getConstraintViolations().addAll(change.getAddedSubList());
                    fxForm.getConstraintViolations().removeAll(change.getRemoved());
View Full Code Here

Examples of com.dooapp.fxform.validation.PropertyElementValidator.constraintViolationsProperty()

                    fxForm.getConstraintViolations().addAll(change.getAddedSubList());
                    fxForm.getConstraintViolations().removeAll(change.getRemoved());
                }
            }
        });
        constraintController = new ConstraintController(fxForm, element, validator.constraintViolationsProperty());
        updateSkin((FXFormSkin) fxForm.getSkin());
        validator.invalidProperty().addListener(new ChangeListener<Boolean>() {
            @Override
            public void changed(ObservableValue<? extends Boolean> observableValue, Boolean aBoolean, Boolean aBoolean2) {
                if (aBoolean2) {
View Full Code Here

Examples of com.dooapp.fxform.validation.PropertyElementValidator.constraintViolationsProperty()

    private final NodeController constraintController;

    public PropertyElementController(final AbstractFXForm fxForm, PropertyElement element) {
        super(fxForm, element);
        PropertyElementValidator validator = ((PropertyEditorController) editorController).getPropertyElementValidator();
        validator.constraintViolationsProperty().addListener(new ListChangeListener<ConstraintViolation>() {
            @Override
            public void onChanged(Change<? extends ConstraintViolation> change) {
                while (change.next()) {
                    fxForm.getConstraintViolations().addAll(change.getAddedSubList());
                    fxForm.getConstraintViolations().removeAll(change.getRemoved());
View Full Code Here

Examples of com.dooapp.fxform.validation.PropertyElementValidator.constraintViolationsProperty()

                    fxForm.getConstraintViolations().addAll(change.getAddedSubList());
                    fxForm.getConstraintViolations().removeAll(change.getRemoved());
                }
            }
        });
        constraintController = new ConstraintController(fxForm, element, validator.constraintViolationsProperty());
        updateSkin((FXFormSkin) fxForm.getSkin());
        validator.invalidProperty().addListener(new ChangeListener<Boolean>() {
            @Override
            public void changed(ObservableValue<? extends Boolean> observableValue, Boolean aBoolean, Boolean aBoolean2) {
                if (aBoolean2) {
View Full Code Here

Examples of com.dooapp.fxform.validation.PropertyElementValidator.constraintViolationsProperty()

    private final NodeController constraintController;

    public PropertyElementController(final AbstractFXForm fxForm, PropertyElement element) {
        super(fxForm, element);
        PropertyElementValidator validator = ((PropertyEditorController) editorController).getPropertyElementValidator();
        validator.constraintViolationsProperty().addListener(new ListChangeListener<ConstraintViolation>() {
            @Override
            public void onChanged(Change<? extends ConstraintViolation> change) {
                while (change.next()) {
                    fxForm.getConstraintViolations().addAll(change.getAddedSubList());
                    fxForm.getConstraintViolations().removeAll(change.getRemoved());
View Full Code Here

Examples of com.dooapp.fxform.validation.PropertyElementValidator.constraintViolationsProperty()

                    fxForm.getConstraintViolations().addAll(change.getAddedSubList());
                    fxForm.getConstraintViolations().removeAll(change.getRemoved());
                }
            }
        });
        constraintController = new ConstraintController(fxForm, element, validator.constraintViolationsProperty());
        updateSkin((FXFormSkin) fxForm.getSkin());
        validator.invalidProperty().addListener(new ChangeListener<Boolean>() {
            @Override
            public void changed(ObservableValue<? extends Boolean> observableValue, Boolean aBoolean, Boolean aBoolean2) {
                if (aBoolean2) {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.