Java DTV API 1.3
18-Nov-2009

Uses of Class
com.sun.dtv.lwuit.Font

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

Copyright © 2008-2009 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, California 95054, U.S.A. All rights reserved.

U.S. Government Rights - Commercial software. Government users are subject to the Sun Microsystems, Inc. standard license agreement and applicable provisions of the FAR and its supplements. Sun, Sun Microsystems, the Sun logo and Java are trademarks or registered trademarks of Sun Microsystems, Inc. in the U.S. and other countries.Products covered by and information contained in this service manual are controlled by U.S. Export Control laws and may be subject to the export or import laws in other countries. Nuclear, missile, chemical biological weapons or nuclear maritime end uses or end users, whether direct or indirect, are strictly prohibited. Export or reexport to countries subject to U.S. embargo or to entities identified on U.S. export exclusion lists, including, but not limited to, the denied persons and specially designated nationals lists is strictly prohibited.

DOCUMENTATION IS PROVIDED AS IS AND ALL EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND WARRANTIES, INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT, ARE DISCLAIMED, EXCEPT TO THE EXTENT THAT SUCH DISCLAIMERS ARE HELD TO BE LEGALLY INVALID.

Use of this document is subject to license terms.