de.jaret.util.swt
Class FontManager
java.lang.Object
de.jaret.util.swt.FontManager
public class FontManager
- extends Object
Simple class to collect allocated fonts and to relese them.
- Version:
- $Id: FontManager.java 242 2007-02-11 21:05:07Z olk $
- Author:
- Peter Kliem
Field Summary |
protected org.eclipse.swt.graphics.Device |
_device
|
protected Map<org.eclipse.swt.graphics.FontData,org.eclipse.swt.graphics.Font> |
_fontTable
|
protected static Map<org.eclipse.swt.graphics.Device,FontManager> |
_instances
|
Constructor Summary |
FontManager(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,FontManager> _instances
_fontTable
protected Map<org.eclipse.swt.graphics.FontData,org.eclipse.swt.graphics.Font> _fontTable
_device
protected org.eclipse.swt.graphics.Device _device
FontManager
public FontManager(org.eclipse.swt.graphics.Device device)
getFontManager
public static FontManager getFontManager(org.eclipse.swt.graphics.Device device)
disposeAll
public static void disposeAll()
dispose
public void dispose()
getFont
public org.eclipse.swt.graphics.Font getFont(org.eclipse.swt.graphics.FontData FontData)
Copyright © 2013. All Rights Reserved.