Public Member Functions | |
CachedFont (Font original) | |
Font | getWithStyle (int style) |
Font | getOriginal () |
Private Member Functions | |
final String | getStyleKey (int style) |
Private Attributes | |
final Font | original |
HashMap | derivedFonts = new HashMap() |
|
a constructor with the first font used, (must not be plain)
|
|
|
|
|
|
return a font with the style applied, such as defined in Font#getStyle()
|
|
|
|
|