
package jp.riken.brain.ni.samuraigraph.base;

import java.awt.Color;
import java.awt.Font;

/**
 * 
 */
public class SGConstants
{

	/**
	 * 
	 */
	public static final float GOLDEN_RATIO = ( 1.0f + (float)Math.sqrt(5.0) )/2.0f;


	/**
	 * 
	 */
	public static final float CM_POINT_RATIO = 2.54f/72.0f;


	/**
	 * 
	 */
	public static final float CM_INCH_RATIO = 2.54f;


	/**
	 * delimiter set
	 */
	public static char[] DELIMITER_SET = { ' ', '\t', '\n', '\r', '\f', ',' };



	/**
	 * 
	 */
	public static final String RESOURCES_DIRNAME = "/resources/";



	/**
	 * Return values from class method
	 */
	public static final int SUCCESSFUL_COMPLETION = 0;
	public static final int PROPERTY_FILE_INCORRECT = 1;
	public static final int DATA_TYPE_INCORRECT = 2;
	public static final int END_OF_PROPERTY_FILE = 3;
	public static final int DATA_NUMBER_SHORTAGE = 4;
	public static final int DATA_NUMBER_EXCESS = 5;
	public static final int FILE_OPEN_FAILURE = 6;



	/**
	 * Font Style
	 */
	public static final String FONT_PLAIN = "Plain";
	public static final String FONT_ITALIC = "Italic";
	public static final String FONT_BOLD = "Bold";
	public static final String FONT_BOLD_ITALIC = "Bold Italic";



	/**
	 * Scale Type
	 */
	public static final String SCALE_TYPE_LINEAR = "Linear";
	public static final String SCALE_TYPE_LOG = "Log";



}
