001: /*
002: * BEGIN_HEADER - DO NOT EDIT
003: *
004: * The contents of this file are subject to the terms
005: * of the Common Development and Distribution License
006: * (the "License"). You may not use this file except
007: * in compliance with the License.
008: *
009: * You can obtain a copy of the license at
010: * https://open-esb.dev.java.net/public/CDDLv1.0.html.
011: * See the License for the specific language governing
012: * permissions and limitations under the License.
013: *
014: * When distributing Covered Code, include this CDDL
015: * HEADER in each file and include the License file at
016: * https://open-esb.dev.java.net/public/CDDLv1.0.html.
017: * If applicable add the following below this CDDL HEADER,
018: * with the fields enclosed by brackets "[]" replaced with
019: * your own identifying information: Portions Copyright
020: * [year] [name of copyright owner]
021: */
022:
023: /*
024: * @(#)Constants.java
025: * Copyright 2004-2007 Sun Microsystems, Inc. All Rights Reserved.
026: *
027: * END_HEADER - DO NOT EDIT
028: */
029: package org.openesb.tools.extchart.property;
030:
031: /**
032: * Constants used by chart/report properties
033: *
034: * @author Wei Han, Rahul Dwivedi
035: * @version :$Revision: 1.1 $
036: */
037:
038: public interface Constants {
039: /** Left alignment */
040: public static final int LEFT = 0;
041: /** Center alignment */
042: public static final int CENTER = 1;
043: /** Right alignment */
044: public static final int RIGHT = 2;
045: /** Top alignment */
046: public static final int TOP = 3;
047: /** Bottom alignment */
048: public static final int BOTTOM = 4;
049:
050: /** font name suffix */
051: public static final String FONT_NAME_SUFFIX = "-name";
052:
053: /** font name suffix */
054: public static final String FONT_STYLE_SUFFIX = "-style";
055:
056: /** font name suffix */
057: public static final String FONT_SIZE_SUFFIX = "-size";
058:
059: /** DISPLAY_TITLE_KEY is a key to a default. */
060: public static final String DISPLAY_TITLE_KEY = "vd_displayTitleKey";
061:
062: /** TITLE_KEY is a key to a default. */
063: public static final String TITLE_KEY = "vd_titleKey";
064:
065: /** TITLE_FONT_SIZE_KEY is a key to a default. */
066: public static final String TITLE_FONT_SIZE_KEY = "vd_titleFontSizeKey";
067:
068: /** TITLE_FONT_KEY is a key to a default. */
069: public static final String TITLE_FONT_KEY = "title-font";
070:
071: /** TITLE_ALIGNMENT_KEY is a key to a default. */
072: public static final String TITLE_ALIGNMENT_KEY = "vd_titleAlignmentKey";
073:
074: /** Key for title text color */
075: public static final String TITLE_COLOR_KEY = "title-color";
076:
077: /** Key for title background color */
078: public static final String TITLE_BACKGROUND_KEY = "title-background";
079:
080: /** BACKGROUND_COLOR_KEY is a key to a default. */
081: public static final String BACKGROUND_COLOR_KEY = "vd_backgroundColorKey";
082:
083: /** TEXT_COLOR_KEY is a key to a default. */
084: public static final String TEXT_COLOR_KEY = "vd_textColorKey";
085:
086: /** NULL_REAL_KEY is a key to a default. */
087: public static final String NULL_REAL_KEY = "vd_nullRealKey";
088:
089: /** NULL_INTEGRAL_KEY is a key to a default. */
090: public static final String NULL_INTEGRAL_KEY = "vd_nullIntegralKey";
091:
092: /** NULL_STRING_KEY is a key to a default. */
093: public static final String NULL_STRING_KEY = "vd_nullStringKey";
094:
095: /** INTEGRAL_NUMBER_FORMAT_KEY is a key to a default. */
096: public static final String INTEGRAL_NUMBER_FORMAT_KEY = "vd_IntegralNumberFormatKey";
097:
098: /** REAL_NUMBER_FORMAT_KEY is a key to a default. */
099: public static final String REAL_NUMBER_FORMAT_KEY = "vd_RealNumberFormatKey";
100:
101: /** Key for BorderVisible property */
102: public static final String BORDER_VISIBLE_KEY = "border-visible";
103:
104: /** Key for BorderPaint property */
105: public static final String BORDER_PAINT_KEY = "border-paint";
106:
107: /** Key for refreshing frequency */
108: public static final String FREQUENCY = "Frequency";
109:
110: /** Key for data limit property */
111: public static final String DATA_LIMIT_KEY = "data-limit";
112: }
|