|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.freecol.client.gui.plaf.LAFUtilities
public final class LAFUtilities
Utility methods for Look-and-Feel classes.
Constructor Summary | |
---|---|
LAFUtilities()
|
Method Summary | |
---|---|
static void |
setProperties(java.awt.Graphics g,
javax.swing.JComponent c)
Modifies the given graphics object with any relevant client property
from the given component. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LAFUtilities()
Method Detail |
---|
public static void setProperties(java.awt.Graphics g, javax.swing.JComponent c)
client property
from the given component.
Currently only RenderingHints.KEY_TEXT_ANTIALIASING
is supported. Antialiasing is enabled explicitly if the text size
is larger or equal to 16.
g
- The graphics object to be updated.c
- The component to get the properties from.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |