Package com._1c.g5.v8.dt.ui.util
Class FontUtil
- java.lang.Object
-
- com._1c.g5.v8.dt.ui.util.FontUtil
-
public final class FontUtil extends Object
Miscellaneous utilities for handling fonts for UI-related purposes.- Restriction:
- This class is not intended to be sub-classed by clients.
- Restriction:
- This class is not intended to be instantiated by clients.
-
-
Field Summary
Fields Modifier and Type Field Description static boolean
IS_ARABIC_LOCALE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
getDefaultFontFace()
Returns default font face name, specific for current locale.static String
getFontRepresentation(Font font)
ReturnsFont
representation.static String
getFontRepresentationOrDefault(Font font)
ReturnsFont
representation.
-
-
-
Method Detail
-
getDefaultFontFace
public static String getDefaultFontFace()
Returns default font face name, specific for current locale.
-
getFontRepresentationOrDefault
public static String getFontRepresentationOrDefault(Font font)
ReturnsFont
representation.- Parameters:
font
- the font, can benull
- Returns:
- the font representation, never
null
-
-