Package org.jbpm.formapi.shared.api.items

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


        return card;
    }

    @Override
    public FormItemRepresentation getRepresentation() {
        ImageRolodexRepresentation irrep = new ImageRolodexRepresentation();
        irrep.setAnimated(this.animated);
        irrep.setImageUrls(this.urls);
        irrep.setSelectedIndex(this.selectedIndex);
        return irrep;
    }
View Full Code Here


    public void populate(FormItemRepresentation rep) throws FormBuilderException {
        if (!(rep instanceof ImageRolodexRepresentation)) {
            throw new FormBuilderException(i18n.RepNotOfType(rep.getClass().getName(), "ImageRolodexRepresentation"));
        }
        super.populate(rep);
        ImageRolodexRepresentation irep = (ImageRolodexRepresentation) rep;
        this.selectedIndex = irep.getSelectedIndex();
        this.animated = irep.isAnimated();
        this.urls = irep.getImageUrls();
        populate(this.panel);
    }
View Full Code Here

TOP

Related Classes of org.jbpm.formapi.shared.api.items.ImageRolodexRepresentation

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.