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

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


        }
    }

    @Override
    public FormItemRepresentation getRepresentation() {
        RadioButtonRepresentation rep = super.getRepresentation(new RadioButtonRepresentation());
        rep.setId(this.id);
        rep.setName(this.name);
        rep.setSelected(this.selected);
        rep.setValue(this.value);
        return rep;
    }
View Full Code Here


    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();
        this.selected = rrep.getSelected();
        this.value = rrep.getValue();
        populate(this.button);
    }
View Full Code Here

TOP

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

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.