Package org.jbpm.formapi.client

Examples of org.jbpm.formapi.client.FormBuilderException


    }
   
    @Override
    public void populate(FormItemRepresentation rep) throws FormBuilderException {
        if (!(rep instanceof ImageRepresentation)) {
            throw new FormBuilderException(i18n.RepNotOfType(rep.getClass().getName(), "ImageRepresentation"));
        }
        super.populate(rep);
        ImageRepresentation irep = (ImageRepresentation) rep;
        this.altText = irep.getAltText();
        this.url = irep.getUrl();
View Full Code Here


    }
   
    @Override
    public void populate(FormItemRepresentation rep) throws FormBuilderException {
        if (!(rep instanceof AbsolutePanelRepresentation)) {
            throw new FormBuilderException(i18n.RepNotOfType(rep.getClass().getName(), "AbsolutePanelRepresentation"));
        }
        super.populate(rep);
        AbsolutePanelRepresentation arep = (AbsolutePanelRepresentation) rep;
        panel.clear();
        getItems().clear();
View Full Code Here

    }

    @Override
    public void populate(FormItemRepresentation rep) throws FormBuilderException {
        if (!(rep instanceof FileInputRepresentation)) {
            throw new FormBuilderException(i18n.RepNotOfType(rep.getClass().getName(), "FileInputRepresentation"));
        }
        super.populate(rep);
        FileInputRepresentation frep = (FileInputRepresentation) rep;
        this.id = frep.getId();
        this.name = frep.getName();
View Full Code Here

    }
   
    @Override
    public void populate(FormItemRepresentation rep) throws FormBuilderException {
        if (!(rep instanceof CompleteButtonRepresentation)) {
            throw new FormBuilderException(i18n.RepNotOfType(rep.getClass().getName(), "CompleteButtonRepresentation"));
        }
        super.populate(rep);
        CompleteButtonRepresentation crep = (CompleteButtonRepresentation) rep;
        this.innerText = crep.getText();
        this.name = crep.getName();
View Full Code Here

    }

    @Override
    public void populate(FormItemRepresentation rep) throws FormBuilderException {
        if (!(rep instanceof ClientScriptRepresentation)) {
            throw new FormBuilderException(i18n.RepNotOfType(rep.getClass().getName(), "ClientScriptRepresentation"));
        }
        super.populate(rep);
        ClientScriptRepresentation csrep = (ClientScriptRepresentation) rep;
        this.src = csrep.getSrc();
        this.type = csrep.getType();
View Full Code Here

    }
   
    @Override
    public void populate(FormItemRepresentation rep) throws FormBuilderException {
        if (!(rep instanceof CanvasRepresentation)) {
            throw new FormBuilderException(i18n.RepNotOfType(rep.getClass().getName(), "CanvasRepresentation"));
        }
        super.populate(rep);
        CanvasRepresentation crep = (CanvasRepresentation) rep;
        this.fallbackUrl = crep.getFallbackUrl();
        this.cssClassName = crep.getCssClassName();
View Full Code Here

    }
   
    @Override
    public void populate(FormItemRepresentation rep) throws FormBuilderException {
        if (!(rep instanceof BorderPanelRepresentation)) {
            throw new FormBuilderException(i18n.RepNotOfType(rep.getClass().getName(), "BorderPanelRepresentation"));
        }
        super.populate(rep);
        BorderPanelRepresentation brep = (BorderPanelRepresentation) rep;
        Map<Position, FormItemRepresentation> repItems = brep.getItems();
        if (repItems != null) {
View Full Code Here

    }
   
    @Override
    public void populate(FormItemRepresentation rep) throws FormBuilderException {
        if (!(rep instanceof PasswordFieldRepresentation)) {
            throw new FormBuilderException(i18n.RepNotOfType(rep.getClass().getName(), "PasswordFieldRepresentation"));
        }
        super.populate(rep);
        PasswordFieldRepresentation prep = (PasswordFieldRepresentation) rep;
        this.defaultContent = prep.getDefaultValue();
        this.name = prep.getName();
View Full Code Here

    }
   
    @Override
    public void populate(FormItemRepresentation rep) throws FormBuilderException {
        if (!(rep instanceof FlowPanelRepresentation)) {
            throw new FormBuilderException(i18n.RepNotOfType(rep.getClass().getName(), "FlowPanelRepresentation"));
        }
        super.populate(rep);
        FlowPanelRepresentation frep = (FlowPanelRepresentation) rep;
        this.cssClassName = frep.getCssClassName();
        this.id = frep.getId();
View Full Code Here

    }
   
    @Override
    public void populate(FormItemRepresentation rep) throws FormBuilderException {
        if (!(rep instanceof RadioButtonRepresentation)) {
            throw new FormBuilderException(i18n.RepNotOfType(rep.getClass().getName(), "RadioButtonRepresentation"));
        }
        super.populate(rep);
        RadioButtonRepresentation rrep = (RadioButtonRepresentation) rep;
        this.id = rrep.getId();
        this.name = rrep.getName();
View Full Code Here

TOP

Related Classes of org.jbpm.formapi.client.FormBuilderException

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.