public interface IResourceRegistry extends IDisposable
Modifier and Type | Method and Description |
---|---|
org.eclipse.swt.graphics.Color |
getSwtColor(int red,
int green,
int blue)
Provides a SWT color instance with the given RGB values.
|
org.eclipse.swt.graphics.Color |
getSwtColor(java.lang.String hexRGBString) |
org.eclipse.swt.graphics.Font |
getSwtFont(org.eclipse.swt.graphics.FontData fontData)
Provides an SWT font instance with the given font data.
|
dispose
org.eclipse.swt.graphics.Color getSwtColor(int red, int green, int blue)
red
- the value for the red part of the colorgreen
- the value for the green part of the colorblue
- the value for the blue part of the colorColor
org.eclipse.swt.graphics.Color getSwtColor(java.lang.String hexRGBString)
hexRGBString
- Color
org.eclipse.swt.graphics.Font getSwtFont(org.eclipse.swt.graphics.FontData fontData)
fontData
- the font data describing the desired fontFont