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

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


        }
    }

    @Override
    public FormItemRepresentation getRepresentation() {
        AudioRepresentation rep = super.getRepresentation(new AudioRepresentation());
        rep.setAudioUrl(this.audioUrl);
        rep.setCssClassName(this.cssClassName);
        rep.setDataType(this.dataType);
        rep.setId(this.id);
        return rep;
    }
View Full Code Here


    public void populate(FormItemRepresentation rep) throws FormBuilderException {
        if (!(rep instanceof AudioRepresentation)) {
            throw new FormBuilderException(i18n.RepNotOfType(rep.getClass().getName(), "AudioRepresentation"));
        }
        super.populate(rep);
        AudioRepresentation arep = (AudioRepresentation) rep;
        this.audioUrl = arep.getAudioUrl();
        this.cssClassName = arep.getCssClassName();
        this.id = arep.getId();
        this.dataType = arep.getDataType();

        populate(this.audio);
    }
View Full Code Here

TOP

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

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.