|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectar.com.fdvs.dj.core.FontHelper
public class FontHelper
Constructor Summary | |
---|---|
FontHelper()
|
Method Summary | |
---|---|
static int |
getHeightFor(Font font)
Calculates the minium height needed for the specified font and size. |
static int |
getWidthFor(Font font,
java.lang.String text)
|
static void |
main(java.lang.String[] args)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FontHelper()
Method Detail |
---|
public static int getHeightFor(Font font)
font
-
public static int getWidthFor(Font font, java.lang.String text)
public static void main(java.lang.String[] args)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |