Package reportgen.math.complex.generic

Examples of reportgen.math.complex.generic.MathExpressionGeneric


    public OrderValue(Element el, Context context) throws ReportException {
        invert = getBoolAttribute(el, ATTR_INVERT, false, false);

        Element child = el.getChild(MathExpressionGeneric.TAG);
        if(child != null) {
            value = new MathExpressionGeneric(child, context);
        } else {
            value = new MathExpressionGeneric(context);
        }
    }
View Full Code Here


        this.colReference = colReference;
        this.rowReference = rowReference;
        context = new ContextSum(colReference.getLocalContext(),
                new Context[] {colReference.getLocalContext(), rowReference.getLocalContext()});
       
        this.value = new  MathExpressionGeneric(context);
        this.style = new StyleDefault();
    }
View Full Code Here

        restoreState(element);
    }

    public void restoreState(Element element) throws ReportException {

        MathExpressionGeneric aValue;
        Element child = element.getChild(MathExpressionGeneric.TAG);
        if(child != null) {
            aValue = new MathExpressionGeneric(child, context);
        } else {
            aValue = new MathExpressionGeneric(context);
        }

        AggregateFunction aFunction = null;
        String mnemonic = getStringAttribute(element, ATTR_FUNC, null, false);
        if(mnemonic == null) {
            aFunction = AggregateFunction.ASIS;
        } else {
            aFunction = context.getAggregFunction(mnemonic, aValue.getCls());
        }

        style = new StyleAdaptor(element).getStyle();
        value = aValue;
        function = aFunction;
View Full Code Here

    private final Context context;

    public QueryResultColumn(Context context) {
        this.context = context;
        properties = new ResultColumn();
        expression = new MathExpressionGeneric(context);
    }
View Full Code Here

        expression = new MathExpressionGeneric(context);
    }

    public QueryResultColumn(Element element, Context context) throws ReportException {
        this.context = context;
        expression = new MathExpressionGeneric(
                get(element, MathExpressionGeneric.TAG),
                context
        );
        properties = new ResultColumn(element, context, expression.getCls());
    }
View Full Code Here

TOP

Related Classes of reportgen.math.complex.generic.MathExpressionGeneric

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.