| 
 | MIDP3.0 | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Font | |
|---|---|
| javax.microedition.lcdui | The APIs in the LCDUI package provide a set of features for implementing user interfaces in MIDP applications. | 
| Uses of Font in javax.microedition.lcdui | 
|---|
| Methods in javax.microedition.lcdui that return Font | |
|---|---|
| static Font | Font.createFont(java.io.InputStream fontData)Returns a new Fontusing the specified font input data. | 
|  Font | Font.deriveFont(int pixelSize)Creates a new Fontobject by replicating thisFontobject and applying a new size to it. | 
|  Font | Font.deriveFont(int style,
           int pixelSize)Creates a new Fontobject by replicating thisFontobject and applying a new style and size. | 
| static Font[] | Font.getAvailableFonts()Returns an array of Fontwhere each Font object represents
 a physical font available in the system. | 
| static Font[] | Font.getAvailableFonts(int style)Returns an array of Fontobjects where each object
 represents a physical font having specifiedstyle. | 
| static Font[] | Font.getAvailableFonts(int face,
                  int style,
                  int pixelSize)Returns an array of Fontobjects where each object
 represents a physical font having specifiedface,styleandpixelSize. | 
| static Font | Font.getDefaultFont()Gets the default font of the system. | 
|  Font | TextEditor.getFont()Gets the font being used in rendering the text content in this TextEditor. | 
|  Font | Text.getFont()Gets the default Font for this Text object. | 
|  Font | StringItem.getFont()Gets the application's preferred font for rendering this StringItem. | 
|  Font | Menu.getFont()Gets the application's preferred font for rendering the labels for this Menu. | 
|  Font | Graphics.getFont()Gets the current font. | 
|  Font | Command.getFont()Gets the application's preferred font for rendering this Command. | 
|  Font | Text.getFont(int index)Gets the Font in use for the character at index. | 
|  Font | List.getFont(int elementNum)Gets the application's preferred font for rendering the specified element of this Choice. | 
| static Font | Font.getFont(int fontSpecifier)Gets the Fontused by the high level user interface for
 thefontSpecifierpassed in. | 
|  Font | ChoiceGroup.getFont(int elementNum)Gets the application's preferred font for rendering the specified element of this Choice. | 
|  Font | Choice.getFont(int elementNum)Gets the application's preferred font for rendering the specified element of this Choice. | 
| static Font | Font.getFont(int face,
        int style,
        int size)Obtains an object representing a font (including custom fonts that are either packaged with a MIDlet or downloaded at run-time, if applicable) having the specified face, style and size. | 
| static Font | Font.getFont(java.lang.String name,
        int style,
        int pixelSize)Returns a new Fontobject from the font specified by name,
 style and size in pixels. | 
| Methods in javax.microedition.lcdui with parameters of type Font | |
|---|---|
|  void | TextEditor.setFont(Font font)Sets the application preferred font for rendering the text content in this TextEditor. | 
|  void | Text.setFont(Font font)Sets the default Font for this Text object. | 
|  void | StringItem.setFont(Font font)Sets the application's preferred font for rendering this StringItem. | 
|  void | Menu.setFont(Font font)Sets the application's preferred font for rendering the labels for this Menu. | 
|  void | Graphics.setFont(Font font)Sets the font for all subsequent text rendering operations. | 
|  void | Command.setFont(Font font)Sets the application's preferred font for rendering this Command. | 
|  void | Text.setFont(Font font,
        int index,
        int length)Sets the per character Font for a subrange of this Text object. | 
|  void | List.setFont(int elementNum,
        Font font)Sets the application's preferred font for rendering the specified element of this Choice. | 
|  void | ChoiceGroup.setFont(int elementNum,
        Font font)Sets the application's preferred font for rendering the specified element of this Choice. | 
|  void | Choice.setFont(int elementNum,
        Font font)Sets the application's preferred font for rendering the specified element of this Choice. | 
| 
 | MIDP3.0 | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||