de.jaret.util.swt
Class ColorManager
java.lang.Object
de.jaret.util.swt.ColorManager
public class ColorManager
- extends Object
Simple class to collect allocated colors and to relese them.
- Version:
- $Id: ColorManager.java 242 2007-02-11 21:05:07Z olk $
- Author:
- Peter Kliem
Constructor Summary |
ColorManager(org.eclipse.swt.graphics.Device device)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_instances
protected static Map<org.eclipse.swt.graphics.Device,ColorManager> _instances
_colorTable
protected Map<org.eclipse.swt.graphics.RGB,org.eclipse.swt.graphics.Color> _colorTable
_device
protected org.eclipse.swt.graphics.Device _device
ColorManager
public ColorManager(org.eclipse.swt.graphics.Device device)
getColorManager
public static ColorManager getColorManager(org.eclipse.swt.graphics.Device device)
disposeAll
public static void disposeAll()
dispose
public void dispose()
getColor
public org.eclipse.swt.graphics.Color getColor(org.eclipse.swt.graphics.RGB rgb)
Copyright © 2013. All Rights Reserved.