⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 chartmodel.java

📁 It is all about project scheduling. GanttProject is a tool for creating a project schedule by means
💻 JAVA
字号:
package net.sourceforge.ganttproject.chart;import java.awt.Dimension;import java.awt.Graphics;import java.awt.Rectangle;import java.util.Date;import net.sourceforge.ganttproject.task.Task;import net.sourceforge.ganttproject.task.TaskContainmentHierarchyFacade;import net.sourceforge.ganttproject.time.TimeUnit;/** * @author dbarashev */public interface ChartModel {    ChartHeader getChartHeader();    void setBounds(Dimension bounds);    void setStartDate(Date startDate);    /**     * This method calculates the end date of this chart. It is a function of     * (start date, bounds, bottom time unit, top time unit, bottom unit width)     * so it expects that all these parameters are set correctly.     */    Date getEndDate();    Date getStartDate();    void setBottomUnitWidth(int pixelsWidth);    void setRowHeight(int rowHeight);    void setTopTimeUnit(TimeUnit topTimeUnit);    void setBottomTimeUnit(TimeUnit bottomTimeUnit);    void setVisibleTasks(java.util.List/* <Task> */visibleTasks);    void paint(Graphics g);    void setTaskContainment(TaskContainmentHierarchyFacade taskContainment);    Task findTaskWithCoordinates(int x, int y);    Rectangle getBoundingRectangle(Task task);    float calculateLength(int fromX, int toX, int y);    void setVerticalOffset(int i);}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -