Package at.reppeitsolutions.formbuilder.components.html

Examples of at.reppeitsolutions.formbuilder.components.html.HtmlDiv


        formBuilder.getFormContent().getChildren().add(placeholder);
    }

    public void addSettingsIcon(FormBuilderContainer comp, HtmlDiv icons) {
        if (!comp.getHtmlfbitem().getChildren().get(0).getClass().isAnnotationPresent(SkipDialog.class)) {
            HtmlDiv settings = new HtmlDiv();
            settings.setClassString("settings");
            settings.setOnClick("openDialog('" + comp.getFbitem().getId() + "');");
            icons.getChildren().add(settings);
        }
    }
View Full Code Here


        this.constraints = constraints;
    }

    @Override
    public void renderView() {
        HtmlDiv constraintEditorDiv = new HtmlDiv();
        constraintEditorDiv.setId("constraintEditor" + UUID.randomUUID().toString());
        HtmlDiv constraintHeader = new HtmlDiv();
        constraintHeader.setStyle("text-align: center; border-bottom: 1px solid black;");
        HtmlOutputText output = new HtmlOutputText();
        output.setValue(properties.getValues());
        output.setTransient(true);
        constraintHeader.getChildren().add(output);
        getChildren().add(constraintHeader);
        if (getProperties().getRenderEditor()) {
            HtmlOutputText show = new HtmlOutputText();
            show.setEscape(false);
            String showStyle = "";
View Full Code Here

            icons.getChildren().add(settings);
        }
    }

    public void addDeleteIcon(FormBuilderContainer comp, HtmlDiv icons) {
        HtmlDiv delete = new HtmlDiv();
        delete.setClassString("delete");
        delete.setOnClick("deleteItem('" + comp.getFbitem().getId() + "');");
        icons.getChildren().add(delete);
    }
View Full Code Here

TOP

Related Classes of at.reppeitsolutions.formbuilder.components.html.HtmlDiv

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.