Package org.jbpm.formapi.common.panels

Examples of org.jbpm.formapi.common.panels.ImageRolodexPanel


    }

    @Override
    public Widget cloneDisplay(Map<String, Object> formData) {
        Object input = getInputValue(formData);
        ImageRolodexPanel panel = ((ImageRolodexFormItem) cloneItem()).panel;
        if (input != null) {
            if (input.getClass().isArray()) {
                Object[] arr = (Object[]) input;
                for (Object obj : arr) {
                    panel.add(createCard(obj.toString()));
                }
            } else if (input instanceof Collection) {
                Collection<?> col = (Collection<?>) input;
                for (Object obj : col) {
                    panel.add(createCard(obj.toString()));
                }
            }
        }
        return panel;
    }
View Full Code Here

TOP

Related Classes of org.jbpm.formapi.common.panels.ImageRolodexPanel

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.