DBVIEW
|
00001 /* 00002 DbView - Graph Visualization 00003 Copyright (C) 2012 Denis BEURIVE 00004 00005 This program is free software: you can redistribute it and/or modify 00006 it under the terms of the GNU General Public License as published by 00007 the Free Software Foundation, either version 3 of the License, or 00008 (at your option) any later version. 00009 00010 This program is distributed in the hope that it will be useful, 00011 but WITHOUT ANY WARRANTY; without even the implied warranty of 00012 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00013 GNU General Public License for more details. 00014 00015 You should have received a copy of the GNU General Public License 00016 along with this program. If not, see <http://www.gnu.org/licenses/>. 00017 */ 00018 00019 /** 00020 * @author Denis Beurive 00021 */ 00022 00023 package org.dbview.addons.output.table.utils.dot; 00024 00025 /** 00026 * This class defines constants used to configure the DOT representation. 00027 * @remark If you need to customize the image that represents the database, you should change the values defined in this class. 00028 * 00029 * @author Denis Beurive 00030 */ 00031 public class Conf 00032 { 00033 /** 00034 * Background color for the tables. 00035 */ 00036 static final public String TABLE_BG_COLOR = "lightgrey"; 00037 00038 /** 00039 * Color of the grid's edges, inside a table. 00040 */ 00041 static final public String TABLE_GRID_COLOR = "white"; 00042 00043 /** 00044 * Color of the edges for the grids that contain relations' information. 00045 */ 00046 static final public String RELATION_FG_COLOR = "black"; 00047 00048 /** 00049 * Background color of the edges for the grids that contain relations' information. 00050 */ 00051 static final public String RELATION_BG_COLOR = "beige"; 00052 00053 /** 00054 * Color of the arrows that represents "soft" links (soft foreign keys). 00055 */ 00056 static final public String SOFT_EDGE_COLOR = "green"; 00057 00058 /** 00059 * Color of the arrows that represents "hard" links (hard foreign keys). 00060 */ 00061 static final public String HARD_EDGE_COLOR = "red"; 00062 00063 /** 00064 * Color of the arrows that represents mixed (soft + hard) links (soft foreign keys). 00065 */ 00066 static final public String SOFT_AND_HARD_EDGE_COLOR = "blue"; 00067 }