001: /*
002: * Copyright (c) 2005-2008 Substance Kirill Grouchnikov. All Rights Reserved.
003: *
004: * Redistribution and use in source and binary forms, with or without
005: * modification, are permitted provided that the following conditions are met:
006: *
007: * o Redistributions of source code must retain the above copyright notice,
008: * this list of conditions and the following disclaimer.
009: *
010: * o Redistributions in binary form must reproduce the above copyright notice,
011: * this list of conditions and the following disclaimer in the documentation
012: * and/or other materials provided with the distribution.
013: *
014: * o Neither the name of Substance Kirill Grouchnikov nor the names of
015: * its contributors may be used to endorse or promote products derived
016: * from this software without specific prior written permission.
017: *
018: * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
019: * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
020: * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
021: * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
022: * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
023: * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
024: * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
025: * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
026: * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
027: * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
028: * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
029: */
030: package test.check;
031:
032: import java.awt.Color;
033:
034: import org.jvnet.substance.color.BaseColorScheme;
035:
036: /**
037: * <b>Crimson</b> color scheme - for close buttons.
038: *
039: * @author Kirill Grouchnikov
040: */
041: public class CrimsonColorScheme extends BaseColorScheme {
042: /**
043: * The main ultra-light color.
044: */
045: private static final Color mainUltraLightColor = new Color(175,
046: 135, 153);
047:
048: /**
049: * The main extra-light color.
050: */
051: private static final Color mainExtraLightColor = new Color(183,
052: 126, 140);
053:
054: /**
055: * The main light color.
056: */
057: private static final Color mainLightColor = new Color(194, 98, 101);
058:
059: /**
060: * The main medium color.
061: */
062: private static final Color mainMidColor = new Color(175, 41, 27);
063:
064: /**
065: * The main dark color.
066: */
067: private static final Color mainDarkColor = new Color(141, 24, 18);
068:
069: /**
070: * The main ultra-dark color.
071: */
072: private static final Color mainUltraDarkColor = new Color(116, 40,
073: 31);
074:
075: /**
076: * The foreground color.
077: */
078: private static final Color foregroundColor = Color.black;
079:
080: /* (non-Javadoc)
081: * @see org.jvnet.substance.color.ColorScheme#getForegroundColor()
082: */
083: public Color getForegroundColor() {
084: return CrimsonColorScheme.foregroundColor;
085: }
086:
087: /* (non-Javadoc)
088: * @see org.jvnet.substance.color.ColorScheme#getUltraLightColor()
089: */
090: public Color getUltraLightColor() {
091: return CrimsonColorScheme.mainUltraLightColor;
092: }
093:
094: /* (non-Javadoc)
095: * @see org.jvnet.substance.color.ColorScheme#getExtraLightColor()
096: */
097: public Color getExtraLightColor() {
098: return CrimsonColorScheme.mainExtraLightColor;
099: }
100:
101: /* (non-Javadoc)
102: * @see org.jvnet.substance.color.ColorScheme#getLightColor()
103: */
104: public Color getLightColor() {
105: return CrimsonColorScheme.mainLightColor;
106: }
107:
108: /* (non-Javadoc)
109: * @see org.jvnet.substance.color.ColorScheme#getMidColor()
110: */
111: public Color getMidColor() {
112: return CrimsonColorScheme.mainMidColor;
113: }
114:
115: /* (non-Javadoc)
116: * @see org.jvnet.substance.color.ColorScheme#getDarkColor()
117: */
118: public Color getDarkColor() {
119: return CrimsonColorScheme.mainDarkColor;
120: }
121:
122: /* (non-Javadoc)
123: * @see org.jvnet.substance.color.ColorScheme#getUltraDarkColor()
124: */
125: public Color getUltraDarkColor() {
126: return CrimsonColorScheme.mainUltraDarkColor;
127: }
128: }
|