|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.fosstrak.llrp.commander.editors.ColorManager
public class ColorManager
A helper class for supporting the color table used in XML Editor.
| Field Summary | |
|---|---|
protected java.util.Map<org.eclipse.swt.graphics.RGB,org.eclipse.swt.graphics.Color> |
fColorTable
Color table. |
| Constructor Summary | |
|---|---|
ColorManager()
|
|
| Method Summary | |
|---|---|
void |
dispose()
Dispose all the Color in the Color Table. |
org.eclipse.swt.graphics.Color |
getColor(org.eclipse.swt.graphics.RGB aRGB)
Get the Color instance by RGB. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected java.util.Map<org.eclipse.swt.graphics.RGB,org.eclipse.swt.graphics.Color> fColorTable
| Constructor Detail |
|---|
public ColorManager()
| Method Detail |
|---|
public void dispose()
Color in the Color Table.
public org.eclipse.swt.graphics.Color getColor(org.eclipse.swt.graphics.RGB aRGB)
Color instance by RGB.
The color will be created when first uses.
aRGB - RGB instance
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||