Package reportgen.math.complex.generic

Examples of reportgen.math.complex.generic.MathExpressionGeneric


            }
        }
}//GEN-LAST:event_delBtnActionPerformed

    private void addBtnActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_addBtnActionPerformed
        MathExpressionGeneric generic = new MathExpressionGeneric(context);
        ComplexExpressionDialog dlg = new ComplexExpressionDialog(parent, generic);
        dlg.setVisible(true);
        if(dlg.isOK()) {
            lst.add(new OrderValue(generic));
            updateModel(lst.size()-1);
View Full Code Here


    }//GEN-LAST:event_downBtnActionPerformed

    private void editBtnActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_editBtnActionPerformed
        int index = mainTable.getSelectedRow();
        if(index != -1) {
            MathExpressionGeneric generic = lst.get(index).getValue();
            ComplexExpressionDialog dlg = new ComplexExpressionDialog(parent, generic);
            dlg.setVisible(true);
            updateModel(lst.size()-1);
        }
    }//GEN-LAST:event_editBtnActionPerformed
View Full Code Here

        } else if(tag.equals(MathExpressionEntityRef.TAG)) {
            express = new MathExpressionEntityRef(element,
                    cf.getChildContext(MathExpressionEntityRef.GROUP));

        } else if(tag.equals(MathExpressionGeneric.TAG)) {
            express = new MathExpressionGeneric(element,
                    cf.getChildContext(MathExpressionGeneric.GROUP));

        } else if(tag.equals(MathExpressionConditionBinary.TAG)) {
            express = new MathExpressionConditionBinary(element,
                    cf.getChildContext(MathExpressionConditionBinary.GROUP));
View Full Code Here

        List<QueryResultColumn> colProps = core.getColumns().getList();
        ResultsRow rr = new ResultsRow(colProps.size());
        // для каждой колонки получаем значение
        int i=0;
        for(QueryResultColumn col: colProps) {
            MathExpressionGeneric expession = col.getExpression();
            rr.setValue(i, expession.getValue(model));
            i++;
        }

        InlineCoreJavaList javacores = core.getResultInJavaList();
        if(javacores != null) {
View Full Code Here

    private final MathExpressionGeneric groupValue;
    private final RangeOrderList orderList;

    public ColRowRangeGroup(String title, RangeContext context) {
        super(title, context);
        groupValue = new MathExpressionGeneric(context);
        orderList = new RangeOrderList();
        titleExpression = new MathExpressionGeneric(context);
    }
View Full Code Here

            throws ReportException {
        super(element, context);

        Element child = element.getChild(MathExpressionGeneric.TAG);
        if(child != null) {
            groupValue = new MathExpressionGeneric(child, context);
        } else {
            groupValue  = new MathExpressionGeneric(context);
        }
        orderList = new RangeOrderList(element, context);
        titleExpression = loadTitleExpression(element, context);
    }
View Full Code Here

    public static final String TAG = "range";
    private final MathExpressionGeneric titleExpression;

    public ColRowRangeGeneric(String title, RangeContext context) {
        super(title, context);
        titleExpression = new MathExpressionGeneric(context);
    }
View Full Code Here

        }
    }

    protected MathExpressionGeneric loadTitleExpression(Element element,
            Context context) throws ReportException {
        MathExpressionGeneric value = null;
        Element titleRoot = element.getChild(TAG_EXTRATITLE);
        if(titleRoot != null) {
            Element child = titleRoot.getChild(MathExpressionGeneric.TAG);
            if(child != null) {
                value = new MathExpressionGeneric(child, getLocalContext());
            }
        }
        return (value != null) ?
            value :  new MathExpressionGeneric(getLocalContext());
    }
View Full Code Here

    public ColRowRangeCrossReport(String title, RangeContext context) {
        super(title, context);
        Context localContext = getLocalContext();
        crossCriteria = new MathExpressionConditions(localContext);
        titleExpression = new MathExpressionGeneric(localContext);
        orderList = new RangeOrderList();
    }
View Full Code Here

    private final MathExpressionGeneric value;
    private boolean invert;

    public OrderValue(Context context) {
        value = new MathExpressionGeneric(context);
    }
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.