|
Modelers | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.topcased.modeler.ColorRegistry
public final class ColorRegistry
This registry manages all the allocated colors and dispose its when the
current display is disposed.
creation : 8 oct. 2004
Method Summary | |
---|---|
org.eclipse.swt.graphics.Color |
get(org.eclipse.swt.graphics.RGB rgb)
Returns the color associated with the given RGB object, or
null if no such definition exists. |
org.eclipse.swt.graphics.Color |
get(java.lang.String symbolicName)
Returns the color associated with the given symbolic color
name, or null if no such definition exists. |
static ColorRegistry |
getInstance()
Returns the singleton registry instance |
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 org.eclipse.swt.graphics.Color get(java.lang.String symbolicName)
color
associated with the given symbolic color
name, or null
if no such definition exists.
symbolicName
- symbolic color name
Color
or null
public org.eclipse.swt.graphics.Color get(org.eclipse.swt.graphics.RGB rgb)
color
associated with the given RGB object, or
null
if no such definition exists.
rgb
- the rgb color
Color
or null
|
Modelers | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright (c) 2005 TOPCASED Contributors 2005 - 2007. All rights reserved.