Package javajs.api

Interface GenericColor

All Known Implementing Classes:
AwtColor, AwtColor, Color

public interface GenericColor
GenericColor allows both java.awt.Color and org.jmol.awtjs.swing.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 org.jmol.awtjs.swing.JComponent
Author:
hansonr
  • Method Summary

    Modifier and Type
    Method
    Description
    int
     
    int
     
    void
     
  • Method Details

    • getRGB

      int getRGB()
    • getOpacity255

      int getOpacity255()
    • setOpacity255

      void setOpacity255(int a)