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 org.jvnet.substance.color;
031:
032: import java.awt.Color;
033:
034: /**
035: * <b>Orange</b> color scheme.
036: *
037: * @author Kirill Grouchnikov
038: */
039: public class OrangeColorScheme extends BaseColorScheme {
040: /**
041: * The main ultra-light color.
042: */
043: public static final Color mainUltraLightColor = new Color(255, 250,
044: 235);
045:
046: /**
047: * The main light color.
048: */
049: public static final Color mainExtraLightColor = new Color(255, 220,
050: 180);
051:
052: /**
053: * The main light color.
054: */
055: public static final Color mainLightColor = new Color(245, 200, 128);
056:
057: /**
058: * The main medium color.
059: */
060: public static final Color mainMidColor = new Color(240, 170, 50);
061:
062: /**
063: * The main dark color.
064: */
065: public static final Color mainDarkColor = new Color(229, 151, 0);
066:
067: /**
068: * The main ultra-dark color.
069: */
070: public static final Color mainUltraDarkColor = new Color(180, 100,
071: 0);
072:
073: /**
074: * The foreground color.
075: */
076: private static final Color foregroundColor = Color.black;
077:
078: /* (non-Javadoc)
079: * @see org.jvnet.substance.color.ColorScheme#getForegroundColor()
080: */
081: public Color getForegroundColor() {
082: return OrangeColorScheme.foregroundColor;
083: }
084:
085: /* (non-Javadoc)
086: * @see org.jvnet.substance.color.ColorScheme#getUltraLightColor()
087: */
088: public Color getUltraLightColor() {
089: return OrangeColorScheme.mainUltraLightColor;
090: }
091:
092: /* (non-Javadoc)
093: * @see org.jvnet.substance.color.ColorScheme#getExtraLightColor()
094: */
095: public Color getExtraLightColor() {
096: return OrangeColorScheme.mainExtraLightColor;
097: }
098:
099: /* (non-Javadoc)
100: * @see org.jvnet.substance.color.ColorScheme#getLightColor()
101: */
102: public Color getLightColor() {
103: return OrangeColorScheme.mainLightColor;
104: }
105:
106: /* (non-Javadoc)
107: * @see org.jvnet.substance.color.ColorScheme#getMidColor()
108: */
109: public Color getMidColor() {
110: return OrangeColorScheme.mainMidColor;
111: }
112:
113: /* (non-Javadoc)
114: * @see org.jvnet.substance.color.ColorScheme#getDarkColor()
115: */
116: public Color getDarkColor() {
117: return OrangeColorScheme.mainDarkColor;
118: }
119:
120: /* (non-Javadoc)
121: * @see org.jvnet.substance.color.ColorScheme#getUltraDarkColor()
122: */
123: public Color getUltraDarkColor() {
124: return OrangeColorScheme.mainUltraDarkColor;
125: }
126: }
|