java.lang.Object
com.barteo.emulator.device.applet.AppletFontManager
- All Implemented Interfaces:
- com.barteo.emulator.device.FontManager
- public class AppletFontManager
- extends java.lang.Object
- implements com.barteo.emulator.device.FontManager
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FACE_SYSTEM_NAME
static java.lang.String FACE_SYSTEM_NAME
FACE_MONOSPACE_NAME
static java.lang.String FACE_MONOSPACE_NAME
FACE_PROPORTIONAL_NAME
static java.lang.String FACE_PROPORTIONAL_NAME
SIZE_SMALL
static int SIZE_SMALL
SIZE_MEDIUM
static int SIZE_MEDIUM
SIZE_LARGE
static int SIZE_LARGE
tmpComponent
java.awt.Component tmpComponent
fontsMetrics
java.util.Hashtable fontsMetrics
AppletFontManager
public AppletFontManager()
getFontMetrics
java.awt.FontMetrics getFontMetrics(javax.microedition.lcdui.Font meFont)
charWidth
public int charWidth(javax.microedition.lcdui.Font f,
char ch)
- Specified by:
charWidth
in interface com.barteo.emulator.device.FontManager
charsWidth
public int charsWidth(javax.microedition.lcdui.Font f,
char[] ch,
int offset,
int length)
- Specified by:
charsWidth
in interface com.barteo.emulator.device.FontManager
getBaselinePosition
public int getBaselinePosition(javax.microedition.lcdui.Font f)
- Specified by:
getBaselinePosition
in interface com.barteo.emulator.device.FontManager
getHeight
public int getHeight(javax.microedition.lcdui.Font f)
- Specified by:
getHeight
in interface com.barteo.emulator.device.FontManager
stringWidth
public int stringWidth(javax.microedition.lcdui.Font f,
java.lang.String str)
- Specified by:
stringWidth
in interface com.barteo.emulator.device.FontManager