Examples of addText()


Examples of it.stefanobertini.zebra.cpcl.labelmode.Multiline.addText()

    @Test
    public void test() {

  Multiline command = new Multiline(47, TextRotation.horizontal, new Font("4", 0), new Position(10, 20));
  command.addText("1st line of text");
  command.addText("2nd line of text");
  command.addText(":");
  command.addText("Nth line of text");

  CommandOutputBuilder output = new CommandOutputBuilder();
View Full Code Here

Examples of net.aufdemrand.denizen.utilities.DenizenMapRenderer.addText()

            }
            if (image != null)
                dmr.addImage(x.asInt(), y.asInt(), new File(DenizenAPI.getCurrentInstance().getDataFolder(),
                        image.asString()).getPath(), resize.asBoolean());
            else if (text != null)
                dmr.addText(x.asInt(), y.asInt(), text.asString());
        }

    }
}
View Full Code Here

Examples of net.sf.jpluck.plucker.Paragraph.addText()

                p.addListBullet(cascadedStyle.getMarginLeft());
                style.setMarginLeft(ser.scaledValue(6));
                ser.marginApplied();
            }
        } else {
            p.addText(Text.createPalmMidDot()).addText(" ");
        }
    }

    public void end(HTMLSerializer ser, StyledElement elem) {
        ser.addParagraph(0);
View Full Code Here

Examples of net.sf.jpluck.plucker.TableCell.addText()

        TableRecord table = new TableRecord("table", 1, Color.GREEN);

        TableRow row = table.addRow();
        TableCell cell = row.addCell();
        cell.addText("nw");
        cell=row.addCell();
        cell.addText("ne");

        row = table.addRow();
    cell = row.addCell();
View Full Code Here

Examples of net.sf.laja.template.data.StringExp.addText()

  @Override
  public IImportcmd createImportcmd(ITemplate itemplate) {
    Template template = (Template) itemplate;
    StringExp filename = new StringExp();
    filename.addText(source.getName());
    return new Importcmd(new ImportedFiles(filename), templateTextWriter, source, namespaces, classes, template.getContext(), groovyClassLoader);
  }

  @Override
  public IMacro createMacro(ITemplate itemplate) {
View Full Code Here

Examples of nl.captcha.Captcha.Builder.addText()

  }

  public BufferedImage crateImage() {
    Builder captcha = new Captcha.Builder(width, height);
    if (this.wordRenderer == null) {
      captcha.addText(textProducer);
    } else {
      captcha.addText(textProducer, this.wordRenderer);
    }

    if (producers != null && !producers.isEmpty()) {
View Full Code Here

Examples of org.apache.camel.language.simple.ast.LiteralNode.addText()

            // if no token was created then its a character/whitespace/escaped symbol
            // which we need to add together in the same image
            if (imageToken == null) {
                imageToken = new LiteralExpression(token);
            }
            imageToken.addText(token.getText());
        }

        // append any leftover image tokens (when we reached eol)
        if (imageToken != null) {
            nodes.add(imageToken);
View Full Code Here

Examples of org.apache.camel.language.simple.ast.SimpleFunctionExpression.addText()

        }

        // okay there is no function tokens, then try to parse it as a simple function expression
        SimpleToken token = new SimpleToken(new SimpleTokenType(TokenType.functionStart, expression), 0);
        SimpleFunctionExpression function = new SimpleFunctionExpression(token);
        function.addText(expression);
        return function.createExpression(expression, false);
    }

}
View Full Code Here

Examples of org.apache.tools.ant.RuntimeConfigurable.addText()

         * @see ProjectHelper#addText(Project,java.lang.Object,char[],int,int)
         */
        public void characters(char[] buf, int start, int count,
                               AntXMLContext context) throws SAXParseException {
            RuntimeConfigurable wrapper = context.currentWrapper();
            wrapper.addText(buf, start, count);
        }

        /**
         * Handles the start of an element within a target. Task containers
         * will always use another task handler, and all other tasks
View Full Code Here

Examples of org.apache.tools.ant.taskdefs.Echo.addText()

       
        File checksumFile = new File(targetFile.getParentFile(), targetFile.getName()+".sha1");
       
        echo.setFile(checksumFile);
        String checksumValue = getProject().getProperty(property);
        echo.addText(checksumValue);
        echo.execute();
    }

    private void writePom(String pomText, File pomFile) {
        Echo echo = new Echo();
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.