aboutsummaryrefslogtreecommitdiff
path: root/libjava/javax/swing/plaf/ColorUIResource.java
blob: 86ac7b1e5a25c8299932d10e755807cbdca6ea9a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
package javax.swing.plaf;
import java.awt.Color;
/**
 * STUBBED
 */
public class ColorUIResource extends Color implements UIResource
{
  public ColorUIResource(Color c)
  {
    super(c.getRGB());
  }
  public ColorUIResource(float r, float g, float b)
  {
    super(r, g, b, 1.0f);
  }
  public ColorUIResource(int rgb)
  {
    super(rgb, false);
  }
  public ColorUIResource(int r, int g, int b)
  {
    super(r, g, b, 255);
  }
} // class ColorUIResource