Examples of VerticalAlignment


Examples of com.positive.charts.util.VerticalAlignment

        area.height);
    g2.setFont(this.font);
    g2.setForeground(this.paint);
    TextBlockAnchor anchor = null;
    float y = 0.0f;
    final VerticalAlignment verticalAlignment = this.getVerticalAlignment();
    if (verticalAlignment == VerticalAlignment.TOP) {
      y = titleArea.y;
      anchor = TextBlockAnchor.TOP_RIGHT;
    } else if (verticalAlignment == VerticalAlignment.BOTTOM) {
      y = (titleArea.y + titleArea.height);
View Full Code Here

Examples of com.smartgwt.client.types.VerticalAlignment

    return new Coordinate(lat, lon);
  }

  private String getVerticalAlignmentString() {
    // No center position, just top and bottom:
    VerticalAlignment align = getVerticalAlignment();
    if (align != null && align.equals(VerticalAlignment.TOP)) {
      return "top";
    }
    return "bottom";
  }
View Full Code Here

Examples of com.smartgwt.client.types.VerticalAlignment

    return new Coordinate(lat, lon);
  }

  private String getVerticalAlignmentString() {
    // No center position, just top and bottom:
    VerticalAlignment align = getVerticalAlignment();
    if (align != null && align.equals(VerticalAlignment.TOP)) {
      return "top";
    }
    return "bottom";
  }
View Full Code Here

Examples of limelight.styles.VerticalAlignment

    return new StaticYCoordinateValue(IntegerAttributeCompiler.convertToInt(value));
  }

  private YCoordinateValue attemptAlignedAttribute(String value)
  {
    VerticalAlignment alignment = VerticalAlignmentAttributeCompiler.parse(value);
    if(alignment != null)
      return new AlignedYCoordinateValue(alignment);
    else
      return null;
  }
View Full Code Here

Examples of limelight.styles.VerticalAlignment

public class VerticalAlignmentAttributeCompiler extends StyleCompiler
{
  public StyleValue compile(Object value)
  {
    VerticalAlignment alignment = parse(value);
    if(alignment != null)
      return new SimpleVerticalAlignmentValue(alignment);
    else
      throw makeError(value);
  }
View Full Code Here

Examples of org.apache.pivot.wtk.VerticalAlignment

        if (horizontalAlignment != null) {
            boxPane.getStyles().put("horizontalAlignment", horizontalAlignment);
        }

        VerticalAlignment verticalAlignment = null;
        if (verticalAlignmentTopButton.isSelected()) {
            verticalAlignment = VerticalAlignment.TOP;
        } else if (verticalAlignmentBottomButton.isSelected()) {
            verticalAlignment = VerticalAlignment.BOTTOM;
        } else if (verticalAlignmentCenterButton.isSelected()) {
View Full Code Here

Examples of org.apache.pivot.wtk.VerticalAlignment

        if (horizontalAlignment != null) {
            boxPane.getStyles().put("horizontalAlignment", horizontalAlignment);
        }

        VerticalAlignment verticalAlignment = null;
        if (verticalAlignmentTopButton.isSelected()) {
            verticalAlignment = VerticalAlignment.TOP;
        } else if (verticalAlignmentBottomButton.isSelected()) {
            verticalAlignment = VerticalAlignment.BOTTOM;
        } else if (verticalAlignmentCenterButton.isSelected()) {
View Full Code Here

Examples of org.docx4j.model.properties.run.VerticalAlignment

    if (rPr.getU() != null)
      properties.add(new Underline(rPr.getU() ) );
//    if (rPr.getVanish() != null)
//      dest.setVanish(rPr.getVanish());
    if (rPr.getVertAlign() != null)
      properties.add(new VerticalAlignment(rPr.getVertAlign()) );
//    if (rPr.getW() != null)
//      dest.setW(rPr.getW());
//    if (rPr.getWebHidden() != null)
//      dest.setWebHidden(rPr.getWebHidden());
   
View Full Code Here

Examples of org.docx4j.model.properties.run.VerticalAlignment

    if (rPr.getU() != null)
      properties.add(new Underline(rPr.getU() ) );
//    if (rPr.getVanish() != null)
//      dest.setVanish(rPr.getVanish());
    if (rPr.getVertAlign() != null)
      properties.add(new VerticalAlignment(rPr.getVertAlign()) );
//    if (rPr.getW() != null)
//      dest.setW(rPr.getW());
//    if (rPr.getWebHidden() != null)
//      dest.setWebHidden(rPr.getWebHidden());
   
View Full Code Here

Examples of org.docx4j.model.properties.run.VerticalAlignment

      } else if (name.equals(VerticalAlignment.CSS_NAME)) {
          //default value
          if(value.getCssText().equals("baseline")){
              return null;
          }
          return new VerticalAlignment(value);
      }
     
      // Paragraph properties
      if (name.equals(Indent.CSS_NAME )) {
        // left
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.