|
JSR-62 (Final) | ||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Font | |
java.awt | Contains all of the classes for creating user interfaces and for painting graphics and images. |
Uses of Font in java.awt |
Fields in java.awt declared as Font | |
protected Font |
FontMetrics.font
The actual Font from which the font metrics are
created. |
Methods in java.awt that return Font | |
Font |
MenuComponent.getFont()
Gets the font used for this menu component. |
Font |
MenuContainer.getFont()
|
abstract Font |
Graphics.getFont()
Gets the current font. |
Font |
FontMetrics.getFont()
Gets the Font described by this
FontMetrics object. |
static Font |
Font.getFont(String nm)
Returns a Font object from the system properties list. |
static Font |
Font.decode(String str)
Returns the Font that the
str argument describes. |
static Font |
Font.getFont(String nm,
Font font)
Gets the specified Font from the system properties
list. |
Font |
Component.getFont()
Gets the font of this component. |
Methods in java.awt with parameters of type Font | |
abstract FontMetrics |
Toolkit.getFontMetrics(Font font)
Deprecated. This returns integer metrics for the default screen. |
void |
MenuComponent.setFont(Font f)
Sets the font to be used for this menu component to the specified font. |
abstract void |
Graphics.setFont(Font font)
Sets this graphics context's font to the specified font. |
abstract FontMetrics |
Graphics.getFontMetrics(Font f)
Gets the font metrics for the specified font. |
static Font |
Font.getFont(String nm,
Font font)
Gets the specified Font from the system properties
list. |
void |
Container.setFont(Font f)
Sets the font of this container. |
void |
Component.setFont(Font f)
Sets the font of this component. |
FontMetrics |
Component.getFontMetrics(Font font)
Gets the font metrics for the specified font. |
Constructors in java.awt with parameters of type Font | |
FontMetrics(Font font)
Creates a new FontMetrics object for finding out
height and width information about the specified Font
and specific character glyphs in that Font . |
|
JSR-62 (Final) | ||||||||||
PREV NEXT | FRAMES NO FRAMES |