Searched refs:ColorWrapper (Results 1 – 1 of 1) sorted by relevance
62 private static class ColorWrapper implements IColor { class in GCWrapper65 public ColorWrapper(Color color) { in ColorWrapper() method in GCWrapper.ColorWrapper75 private final HashMap<Integer, ColorWrapper> mColorMap = new HashMap<Integer, ColorWrapper>();120 for (ColorWrapper c : mColorMap.values()) { in dispose()143 ColorWrapper c = mColorMap.get(key); in registerColor()145 c = new ColorWrapper(new Color(getGc().getDevice(), in registerColor()169 return new ColorWrapper(c); in getForeground()175 return new ColorWrapper(c); in getBackground()186 getGc().setForeground(((ColorWrapper) color).getColor()); in setForeground()192 getGc().setBackground(((ColorWrapper) color).getColor()); in setBackground()