|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.tapina.robe.runtime.ColourUtils
This class contains utility methods for working with colours.
| Constructor Summary | |
ColourUtils()
|
|
| Method Summary | |
static java.awt.Color |
acornToNative(int bbggrr00)
This methods converts colours from Acorn 0xBBGGRR00 format to native Java Color objects. |
static int |
nativeToAcorn(java.awt.Color c)
This method returns colours as an integer in the format 0xBBGGRR00. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ColourUtils()
| Method Detail |
public static int nativeToAcorn(java.awt.Color c)
c - Java native colour to convert
public static java.awt.Color acornToNative(int bbggrr00)
bbggrr00 - integer representation of colour in 0xBBGGRR00 format.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||