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

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


        }
    }

    @Override
    public FormItemRepresentation getRepresentation() {
        TextAreaRepresentation rep = super.getRepresentation(new TextAreaRepresentation());
        rep.setCols(this.cols);
        rep.setId(this.id);
        rep.setName(this.name);
        rep.setRows(this.rows);
        rep.setValue(this.defaultValue);
        return rep;
    }
View Full Code Here


    public void populate(FormItemRepresentation rep) throws FormBuilderException {
        if (!(rep instanceof TextAreaRepresentation)) {
            throw new FormBuilderException(i18n.RepNotOfType(rep.getClass().getName(), "TextAreaRepresentation"));
        }
        super.populate(rep);
        TextAreaRepresentation trep = (TextAreaRepresentation) rep;
        this.cols = trep.getCols();
        this.id = trep.getId();
        this.name = trep.getName();
        this.rows = trep.getRows();
        this.defaultValue = trep.getValue();
        populate(this.area);
    }
View Full Code Here

TOP

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

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.