Examples of JROlapCell


Examples of net.sf.jasperreports.olap.result.JROlapCell

            return matches;
        }

        public Object value()
        {
            JROlapCell cell = olapResult.getCell(positions);

            if (cell != null && cell.isError())
            {
                throw new JRRuntimeException("OLAP cell calculation returned error.");
            }

            Object value;
            if (cell == null || cell.isNull())
            {
                value = null;
            }
            else if (formatted)
            {
                value = cell.getFormattedValue();
            }
            else
            {
                value = cell.getValue().toString();
            }

            return value;
        }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.