/*
* @(#)AlphaColorUIResource.java
*
* Copyright (c) 2004-2010 Werner Randelshofer, Immensee, Switzerland.
* All rights reserved.
*
* You may not use, copy or modify this file, except in compliance with the
* license agreement you entered into with Werner Randelshofer.
* For details see accompanying license terms.
*/
package ch.randelshofer.quaqua.color;
import java.awt.*;
import javax.swing.plaf.*;
/**
* A ColorUIResource whith an alpha channel.
*
* @author Werner Randelshofer
* @version $Id: AlphaColorUIResource.java 361 2010-11-21 11:19:20Z wrandelshofer $
*/
public class AlphaColorUIResource extends Color implements UIResource {
public AlphaColorUIResource(int r, int g, int b, int a) {
super(r, g, b, a);
}
public AlphaColorUIResource(int rgba) {
super(rgba, true);
}
}