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 booleanIS_ARABIC_LOCALE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StringgetDefaultFontFace()Returns default font face name, specific for current locale.static StringgetFontRepresentation(Font font)ReturnsFontrepresentation.static StringgetFontRepresentationOrDefault(Font font)ReturnsFontrepresentation.
-
-
-
Method Detail
-
getDefaultFontFace
public static String getDefaultFontFace()
Returns default font face name, specific for current locale.
-
getFontRepresentationOrDefault
public static String getFontRepresentationOrDefault(Font font)
ReturnsFontrepresentation.- Parameters:
font- the font, can benull- Returns:
- the font representation, never
null
-
-