Package cli_fmw.main

Examples of cli_fmw.main.DelegatePrintable


    parCreator.setUpReport(null, options, null);

    try {
        for (int i = 0; i < list.size(); i++) {
            if (list.get(i) instanceof DelegatePrintable) {
                DelegatePrintable del = (DelegatePrintable) list.get(i);
                if (del instanceof SerRenLocal || del instanceof DiseaseLocal || del instanceof EmcLocal || del instanceof FollowupLocal) {
                    del.print(parCreator);
                } else {
                    CombinedReportCreator subCreator = parCreator.createCombinedReporter(getClass(), 2);
                    CombinedReportOptions ops = new CombinedReportOptions();
                    ops.leftMargin = 0;
                    ops.rightMargin = 0;
                    ops.topMargin = 0;
                    ops.bottomMargin = 0;
                    subCreator.setUpReport(null, ops, null);

                    FormReportCreator creator = subCreator.createFormReporter(PrintCreators.class, 1);
                    creator.createReport(new HashMap<String, Object>(), null);
                    creator.finish();

                    del.print(subCreator);
                    subCreator.finish();
                }
            }
        }
        parCreator.finish();
View Full Code Here

TOP

Related Classes of cli_fmw.main.DelegatePrintable

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.