styles.java

来自「Semantic Web Ontology Editor」· Java 代码 · 共 47 行

JAVA
47
字号
// (c) 2003 Allen I Holub. All rights reserved.
package com.holub.ui;

import java.awt.*;

/** This interface is a container of constants that your controls should
 * use to look similar to other controls. Implement the interface to get
 * access.
 *
 * <!-- ====================== distribution terms ===================== -->
 * <p><blockquote
 * 	style="border-style: solid; border-width:thin; padding: 1em 1em 1em 1em;">
 * <center>
 * 			Copyright &copy; 2003, Allen I. Holub. All rights reserved.
 * </center>
 * <br>
 * <br>
 * 		This code is distributed under the terms of the
 * 		<a href="http://www.gnu.org/licenses/gpl.html"
 * 		>GNU Public License</a> (GPL)
 * 		with the following ammendment to section 2.c:
 * 		<p>
 * 		As a requirement for distributing this code, your splash screen,
 * 		about box, or equivalent must include an my name, copyright,
 * 		<em>and URL</em>. An acceptable message would be:
 * <center>
 * 		This program contains Allen Holub's <em>XXX</em> utility.<br>
 * 				(c) 2003 Allen I. Holub. All Rights Reserved.<br>
 * 						http://www.holub.com<br>
 * </center>
 * 		If your progam does not run interactively, then the foregoing
 * 		notice must appear in your documentation.
 * </blockquote>
 * <!-- =============================================================== -->
 * @author Allen I. Holub
 */
interface Styles
{	/** Color used for standard text */
	static final Color NORMAL_COLOR 	= Color.BLACK;

	/** Color used for text highlighted because of an error */
	static final Color HIGHLIGHT_COLOR  = Color.RED;

	/** Font */
	static final Font  FONT	= new Font("SansSerif", Font.BOLD, 12);
}

⌨️ 快捷键说明

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