Class DefaultGnomeFontPolicy
- java.lang.Object
-
- org.pushingpixels.radiance.common.internal.font.DefaultGnomeFontPolicy
-
- All Implemented Interfaces:
FontPolicy
public class DefaultGnomeFontPolicy extends java.lang.Object implements FontPolicy
The default font policy for Gnome OS.
-
-
Field Summary
Fields Modifier and Type Field Description private static double
fontScale
Font scale.
-
Constructor Summary
Constructors Constructor Description DefaultGnomeFontPolicy()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description FontSet
getFontSet()
Looks up and returns a set of fonts that will be used by a Look&Feel to set the default fonts for its components.static double
getPointsToPixelsRatio()
-
-
-
Method Detail
-
getFontSet
public FontSet getFontSet()
Description copied from interface:FontPolicy
Looks up and returns a set of fonts that will be used by a Look&Feel to set the default fonts for its components.This method is invoked during the L&F component initialization.
- Specified by:
getFontSet
in interfaceFontPolicy
- Returns:
- a set of fonts used as default for the component.
-
getPointsToPixelsRatio
public static double getPointsToPixelsRatio()
-
-