Package net.sf.freecol.client.gui.plaf
Class LAFUtilities
- java.lang.Object
-
- net.sf.freecol.client.gui.plaf.LAFUtilities
-
public final class LAFUtilities extends java.lang.ObjectUtility methods for Look-and-Feel classes.
-
-
Field Summary
Fields Modifier and Type Field Description private static intAA_TEXT_SIZE
-
Constructor Summary
Constructors Constructor Description LAFUtilities()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidsetProperties(java.awt.Graphics g, javax.swing.JComponent c)Modifies the given graphics object with any relevantclient propertyfrom the given component.
-
-
-
Field Detail
-
AA_TEXT_SIZE
private static final int AA_TEXT_SIZE
- See Also:
- Constant Field Values
-
-
Method Detail
-
setProperties
public static void setProperties(java.awt.Graphics g, javax.swing.JComponent c)Modifies the given graphics object with any relevantclient propertyfrom the given component. Currently onlyRenderingHints.KEY_TEXT_ANTIALIASINGis supported. Antialiasing is enabled explicitly if the text size is larger or equal to 16.- Parameters:
g- The graphics object to be updated.c- The component to get the properties from.
-
-