KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > ui > forms > IFormColors


1 /*******************************************************************************
2  * Copyright (c) 2007 IBM Corporation and others.
3  * All rights reserved. This program and the accompanying materials
4  * are made available under the terms of the Eclipse Public License v1.0
5  * which accompanies this distribution, and is available at
6  * http://www.eclipse.org/legal/epl-v10.html
7  *
8  * Contributors:
9  * IBM Corporation - initial API and implementation
10  *******************************************************************************/

11 package org.eclipse.ui.forms;
12
13 /**
14  * A place to hold all the color constants used in the forms package.
15  *
16  * @since 3.3
17  */

18
19 public interface IFormColors {
20     /**
21      * A prefix for all the keys.
22      */

23     String JavaDoc PREFIX = "org.eclipse.ui.forms."; //$NON-NLS-1$
24
/**
25      * Key for the form title foreground color.
26      */

27     String JavaDoc TITLE = PREFIX + "TITLE"; //$NON-NLS-1$
28

29     /**
30      * A prefix for the header color constants.
31      */

32     String JavaDoc H_PREFIX = PREFIX + "H_"; //$NON-NLS-1$
33
/*
34      * A prefix for the section title bar color constants.
35      */

36     String JavaDoc TB_PREFIX = PREFIX + "TB_"; //$NON-NLS-1$
37
/**
38      * Key for the form header background gradient ending color.
39      */

40     String JavaDoc H_GRADIENT_END = H_PREFIX + "GRADIENT_END"; //$NON-NLS-1$
41

42     /**
43      * Key for the form header background gradient starting color.
44      *
45      */

46     String JavaDoc H_GRADIENT_START = H_PREFIX + "GRADIENT_START"; //$NON-NLS-1$
47
/**
48      * Key for the form header bottom keyline 1 color.
49      *
50      */

51     String JavaDoc H_BOTTOM_KEYLINE1 = H_PREFIX + "BOTTOM_KEYLINE1"; //$NON-NLS-1$
52
/**
53      * Key for the form header bottom keyline 2 color.
54      *
55      */

56     String JavaDoc H_BOTTOM_KEYLINE2 = H_PREFIX + "BOTTOM_KEYLINE2"; //$NON-NLS-1$
57
/**
58      * Key for the form header light hover color.
59      *
60      */

61     String JavaDoc H_HOVER_LIGHT = H_PREFIX + "H_HOVER_LIGHT"; //$NON-NLS-1$
62
/**
63      * Key for the form header full hover color.
64      *
65      */

66     String JavaDoc H_HOVER_FULL = H_PREFIX + "H_HOVER_FULL"; //$NON-NLS-1$
67

68     /**
69      * Key for the tree/table border color.
70      */

71     String JavaDoc BORDER = PREFIX + "BORDER"; //$NON-NLS-1$
72

73     /**
74      * Key for the section separator color.
75      */

76     String JavaDoc SEPARATOR = PREFIX + "SEPARATOR"; //$NON-NLS-1$
77

78     /**
79      * Key for the section title bar background.
80      */

81     String JavaDoc TB_BG = TB_PREFIX + "BG"; //$NON-NLS-1$
82

83     /**
84      * Key for the section title bar foreground.
85      */

86     String JavaDoc TB_FG = TB_PREFIX + "FG"; //$NON-NLS-1$
87

88     /**
89      * Key for the section title bar gradient.
90      * @deprecated Since 3.3, this color is not used any more. The
91      * tool bar gradient is created starting from {@link #TB_BG} to
92      * the section background color.
93      */

94     String JavaDoc TB_GBG = TB_BG;
95
96     /**
97      * Key for the section title bar border.
98      */

99     String JavaDoc TB_BORDER = TB_PREFIX + "BORDER"; //$NON-NLS-1$
100

101     /**
102      * Key for the section toggle color. Since 3.1, this color is used for all
103      * section styles.
104      */

105     String JavaDoc TB_TOGGLE = TB_PREFIX + "TOGGLE"; //$NON-NLS-1$
106

107     /**
108      * Key for the section toggle hover color.
109      *
110      */

111     String JavaDoc TB_TOGGLE_HOVER = TB_PREFIX + "TOGGLE_HOVER"; //$NON-NLS-1$
112
}
Popular Tags