Examples of addTitle()


Examples of ChartDirector.XYChart.addTitle()

        c.setPlotArea(55, 62, 520, 175, 0xffffff, -1, -1, 0xcccccc, 0xcccccc);
        c.setClipping();

        // Add a title to the chart using 15 pts Times New Roman Bold Italic font, with a light
        // grey (dddddd) background, black (000000) border, and a glass like raised effect.
        c.addTitle("Realtime Chart Demonstration", "Times New Roman Bold Italic", 15).setBackground(0xdddddd, 0x000000, Chart.glassEffect());

        // Add a legend box at the top of the plot area with 9pts Arial Bold font. We set the
        // legend box to the same width as the plot area and use grid layout (as opposed to
        // flow or top/down layout). This distributes the 3 legend icons evenly on top of the
        // plot area.
View Full Code Here

Examples of ChartDirector.XYChart.addTitle()

        c.setPlotArea(55, 62, 520, 175, 0xffffff, -1, -1, 0xcccccc, 0xcccccc);
        c.setClipping();

        // Add a title to the chart using 15 pts Times New Roman Bold Italic font, with a light
        // grey (dddddd) background, black (000000) border, and a glass like raised effect.
        c.addTitle("Realtime Chart Demonstration", "Times New Roman Bold Italic", 15).setBackground(0xdddddd, 0x000000, Chart.glassEffect());

        // Add a legend box at the top of the plot area with 9pts Arial Bold font. We set the
        // legend box to the same width as the plot area and use grid layout (as opposed to
        // flow or top/down layout). This distributes the 3 legend icons evenly on top of the
        // plot area.
View Full Code Here

Examples of ca.nengo.ui.models.tooltips.TooltipBuilder.addTitle()

    String toolTipTitle = getFullName();

    TooltipBuilder tooltipBuilder = new TooltipBuilder(toolTipTitle);
    if (isModelBusy()) {

      tooltipBuilder.addTitle("Currently busy");

    } else {

      constructTooltips(tooltipBuilder);
    }
View Full Code Here

Examples of com.itextpdf.text.Document.addTitle()

            /* Add MTAMS LOGO */
            String url = FacesContext.getCurrentInstance().getExternalContext().getRealPath("resources/img/logo.PNG");
            Image image = Image.getInstance(url);
            document.add(image);

            document.addTitle("MTAMS - Application");
            document.add(new Paragraph("Report generated by: " + System.getProperty("user.name") + ", " + new Date()));

            /* Add PDF Content */
            pdfContent(document);
            document.close();
View Full Code Here

Examples of com.itextpdf.text.Document.addTitle()

        /* Add MTAMS LOGO */
        String url = FacesContext.getCurrentInstance().getExternalContext().getRealPath("resources/img/logo.PNG");
        Image image = Image.getInstance(url);
        document.add(image);

        document.addTitle("MTAMS - Application");
        document.add(new Paragraph("Report generated by: " + System.getProperty("user.name") + ", " + new Date()));

        /* Add PDF Content */
        pdfContent(document);
        document.close();
View Full Code Here

Examples of com.itextpdf.text.Document.addTitle()

        /* Add MTAMS LOGO */
        String url = FacesContext.getCurrentInstance().getExternalContext().getRealPath("resources/img/logo.PNG");
        Image image = Image.getInstance(url);
        document.add(image);

        document.addTitle("MTAMS - Application");
        document.add(new Paragraph("Report generated by: " + System.getProperty("user.name") + ", " + new Date()));

        /* Add PDF Content */
        pdfContent(document);
        document.close();
View Full Code Here

Examples of com.itextpdf.text.Document.addTitle()

        String fileName = "xmp_metadata_automatic.pdf";
        // step 1
        Document document = new Document();
        // step 2
        PdfWriter writer = PdfWriter.getInstance(document, new FileOutputStream(OUT_FOLDER + fileName));
        document.addTitle("Hello World example");
        document.addSubject("This example shows how to add metadata & XMP");
        document.addKeywords("Metadata, iText, step 3");
        document.addCreator("My program using 'iText'");
        document.addAuthor("Bruno Lowagie & Paulo Soares");
        writer.createXmpMetadata();
View Full Code Here

Examples of com.itextpdf.text.Document.addTitle()

    Document document = new Document(rect);
    OutputStream out = new FileOutputStream(filename);
    try {
      PdfWriter writer = PdfWriter.getInstance(document, out);
      document.addAuthor("Daniel Velten");
      document.addTitle(title);
      document.open();
     
      for (JFreeChart chart : charts) {
        addChartToPDF(chart, rect, writer);       
        document.newPage();
View Full Code Here

Examples of com.itextpdf.text.Document.addTitle()

    Document document = new Document(rect);
    OutputStream out = new FileOutputStream(filename);
    try {
      PdfWriter writer = PdfWriter.getInstance(document, out);
      document.addAuthor("Daniel Velten");
      document.addTitle(title);
      document.open();
     
      for (int i=0; i<2;i++) {
        addChartToPDF2(charts1.get(i), writer, 1-i, 0);       
        addChartToPDF2(charts2.get(i), writer, 1-i, 1);       
View Full Code Here

Examples of com.jgoodies.forms.builder.PanelBuilder.addTitle()

                );

        PanelBuilder builder = new PanelBuilder(layout);
        builder.setDefaultDialogBorder();
        CellConstraints cc = new CellConstraints();
        builder.addTitle("An Example for FAQ #3.3", cc.xy(1, 1));
        builder.add(new JScrollPane(notesArea),     cc.xy(1, 3));

        FormDebugUtils.dumpRowSpecs(layout);
        FormDebugUtils.dumpConstraints(builder.getPanel());
        return builder.getPanel();
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.