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

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


  {
    if (value.getLexicalUnitType() == LexicalUnit.SAC_IDENT)
    {
      if ("none".equalsIgnoreCase(value.getStringValue()))
      {
        return new CSSConstant("none");
      }
      return null;
    }
    if (value.getLexicalUnitType() == LexicalUnit.SAC_URI)
    {
View Full Code Here


*/
public class DropInitialBeforeAlignReadHandler extends AlignmentBaselineReadHandler
{
  public DropInitialBeforeAlignReadHandler()
  {
    addValue(new CSSConstant("caps-height"));
  }
View Full Code Here

public class DropInitialValueReadHandler extends OneOfConstantsReadHandler
{
  public DropInitialValueReadHandler()
  {
    super(false);
    addValue(new CSSConstant("initial"));
  }
View Full Code Here

        return fallback;
      }
      return null;
    }

    final CSSConstant constant = (CSSConstant) value;
    final CSSValue resolvedValue = lookupValue(constant);
    if (resolvedValue != null)
    {
//      layoutContext.setValue(key, resolvedValue);
      return resolvedValue;
View Full Code Here

  {
    if (value.getLexicalUnitType() == LexicalUnit.SAC_IDENT)
    {
      if ("none".equalsIgnoreCase(value.getStringValue()))
      {
        return new CSSConstant ("none");
      }
    }
    return CSSValueFactory.createNumericValue(value);
  }
View Full Code Here

  {
    if (value.getLexicalUnitType() == LexicalUnit.SAC_IDENT)
    {
      if ("none".equalsIgnoreCase(value.getStringValue()))
      {
        return new CSSConstant ("none");
      }
      return null;
    }
    return super.createValue(name, value);
  }
View Full Code Here

    if (width != null)
    {
      unit = unit.getNextLexicalUnit();
    }

    final CSSConstant style;
    if (unit != null)
    {
      style = (CSSConstant) lookupValue(unit);
      if (style != null)
      {
View Full Code Here

  protected boolean resolveItem(final LayoutProcess process,
                                final LayoutElement currentNode,
                                final StyleKey key, final int index,
                                final CSSConstant item)
  {
    final CSSConstant bvalue = (CSSConstant) lookupValue(item);
    final BackgroundSpecification backgroundSpecification =
            currentNode.getLayoutContext().getBackgroundSpecification();
    backgroundSpecification.setBackgroundClip(index, bvalue);
    return true;
  }
View Full Code Here

public class FontPitchMapper extends OneOfConstantsMapper
{
  public FontPitchMapper ()
  {
    super (FontStyleKeys.FONT_PITCH);
    addMapping("variable", new CSSConstant("variable"));
    addMapping("fixed", new CSSConstant("fixed"));
  }
View Full Code Here

public class VerticalAlignMapper extends OneOfConstantsMapper
{
  public VerticalAlignMapper ()
  {
    super (LineStyleKeys.VERTICAL_ALIGN);
    addMapping("top", new CSSConstant("top"));
    addMapping("bottom", new CSSConstant("bottom"));
    addMapping("middle", new CSSConstant("middle"));
    addMapping("baseline", new CSSConstant("baseline"));
    addMapping("auto", CSSAutoValue.getInstance());
  }
View Full Code Here

TOP

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

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.