Package org.jfree.report

Examples of org.jfree.report.DataFlags


   * @param col the item index.
   * @return the name.
   */
  public String getColumnName(int col)
  {
    final DataFlags flag = getFlags(col);
    if (flag == null)
    {
      return null;
    }
    return flag.getName();
  }
View Full Code Here


  {
    final LazyNameMap.NameCarrier idx = nameCache.get(col);
    if (idx != null)
    {
      final int idxVal = idx.getValue();
      final DataFlags df = data[idxVal];
      if (df != null)
      {
        return df;
      }
    }
View Full Code Here

    return null;
  }

  public DataFlags getFlags(int col)
  {
    final DataFlags df = data[col];
    if (df != null)
    {
      return df;
    }
    return oldData[col];
View Full Code Here

      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

    final DataRow dr = getDataRow();
    final String[] columns = getField();
    for (int i = 0; i < columns.length; i++)
    {
      String column = columns[i];
      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

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

    {
      // 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

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

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

   * @param col the item index.
   * @return the name.
   */
  public String getColumnName(final int col)
  {
    final DataFlags flag = getFlags(col);
    if (flag == null)
    {
      return null;
    }
    return flag.getName();
  }
View Full Code Here

TOP

Related Classes of org.jfree.report.DataFlags

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.