List of all members.
Detailed Description
A small helper class that caches derived fonts, instead of creating a new Font every time the method java.awt.Font#deriveFont(int) is called
- Author:
- Vito Baggiolini
- Version:
- Revision:
- 1.2
,
- Date:
- 2006/09/25 08:52:36
,
- Author:
- acaproni
- Since:
- 2.0.6
Constructor & Destructor Documentation
cern.gp.beans.editors.support.CachedFont.CachedFont |
( |
Font |
original |
) |
|
a constructor with the first font used, (must not be plain)
- Parameters:
-
| original,must | be non-null |
Member Function Documentation
Font cern.gp.beans.editors.support.CachedFont.getOriginal |
( |
|
) |
|
- Returns:
- Returns the original font passed in the constructor.
Font cern.gp.beans.editors.support.CachedFont.getWithStyle |
( |
int |
style |
) |
|
return a font with the style applied, such as defined in Font#getStyle()
- Parameters:
-
- Returns:
- a (cached) instance of the font
The documentation for this class was generated from the following file: