Examples of DataFlags


Examples of org.jfree.report.DataFlags

        final String valueType = (String) attributeMap.getAttribute(OfficeNamespaces.OFFICE_NS, FormatValueUtility.VALUE_TYPE);
        attributeMap.setAttribute(OfficeNamespaces.TABLE_NS, OfficeToken.STYLE_NAME, getDisplayStyleName((Section) element, definedStyle));

        try
        {
            final DataFlags value = computeValue();
            if (value != null)
            {
                FormatValueUtility.applyValueForCell(value.getValue(), attributeMap,valueType);
            }
        }
        catch (Exception e)
        {
        // ignore ..
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

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

Examples of org.jfree.report.DataFlags

  {
    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

Examples of org.jfree.report.DataFlags

    return null;
  }

  public DataFlags getFlags(int col)
  {
    final DataFlags df = data[col];
    if (df != null)
    {
      return df;
    }
    return oldData[col];
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));
      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

  public Type resolveReferenceType(Object name)
  {
    try
    {
      final DataFlags flags = dataRow.getFlags(String.valueOf(name));
      if (flags != null)
      {
        if (flags.isDate())
        {
          return DateTimeType.DATE_TYPE;
        }
        if (flags.isNumeric())
        {
          return NumberType.GENERIC_NUMBER;
        }
        return TextType.TYPE;
      }
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.