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