|
Eclipse JDT 2.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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.
IJavaColorConstants
Method Summary | |
void |
dispose()
Disposes all color objects remembered by this color manager. |
Color |
getColor(RGB rgb)
Returns the color object for the value represented by the given RGB object. |
Color |
getColor(String key)
Returns a color object for the given key. |
Method Detail |
public Color getColor(String key)
key
- the color key
public Color getColor(RGB rgb)
RGB
object.
rgb
- the rgb color specification
public void dispose()
|
Eclipse JDT 2.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |