javajs.api.GenericColor Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jmol Show documentation
Show all versions of jmol Show documentation
Jmol: an open-source Java viewer for chemical structures in 3D
package javajs.api;
/**
* GenericColor allows both java.awt.Color and javajs.awt.Color to be
* handled by methods that need not distinguish between them. It is used
* in the javajs package for the background color of a javajs.swing.JComponent
*
* @author hansonr
*
*/
public interface GenericColor {
int getRGB();
int getOpacity255();
void setOpacity255(int a);
}