JAL-1807 Bob's JalviewJS prototype first commit
[jalviewjs.git] / src / javajs / api / GenericColor.java
1 package javajs.api;\r
2 \r
3 /**\r
4  * GenericColor allows both java.awt.Color and javajs.awt.Color to be\r
5  * handled by methods that need not distinguish between them. It is used\r
6  * in the javajs package for the background color of a javajs.swing.JComponent\r
7  * \r
8  * @author hansonr\r
9  *\r
10  */\r
11 public interface GenericColor {\r
12 \r
13         int getRGB();\r
14 \r
15         int getOpacity255();\r
16 \r
17         void setOpacity255(int a);\r
18         \r
19 }\r