Package org.goobi.production.chart

Examples of org.goobi.production.chart.ProjectStatusDataTable


      inMax = this.myProjekt.getNumberOfPages();
    } else {
      inMax = this.myProjekt.getNumberOfVolumes();
    }

    ProjectStatusDataTable pData = new ProjectStatusDataTable(this.myProjekt.getTitel(), start, end);

    IProvideProjectTaskList ptl = new WorkflowProjectTaskList();

    List<? extends IProjectTask> tasklist = ptl.calculateProjectTasks(this.myProjekt, countImages, inMax);
    for (IProjectTask pt : tasklist) {
      pData.addTask(pt);
    }

    // Determine height of the image
    int height = ProjectStatusDraw.getImageHeight(pData.getNumberOfTasks());

    BufferedImage image = new BufferedImage(width, height, BufferedImage.TYPE_INT_RGB);
    Graphics2D g2d = image.createGraphics();
    g2d.setRenderingHint(java.awt.RenderingHints.KEY_ANTIALIASING, java.awt.RenderingHints.VALUE_ANTIALIAS_ON);
View Full Code Here

TOP

Related Classes of org.goobi.production.chart.ProjectStatusDataTable

Copyright © 2018 www.massapicom. 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.