|
Java DTV API 1.3 18-Nov-2009 |
||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Font | |
---|---|
com.sun.dtv.lwuit | Main widget package containing the component/container "composite" similar both in terminology and design to Swing/AWT. |
com.sun.dtv.lwuit.plaf | Look of the application can be fully customized via this package, it represents a rendering layer that can be plugged in separately in runtime and themed to provide any custom look. |
com.sun.dtv.lwuit.util | Utility features that are either too domain specific or don't "fit" into any other packages. |
Uses of Font in com.sun.dtv.lwuit |
---|
Methods in com.sun.dtv.lwuit that return Font | |
---|---|
static Font |
Font.createBitmapFont(Image bitmap,
int[] cutOffsets,
int[] charWidth,
String charsets)
Creates a bitmap font with the given arguments. |
static Font |
Font.createBitmapFont(String name,
Image bitmap,
int[] cutOffsets,
int[] charWidth,
String charsets)
Creates a bitmap font with the given arguments and places said font in the cache. |
static Font |
Font.createSystemFont(int face,
int style,
int size)
Creates a system native font in a similar way to common MIDP fonts. |
static Font |
Font.decode(String str)
Returns the Font described by the argument. |
static Font |
Font.getBitmapFont(String fontName)
Returns a previously loaded bitmap font from cache. |
static Font |
Font.getDefaultFont()
Return the global default font instance. |
Font |
Graphics.getFont()
Returns the font used with the drawString method calls. |
static Font |
Font.getFont(Map attributes)
Returns a Font appropriate to this attribute set. |
static Font |
Font.getFont(String nm)
Returns a Font object from the system properties
list. |
static Font |
Font.getFont(String nm,
Font font)
Gets the specified Font from the system. |
Methods in com.sun.dtv.lwuit with parameters of type Font | |
---|---|
static Font |
Font.getFont(String nm,
Font font)
Gets the specified Font from the system. |
static void |
Font.setDefaultFont(Font f)
Sets the global default font instance. |
void |
Graphics.setFont(Font font)
Sets the font to use with the drawString method calls. |
Uses of Font in com.sun.dtv.lwuit.plaf |
---|
Methods in com.sun.dtv.lwuit.plaf that return Font | |
---|---|
Font |
Style.getFont()
Returns the font for the component. |
Methods in com.sun.dtv.lwuit.plaf with parameters of type Font | |
---|---|
void |
Style.setFont(Font font)
Sets the font for the component. |
void |
Style.setFont(Font font,
boolean override)
Sets the font for the component. |
Constructors in com.sun.dtv.lwuit.plaf with parameters of type Font | |
---|---|
Style(Color fgColor,
Color bgColor,
Color fgSelectionColor,
Color bgSelectionColor,
Font f,
byte transparency)
Creates a new style with the given attributes. |
|
Style(Color fgColor,
Color bgColor,
Color fgSelectionColor,
Color bgSelectionColor,
Font f,
byte transparency,
Image im,
boolean scaledImage)
Creates a new style with the given attributes. |
Uses of Font in com.sun.dtv.lwuit.util |
---|
Methods in com.sun.dtv.lwuit.util that return Font | |
---|---|
Font |
Resources.getFont(String id)
Returns the font resource from the file. |
|
Java DTV API 1.3 18-Nov-2009 |
||||||||
PREV NEXT | FRAMES NO FRAMES |