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

📄 graphcolors.java

📁 Owing to the applet Gantt chart source yard, already Chinese melt, Gantt chart can demonstrate a Chi
💻 JAVA
字号:
/** *   Copyright 2004 Carlos Silva A. *  *   Licensed under the Apache License, Version 2.0 (the "License"); *   you may not use this file except in compliance with the License.  *   You may obtain a copy of the License at   *  *   http://www.apache.org/licenses/LICENSE-2.0 *  *   Unless required by applicable law or agreed to in writing, software *   distributed under the License is distributed on an "AS IS" BASIS, *   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. *   See the License for the specific language governing permissions and *   limitations under the License. *  */package jgantt.model;import java.awt.Color;import java.awt.SystemColor;public class GraphColors {	public Color background = Color.white;	public Color text = Color.black;	public Color titleFg = Color.gray;	public Color titleBg = Color.lightGray;	public Color div = Color.lightGray;	public Color mayorDiv = Color.darkGray;	public Color weekEnd = new Color(240, 240, 240);	public Color holiday = new Color(255, 192, 192);	public Color now = new Color(255, 255, 224);	public Color snapshot = Color.cyan;	public Color horLine = Color.lightGray;	public TaskColors defaultTaskColors = new TaskColors();	public TaskColors defaultResumeColors = new TaskColors(false);	public boolean drawTaskLines = false;	public boolean drawMinorLines = false;	/**	 * Constructor reservado al paquete.	 */	GraphColors() {	}	/**	 * Constructor reservado al paquete.	 */	GraphColors(boolean defaultColors) {		if (!defaultColors) {			background = Color.white;			text = Color.black;			titleFg = Color.gray;			titleBg = SystemColor.control;			div = Color.lightGray;			mayorDiv = Color.darkGray;			//graph = Color.white;			weekEnd = new Color(224, 224, 224);			horLine = Color.lightGray;			defaultTaskColors.barBg = new Color(192, 255, 192);			defaultTaskColors.barLine = new Color(0, 0, 128);			defaultTaskColors.barCompleted = Color.darkGray;			defaultTaskColors.constraint = Color.magenta;			defaultResumeColors.barBg = Color.gray;			defaultResumeColors.barLine = Color.black;			defaultResumeColors.constraint = new Color(128, 128, 40);			drawTaskLines = true;			drawMinorLines = true;		}	}}

⌨️ 快捷键说明

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