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

📄 chartrendererbase.java

📁 It is all about project scheduling. GanttProject is a tool for creating a project schedule by means
💻 JAVA
字号:
package net.sourceforge.ganttproject.chart;/** * Created by IntelliJ IDEA. User: bard Date: 12.10.2004 Time: 0:56:19 To change * this template use Options | File Templates. */public class ChartRendererBase {    private int myHeight;    private ChartModelBase myChartModel;    private final GraphicPrimitiveContainer myPrimitiveContainer;    private boolean isEnabled = true;    protected ChartRendererBase() {        myPrimitiveContainer = new GraphicPrimitiveContainer();    }    public ChartRendererBase(ChartModelBase model) {        this();        setChartModel(model);    }    public void setHeight(int height) {        myHeight = height;    }    protected int getHeight() {        return myHeight;    }    protected int getWidth() {        return (int) getChartModel().getBounds().getWidth();    }    protected ChartUIConfiguration getConfig() {        return getChartModel().getChartUIConfiguration();    }    public GraphicPrimitiveContainer getPrimitiveContainer() {        return myPrimitiveContainer;    }    protected ChartModelBase getChartModel() {        return myChartModel;    }    public boolean isEnabled() {        return isEnabled;    }    public void setEnabled(boolean enabled) {        isEnabled = enabled;    }        public void beforeProcessingTimeFrames() {        myPrimitiveContainer.clear();    }    protected void setChartModel(ChartModelBase chartModel) {        myChartModel = chartModel;    }    }

⌨️ 快捷键说明

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