Package ucar.ui.widget
Class FontUtil
- java.lang.Object
-
- ucar.ui.widget.FontUtil
-
public class FontUtil extends Object
font utilities. Example of use:FontUtil.StandardFont fontu = FontUtil.getStandardFont(20); g2.setFont(fontu.getFont());
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
FontUtil.StandardFont
-
Constructor Summary
Constructors Constructor Description FontUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static FontUtil.StandardFont
getMonoFont(int pixel_height)
static FontUtil.StandardFont
getStandardFont(int pixel_height)
-
-
-
Method Detail
-
getStandardFont
public static FontUtil.StandardFont getStandardFont(int pixel_height)
-
getMonoFont
public static FontUtil.StandardFont getMonoFont(int pixel_height)
-
-