Package reportgen.ren.report.extendedformat.range.group

Examples of reportgen.ren.report.extendedformat.range.group.ColRowRangeGroup


    @Override
    public Object getValue() {
        String txt = "";

        if(range instanceof ColRowRangeGroup) {
            ColRowRangeGroup group = (ColRowRangeGroup) range;
            boolean valid = isValid(group.getGroupValue(), false);
            if(valid) {
                txt += "группа ";
            } else {
                txt += "ГР! ";
            }
View Full Code Here


        ColRowRange range = null;
        if(type == GENERIC) {
            range = new ColRowRangeGeneric(newName, list.getContext());
        } else if(type == GROUP) {
            range = new ColRowRangeGroup(newName, list.getContext());
        } else if(type == CROSS) {
            range = new ColRowRangeCrossReport(newName, list.getContext());
        } else {
            return;
        }
View Full Code Here

    }// </editor-fold>//GEN-END:initComponents

    private void initPanels()  {

        if(range instanceof ColRowRangeGroup) {
            ColRowRangeGroup group = (ColRowRangeGroup) range;
            mainTab.add("Группировка", group.getGroupValue().getPanel(this));

        } else if(range instanceof ColRowRangeCrossReport) {
            ColRowRangeCrossReport cross = (ColRowRangeCrossReport) range;
            mainTab.add("Кроссотчет", new CrossReportPanel(this, cross));
        }
View Full Code Here

    protected ColRowRange loadChild(Element el, Context prototype) throws ReportException {
        if(el.getName().equals(ColRowRangeGeneric.TAG)) {
            return new ColRowRangeGeneric(el, (RangeContext)prototype);

        } else if(el.getName().equals(ColRowRangeGroup.TAG)) {
            return new ColRowRangeGroup(el, (RangeContext)prototype);

        } else if(el.getName().equals(ColRowRangeCrossReport.TAG)) {
            //грязный хак
            return new ColRowRangeCrossReport(el, (RangeContext)prototype);
        }
View Full Code Here

TOP

Related Classes of reportgen.ren.report.extendedformat.range.group.ColRowRangeGroup

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.