Package com.dooapp.fxform.view.control

Examples of com.dooapp.fxform.view.control.ConstraintLabel


        final VBox contentBox = new VBox();
        contentBox.setPadding(new Insets(5.0, 5.0, 5.0, 5.0));
        contentBox.getStyleClass().add("form-content-box");
        titleBox.getChildren().add(contentBox);
        contentBox.setSpacing(5.0);
        ConstraintLabel constraintLabel = new ConstraintLabel();
        constraintLabel.constraintProperty().bind(fxForm.getClassLevelValidator().constraintViolationsProperty());
        controllerBox = new VBox();
        contentBox.getChildren().addAll(constraintLabel, controllerBox);
        return titleBox;
    }
View Full Code Here


        VBox contentBox = new VBox();
        contentBox.setPadding(new Insets(5.0, 5.0, 5.0, 5.0));
        contentBox.getStyleClass().add("form-content-box");
        titleBox.getChildren().add(contentBox);
        contentBox.setSpacing(5.0);
        ConstraintLabel constraintLabel = new ConstraintLabel();
        constraintLabel.constraintProperty().bind(fxForm.getClassLevelValidator().constraintViolationsProperty());
        gridPane = GridPaneBuilder.create().hgap(5.0).vgap(5.0).build();
        contentBox.getChildren().addAll(constraintLabel, gridPane);
        return titleBox;
    }
View Full Code Here

     */
    protected void removeCategory(String category) {
    }

    protected Node createClassLevelConstraintNode() {
        ConstraintLabel constraintLabel = new ConstraintLabel();
        constraintLabel.getStyleClass().add(NodeType.CONSTRAINT.getStyle());
        constraintLabel.constraintProperty().bind(fxForm.getClassLevelValidator().constraintViolationsProperty());
        return constraintLabel;
    }
View Full Code Here

        contentBox = new VBox();
        contentBox.setPadding(new Insets(5.0, 5.0, 5.0, 5.0));
        contentBox.getStyleClass().add("form-content-box");
        titleBox.getChildren().add(contentBox);
        contentBox.setSpacing(5.0);
        ConstraintLabel constraintLabel = new ConstraintLabel();
        constraintLabel.constraintProperty().bind(fxForm.getClassLevelValidator().constraintViolationsProperty());
        contentBox.getChildren().addAll(constraintLabel);
        return titleBox;
    }
View Full Code Here

        VBox contentBox = new VBox();
        contentBox.setPadding(new Insets(5.0, 5.0, 5.0, 5.0));
        contentBox.getStyleClass().add("form-content-box");
        titleBox.getChildren().add(contentBox);
        contentBox.setSpacing(5.0);
        ConstraintLabel constraintLabel = new ConstraintLabel();
        constraintLabel.constraintProperty().bind(fxForm.getClassLevelValidator().constraintViolationsProperty());
        gridPane = GridPaneBuilder.create().hgap(5.0).vgap(5.0).build();
        contentBox.getChildren().addAll(constraintLabel, gridPane);
        return titleBox;
    }
View Full Code Here

        VBox contentBox = new VBox();
        contentBox.setPadding(new Insets(5.0, 5.0, 5.0, 5.0));
        contentBox.getStyleClass().add("form-content-box");
        titleBox.getChildren().add(contentBox);
        contentBox.setSpacing(5.0);
        ConstraintLabel constraintLabel = new ConstraintLabel();
        constraintLabel.constraintProperty().bind(fxForm.getClassLevelValidator().constraintViolationsProperty());
        gridPane = GridPaneBuilder.create().hgap(5.0).vgap(5.0).build();
        contentBox.getChildren().addAll(constraintLabel, gridPane);
        return titleBox;
    }
View Full Code Here

* @author Antoine Mischler <antoine@dooapp.com>
*/
public class DefaultConstraintFactory implements Callback<Void, FXFormNode> {

    public FXFormNode call(Void aVoid) {
        ConstraintLabel constraintLabel = new ConstraintLabel();
        return new FXFormNodeWrapper(constraintLabel, constraintLabel.constraintProperty());
    }
View Full Code Here

* @author Antoine Mischler <antoine@dooapp.com>
*/
public class DefaultConstraintFactory implements Callback<Void, FXFormNode> {

    public FXFormNode call(Void aVoid) {
        ConstraintLabel constraintLabel = new ConstraintLabel();
        return new FXFormNodeWrapper(constraintLabel, constraintLabel.constraintProperty());
    }
View Full Code Here

TOP

Related Classes of com.dooapp.fxform.view.control.ConstraintLabel

Copyright © 2018 www.massapicom. 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.