Examples of CSSConstant


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

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

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

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

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

public class TextAreaVerticalAlignMapper extends OneOfConstantsMapper
{
  public TextAreaVerticalAlignMapper ()
  {
    super (BoxStyleKeys.BOX_VERTICAL_ALIGN);
    addMapping("top", new CSSConstant("top"));
    addMapping("bottom", new CSSConstant("bottom"));
    addMapping("middle", new CSSConstant("middle"));
    addMapping("justify", new CSSConstant("justify"));
  }
View Full Code Here

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

{

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

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

{

    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

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

{

    public TextAreaVerticalAlignMapper()
    {
        super(BoxStyleKeys.BOX_VERTICAL_ALIGN);
        addMapping("top", new CSSConstant("top"));
        addMapping("bottom", new CSSConstant("bottom"));
        addMapping("middle", new CSSConstant("middle"));
        addMapping("justify", new CSSConstant("justify"));
    }
View Full Code Here

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

  {
    LibLayoutBoot.getInstance().start();
    DefaultLayoutContext layoutContext =
            new DefaultLayoutContext
                    (new ContextId(0, 0,0), "Bah", "buh", null, new AttributeMap());
    layoutContext.getStyle().setValue(FontStyleKeys.FONT_FAMILY, new CSSConstant("helvetica"));
    final FontSpecification fontSpecification = layoutContext.getFontSpecification();
    fontSpecification.setFontFamily("Arial");
    fontSpecification.setFontSize(12);

    final FlowHtmlOutputProcessor out =
View Full Code Here

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

  {
    if (backgroundOrigin == null)
    {
      return BackgroundOrigin.PADDING;
    }
    final CSSConstant retval = (CSSConstant)
            backgroundOrigin.get(i % backgroundOrigin.size());
    if (retval == null)
    {
      return BackgroundOrigin.PADDING;
    }
View Full Code Here

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

  {
    if (backgroundClip == null)
    {
      return BackgroundClip.BORDER;
    }
    final CSSConstant retval = (CSSConstant)
            backgroundClip.get(i % backgroundClip.size());
    if (retval == null)
    {
      return BackgroundClip.BORDER;
    }
View Full Code Here

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

  {
    if (backgroundAttachment == null)
    {
      return BackgroundAttachment.SCROLL;
    }
    final CSSConstant retval = (CSSConstant)
            backgroundAttachment.get(i % backgroundAttachment.size());
    if (retval == null)
    {
      return BackgroundAttachment.SCROLL;
    }
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.