javax.swing.plaf.metal
Class DefaultMetalTheme.WindowsFontDelegate
java.lang.Object
javax.swing.plaf.metal.DefaultMetalTheme.FontDelegate
javax.swing.plaf.metal.DefaultMetalTheme.WindowsFontDelegate
- Enclosing class:
- DefaultMetalTheme
- private static class DefaultMetalTheme.WindowsFontDelegate
- extends DefaultMetalTheme.FontDelegate
The WindowsFontDelegate uses DesktopProperties to obtain fonts.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
props
private MetalFontDesktopProperty[] props
checkedPriviledged
private boolean[] checkedPriviledged
fonts
FontUIResource[] fonts
DefaultMetalTheme.WindowsFontDelegate
public DefaultMetalTheme.WindowsFontDelegate()
getFont
public FontUIResource getFont(int type)
- Overrides:
getFont
in class DefaultMetalTheme.FontDelegate
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.