Package org.jfree.layouting.input.style.values

Examples of org.jfree.layouting.input.style.values.CSSValueList


      }
      value = CSSValueFactory.parseComma(value);
      count += 1;
    }

    return new CSSValueList(list);
  }
View Full Code Here


    final CSSValue value = layoutContext.getValue(key);
    CSSStringValue lineEllipsis = null;
    CSSStringValue blockEllipsis = null;
    if (value instanceof CSSValueList)
    {
      final CSSValueList vlist = (CSSValueList) value;
      if (vlist.getLength() == 2)
      {
        lineEllipsis = filterString(vlist.getItem(0));
        blockEllipsis = filterString(vlist.getItem(1));
      }
      else if (vlist.getLength() == 1)
      {
        lineEllipsis = filterString(vlist.getItem(0));
        blockEllipsis = filterString(vlist.getItem(0));
      }
    }
    if (lineEllipsis == null)
    {
      lineEllipsis = new CSSStringValue(CSSStringType.STRING, "..");
View Full Code Here

      addToResultList(values, firstPosition, secondPosition);
      value = CSSValueFactory.parseComma(value);
    }

    return new CSSValueList(values);
  }
View Full Code Here

  {
    if (value.getLexicalUnitType() == LexicalUnit.SAC_IDENT)
    {
      if ("none".equalsIgnoreCase(value.getStringValue()))
      {
        return new CSSValueList (new CSSValue[]{TextAutoSpace.NONE});
      }
    }
    return super.createValue(name, value);
  }
View Full Code Here

  {
    if (value.getLexicalUnitType() == LexicalUnit.SAC_IDENT)
    {
      if (value.getStringValue().equalsIgnoreCase("none"))
      {
        return new CSSValueList (new CSSValue[]{KerningMode.NONE});
      }
    }
    return super.createValue(name, value);
  }
View Full Code Here

      return attrFunction.evaluate
              (getLayoutProcess(), element, (CSSFunctionValue) value);
    }
    else if (value instanceof CSSValueList)
    {
      final CSSValueList list = (CSSValueList) value;
      final ArrayList retValus = new ArrayList();
      final int length = list.getLength();
      for (int i = 0; i < length; i++)
      {
        final CSSValue item = list.getItem(i);
        retValus.add(resolveValue(item, element));
      }
      return new CSSValueList(retValus);
    }
    else if (value instanceof CSSValuePair)
    {
      CSSValuePair pair = (CSSValuePair) value;
      return new CSSValuePair
View Full Code Here

      return true;
    }

    if (value instanceof CSSValueList)
    {
      final CSSValueList list = (CSSValueList) value;
      final int length = list.getLength();
      for (int i = 0; i < length; i++)
      {
        final CSSValue item = list.getItem(i);
        if (containsAttrFunction(item))
        {
          return true;
        }
      }
View Full Code Here

    {
      return false;
    }
    if (value instanceof CSSValueList)
    {
      final CSSValueList list = (CSSValueList) value;
      if (list.getLength() == 0)
      {
        return false;
      }
      for (int i = 0; i < list.getLength(); i++)
      {
        CSSValue val = list.getItem(i);
        if (val instanceof ContentsToken)
        {
          return true;
        }
      }
View Full Code Here

    }



    CSSValueList list = (CSSValueList) value;

    final int length = list.getLength();

    if (length == 0)

    {

      return;

    }



    for (int i = 0; i < length; i++)

    {

      CSSValue item = list.getItem(i);

      if (item instanceof CSSConstant == false)

      {
View Full Code Here

    {



      CSSValueList list = (CSSValueList) cssValue;

      for (int i = 0; i < list.getLength(); i++)

      {

        CSSValue item = list.getItem(i);

        if (item instanceof CSSConstant)

        {
View Full Code Here

TOP

Related Classes of org.jfree.layouting.input.style.values.CSSValueList

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.