javax.swing.plaf.metal
Class DefaultMetalTheme.FontDelegate
java.lang.Object
javax.swing.plaf.metal.DefaultMetalTheme.FontDelegate
- Direct Known Subclasses:
- DefaultMetalTheme.WindowsFontDelegate
- Enclosing class:
- DefaultMetalTheme
- private static class DefaultMetalTheme.FontDelegate
- extends Object
FontDelegates add an extra level of indirection to obtaining fonts.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
defaultMapping
private static int[] defaultMapping
fonts
FontUIResource[] fonts
DefaultMetalTheme.FontDelegate
public DefaultMetalTheme.FontDelegate()
getFont
public FontUIResource getFont(int type)
getPrivilegedFont
protected Font getPrivilegedFont(int key)
- This is the same as invoking
Font.getFont(key)
, with the exception
that it is wrapped inside a doPrivileged
call.