KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > jmeter > gui > util > JMeterColor


1 // $Header: /home/cvs/jakarta-jmeter/src/core/org/apache/jmeter/gui/util/JMeterColor.java,v 1.5 2004/02/13 02:21:38 sebb Exp $
2
/*
3  * Copyright 2001-2004 The Apache Software Foundation.
4  *
5  * Licensed under the Apache License, Version 2.0 (the "License");
6  * you may not use this file except in compliance with the License.
7  * You may obtain a copy of the License at
8  *
9  * http://www.apache.org/licenses/LICENSE-2.0
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an "AS IS" BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  *
17 */

18
19 package org.apache.jmeter.gui.util;
20
21 import java.awt.Color JavaDoc;
22
23 /**
24  * @author mstover
25  * @version $Revision: 1.5 $
26  */

27 public class JMeterColor extends Color JavaDoc
28 {
29     public final static Color JavaDoc dark_green = new JMeterColor(0F, .5F, 0F);
30     public final static Color JavaDoc YELLOW = new JMeterColor(1F, 1F, 0);
31     public final static Color JavaDoc LAVENDER =
32         new JMeterColor(206F / 255F, 207F / 255F, 1F);
33     public final static Color JavaDoc purple =
34         new JMeterColor(150 / 255F, 0, 150 / 255F);
35
36     public JMeterColor(float r, float g, float b)
37     {
38         super(r, g, b);
39     }
40
41     public JMeterColor()
42     {
43         super(0, 0, 0);
44     }
45 }
46
Popular Tags