Examples of CSSPanelRepresentation


Examples of org.jbpm.formapi.shared.api.items.CSSPanelRepresentation

        }
    }
   
    @Override
    public FormItemRepresentation getRepresentation() {
        CSSPanelRepresentation rep = super.getRepresentation(new CSSPanelRepresentation());
        List<FormItemRepresentation> items = new ArrayList<FormItemRepresentation>();
        for (FBFormItem item : getItems()) {
            items.add(item.getRepresentation());
        }
        rep.setItems(items);
        rep.setId(this.id);
        rep.setCssClassName(this.cssClassName);
        rep.setCssStylesheetUrl(this.cssStylesheetUrl);
        return rep;
    }
View Full Code Here

Examples of org.jbpm.formapi.shared.api.items.CSSPanelRepresentation

    public void populate(FormItemRepresentation rep) throws FormBuilderException {
        if (!(rep instanceof CSSPanelRepresentation)) {
            throw new FormBuilderException(i18n.RepNotOfType(rep.getClass().getName(), "CSSPanelRepresentation"));
        }
        super.populate(rep);
        CSSPanelRepresentation crep = (CSSPanelRepresentation) rep;
        this.cssClassName = crep.getCssClassName();
        this.id = crep.getId();
        this.cssStylesheetUrl = crep.getCssStylesheetUrl();
        super.getItems().clear();
        populate(this.panel, this.link);
        if (crep.getItems() != null) {
            for (FormItemRepresentation item : crep.getItems()) {
                add(super.createItem(item));
            }
        }
    }
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.