|
Runtime | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.gmf.runtime.draw2d.ui.graphics.ColorRegistry
public class ColorRegistry
Manages color resources.
| Method Summary | |
|---|---|
Color |
getColor(java.lang.Integer id)
Returns the Color based on the id. |
Color |
getColor(RGB rgb)
Returns the Color based on the RGB. |
static ColorRegistry |
getInstance()
Return singleton instance of the color registry. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static ColorRegistry getInstance()
public Color getColor(java.lang.Integer id)
id - -
the integer representation of a color
public Color getColor(RGB rgb)
RGB -
|
Runtime | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp., Borland Software Corp., and others 2005,2006. All rights reserved.