Examples of DataFlags


Examples of org.jfree.report.DataFlags

        for (final Iterator iter = masterfields.iterator(); iter.hasNext();)
        {
            final String master = (String) iter.next();
            try
            {
                final DataFlags flags = view.getFlags(master);
                if (flags != null && flags.isChanged())
                {
                    return true;
                }
            }
            catch (DataSourceException e)
View Full Code Here

Examples of org.jfree.report.DataFlags

            for (final Iterator iter = masterfields.iterator(); iter.hasNext();)
            {
                final String master = (String) iter.next();
                try
                {
                    final DataFlags flags = view.getFlags(master);
                    if (flags != null)
                    {
                        values.add(flags.getValue());
                    }
                }
                catch (DataSourceException e)
                {
                    // ignore .. assume that the reference has not changed.
View Full Code Here

Examples of org.jfree.report.DataFlags

  public boolean isReferenceDirty(final Object name) throws ContextEvaluationException
  {
    try
    {
      final DataFlags flags = dataRow.getFlags(String.valueOf(name));
      if (flags == null)
      {
        throw new ContextEvaluationException
            (new LibFormulaErrorValue(LibFormulaErrorValue.ERROR_REFERENCE_NOT_RESOLVABLE));
      }
      return flags.isChanged();
    }
    catch(Exception e)
    {
      throw new ContextEvaluationException
          (new LibFormulaErrorValue(LibFormulaErrorValue.ERROR_REFERENCE_NOT_RESOLVABLE));
View Full Code Here

Examples of org.jfree.report.DataFlags

      final String columnName = reportDataRow.getColumnName(currentColumn);
      target.processText(columnName);
    }
    else if ("value".equals(content.getItem()))
    {
      final DataFlags flags = reportDataRow.getFlags(currentColumn);
      target.processContent(flags);
    }
    else
    {
      throw new ReportProcessingException("Invalid definition: Content-Item with no valid type");
View Full Code Here

Examples of org.jfree.report.DataFlags

    final DataRow dr = getDataRow();
    final String[] columns = getField();
    for (int i = 0; i < columns.length; i++)
    {
      final String column = columns[i];
      final DataFlags df = dr.getFlags(column);
      if (df == null)
      {
        // invalid column or invalid implementation ...
        continue;
      }
      if (df.isChanged())
      {
        //Log.debug ("Field: " + df.getName() + " has changed to " + df.getValue());
        return Boolean.TRUE;
      }
    }
View Full Code Here

Examples of org.jfree.report.DataFlags

  public boolean isReferenceDirty(Object name) throws ContextEvaluationException
  {
    try
    {
      final DataFlags flags = dataRow.getFlags(String.valueOf(name));
      return flags.isChanged();
    }
    catch(Exception e)
    {
      throw new ContextEvaluationException
          (new LibFormulaErrorValue(LibFormulaErrorValue.ERROR_REFERENCE_NOT_RESOLVABLE));
View Full Code Here

Examples of org.jfree.report.DataFlags

    // oh fine, a new one ...
    // step 1: Search for a free slot
    for (int i = 0; i < length; i++)
    {
      DataFlags dataFlags = data[i];
      if (dataFlags == null)
      {
        data[i] = flagedValue;
        nameCache.setValue(name, i);
        return;
View Full Code Here

Examples of org.jfree.report.DataFlags

    {
      // A new data item, not known before ...
      return true;
    }

    final DataFlags dataFlags = oldData[onc.getValue()];
    if (dataFlags == null)
    {
      return true;
    }
    return ObjectUtilities.equal(dataFlags.getValue(), newValue) == false;
  }
View Full Code Here

Examples of org.jfree.report.DataFlags

   * @return the value.
   * @throws IllegalStateException if the datarow detected a deadlock.
   */
  public Object get(int col) throws DataSourceException
  {
    final DataFlags flag = getFlags(col);
    if (flag == null)
    {
      return null;
    }
    return flag.getValue();
  }
View Full Code Here

Examples of org.jfree.report.DataFlags

   * @return the value.
   * @throws IllegalStateException if the datarow detected a deadlock.
   */
  public Object get(String col) throws DataSourceException
  {
    final DataFlags flag = getFlags(col);
    if (flag == null)
    {
      return null;
    }
    return flag.getValue();
  }
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.