public class FontCache
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected static java.util.HashMap<java.lang.String,org.graphstream.ui.swing.util.FontSlot> |
cache |
protected static java.awt.Font |
defFont |
| Constructor and Description |
|---|
FontCache() |
| Modifier and Type | Method and Description |
|---|---|
static java.awt.Font |
getDefaultFont() |
static java.awt.Font |
getDefaultFont(org.graphstream.ui.graphicGraph.stylesheet.StyleConstants.TextStyle style,
int size) |
static java.awt.Font |
getFont(java.lang.String name,
org.graphstream.ui.graphicGraph.stylesheet.StyleConstants.TextStyle style,
int size) |
protected static java.awt.Font defFont
protected static java.util.HashMap<java.lang.String,org.graphstream.ui.swing.util.FontSlot> cache
public static java.awt.Font getDefaultFont()
public static java.awt.Font getDefaultFont(org.graphstream.ui.graphicGraph.stylesheet.StyleConstants.TextStyle style,
int size)
public static java.awt.Font getFont(java.lang.String name,
org.graphstream.ui.graphicGraph.stylesheet.StyleConstants.TextStyle style,
int size)