Examples of align()


Examples of org.apache.camel.dataformat.bindy.annotation.DataField.align()

                   
                    if (!datafield.delimiter().equals("")) {
                        result = result + datafield.delimiter();
                    } else {
                        // Get length of the field, alignment (LEFT or RIGHT), pad
                        String align = datafield.align();
                        char padCharField = datafield.paddingChar();
                        char padChar;

                        StringBuilder temp = new StringBuilder();
   
View Full Code Here

Examples of org.apache.camel.dataformat.bindy.annotation.DataField.align()

                    result = formatString(format, value);
                   
                    // Get length of the field, alignment (LEFT or RIGHT), pad
                    int fieldLength = datafield.length();
                    String align = datafield.align();
                    char paddCharField = datafield.paddingChar();
                    char paddChar;
                   
                    if (fieldLength > 0) {
                      
View Full Code Here

Examples of org.jfree.layouting.renderer.process.valign.VerticalAlignmentProcessor.align()

    final long contentAreaY1 = inlineRenderBox.getY() + insetTop;
    final RenderLength lineHeight = inlineRenderBox.getLineHeight();
    final ComputedLayoutProperties clp = inlineRenderBox.getComputedLayoutProperties();
    final RenderLength bcw = clp.getBlockContextWidth();
    processor.align (boxAlignContext, contentAreaY1,
        lineHeight.resolve(bcw.resolve(0)));
  }

  protected void finishOtherBox(final RenderBox box)
  {
View Full Code Here

Examples of org.jfree.layouting.renderer.process.valign.VerticalAlignmentProcessor.align()

    final long contentAreaY1 = inlineRenderBox.getY() + insetTop;
    final RenderLength lineHeight = inlineRenderBox.getLineHeight();
    final ComputedLayoutProperties clp = inlineRenderBox.getComputedLayoutProperties();
    final RenderLength bcw = clp.getBlockContextWidth();
    processor.align (boxAlignContext, contentAreaY1,
        lineHeight.resolve(bcw.resolve(0)));
  }

  protected void finishOtherBox(final RenderBox box)
  {
View Full Code Here

Examples of org.jfree.layouting.renderer.process.valign.VerticalAlignmentProcessor.align()

    final long contentAreaY1 = inlineRenderBox.getY() + insetTop;
    final RenderLength lineHeight = inlineRenderBox.getLineHeight();
    final ComputedLayoutProperties clp = inlineRenderBox.getComputedLayoutProperties();
    final RenderLength bcw = clp.getBlockContextWidth();
    processor.align (boxAlignContext, contentAreaY1,
        lineHeight.resolve(bcw.resolve(0)));
  }

  protected void finishOtherBox(RenderBox box)
  {
View Full Code Here

Examples of org.jnode.assembler.x86.X86BinaryAssembler.align()

                        + vmClass.getName(), Project.MSG_WARN);
                }
            }
        }
        os.writeRET(); // RET
        os.align(4096);

        initCallerObject.markEnd();
    }

    /**
 
View Full Code Here

Examples of org.sgx.yuigwt.yui.widget.panel.Panel.align()

    // api
    Panel panel2 = Y.newPanel((PanelConfig) PanelConfig.create().xy(10, 10).srcNode(parent.appendChild("<p></p>")).width("400px").render(true));
    panel2.headerContent("<h1>Panel header string</h1>");
    panel2.bodyContent(parent.appendChild("<p>Body <b>content</b> from an other node. Sl asdkljlksajd lfklaj serfjkjd slfj klajsdk fj klaj dsf. </p>"));
    panel2.footerContent("<i>small</i>");
    panel2.align(Align.create().node(parent).points(new Point[] { Point.create(0, 0), Point.create(0, 0) }));
    panel2.render(); // apply the align

    // now make this panel draggable by its header
    panel2.plug(Y.Plugin().Drag(), DragConfig.create().handles(new String[] { ".yui3-widget-hd" }));
View Full Code Here

Examples of simtools.diagram.DiagramComponent.align()

            }
            return;
        } else if (e.getSource() == bAlign) {
            DiagramComponent d = getActiveDiagram();
            if (d != null) {
                d.align();
            }
            return;
        } else if (e.getSource() == cbxGrid) {
            DiagramComponent d = getActiveDiagram();
            if (d == null) {
View Full Code Here

Examples of water.fvec.Vec.align()

    try {
      va = vactual.toEnum(); // always returns TransfVec
      vp = vpredict;
      // The vectors are from different groups => align them, but properly delete it after computation
      if (!va.group().equals(vp.group())) {
        vp = va.align(vp);
      }
      // compute thresholds, if not user-given
      if (thresholds != null) {
        sort(thresholds);
        if (ArrayUtils.minValue(thresholds) < 0) throw new IllegalArgumentException("Minimum threshold cannot be negative.");
View Full Code Here

Examples of water.fvec.Vec.align()

          vp = TransfVec.compose( (TransfVec) vp, vpmap, domain, false ); // delete original vp
        } else domain = actual_domain;
        // The vectors are from different groups => align them, but properly delete it after computation
        if (!va.group().equals(vp.group())) {
          avp = vp;
          vp = va.align(vp);
        }
        cm = new CM(domain.length).doAll(va,vp)._cm;
      } else {
        mse = new CM(1).doAll(vactual,vpredict).mse();
      }
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.