|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IColorManager
Manages SWT color objects for given color keys and
given RGB
objects. Until the dispose
method is called, the same color object is returned for
equal keys and equal RGB
values.
This interface may be implemented by clients.
ICColorConstants
Method Summary | |
---|---|
void |
dispose()
Disposes all color objects remembered by this color manager. |
org.eclipse.swt.graphics.Color |
getColor(org.eclipse.swt.graphics.RGB rgb)
Returns the color object for the value represented by the given RGB object. |
org.eclipse.swt.graphics.Color |
getColor(java.lang.String key)
Returns a color object for the given key. |
Method Detail |
---|
org.eclipse.swt.graphics.Color getColor(java.lang.String key)
key
- the color key
org.eclipse.swt.graphics.Color getColor(org.eclipse.swt.graphics.RGB rgb)
RGB
object.
rgb
- the rgb color specification
void dispose()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |