Java Platform 1.2
Beta 4

Uses of Class
java.awt.Font

Packages that use Font
com.sun.java.accessibility   
com.sun.java.swing Provides a set of "lightweight" (all-Java
com.sun.java.swing.border Provides classes and interface for drawing specialized borders around a Swing component.  
com.sun.java.swing.plaf Provides one interface and many abstract classes that Swing uses to provide its pluggable look-and-feel capabilities.  
com.sun.java.swing.table Provides classes and interfaces for dealing with java.awt.swing. 
com.sun.java.swing.text Provides classes and interfaces that deal with editable and noneditable text components.  
com.sun.java.swing.text.html Provides the class (HTMLEditorKit) and supporting classes for creating HTML text editors.  
com.sun.java.swing.tree Provides classes and interfaces for dealing with java.awt.swing. 
java.awt Contains all of the classes for creating user interfaces and for painting graphics and images.  
java.awt.font Provides classes and interface relating to fonts.  
 

Uses of Font in com.sun.java.accessibility
 

Methods in com.sun.java.accessibility that return Font
 Font AccessibleComponent.getFont()
          Get the Font of this object.
 

Methods in com.sun.java.accessibility with parameters of type Font
 void AccessibleComponent.setFont(Font f)
          Set the Font of this object.
 FontMetrics AccessibleComponent.getFontMetrics(Font f)
          Get the FontMetrics of this object.
 

Uses of Font in com.sun.java.swing
 

Methods in com.sun.java.swing that return Font
 Font JComponent.AccessibleJComponent.getFont()
          Get the Font of this object.
 Font JFrame.AccessibleJFrame.getFont()
          Get the Font of this object.
 Font JWindow.AccessibleJWindow.getFont()
          Get the Font of this object.
 Font CellRendererPane.AccessibleCellRendererPane.getFont()
          Get the Font of this object.
static Font UIManager.getFont(Object key)
           
 Font JTable.AccessibleJTable.AccessibleJTableCell.getFont()
          Get the Font of this object.
 Font JTree.AccessibleJTree.AccessibleJTreeNode.getFont()
           
 Font JDialog.AccessibleJDialog.getFont()
          Get the Font of this object.
 Font DebugGraphics.getFont()
          Returns the Font used for text drawing operations.
 Font JApplet.AccessibleJApplet.getFont()
          Get the Font of this object.
 Font Box.Filler.AccessibleBoxFiller.getFont()
          Gets the Font of this object.
 Font Box.AccessibleBox.getFont()
          Gets the Font of this object.
 Font UIDefaults.getFont(Object key)
          If the value of key is a Font return it, otherwise return null.
 Font JList.AccessibleJList.AccessibleJListChild.getFont()
           
 

Methods in com.sun.java.swing with parameters of type Font
 void JComponent.AccessibleJComponent.setFont(Font f)
          Set the Font of this object.
 FontMetrics JComponent.AccessibleJComponent.getFontMetrics(Font f)
          Get the FontMetrics of this object.
 void JFrame.AccessibleJFrame.setFont(Font f)
          Set the Font of this object.
 FontMetrics JFrame.AccessibleJFrame.getFontMetrics(Font f)
          Get the FontMetrics of this object.
static TitledBorder BorderFactory.createTitledBorder(Border border, String title, int titleJustification, int titlePosition, Font titleFont)
           
static TitledBorder BorderFactory.createTitledBorder(Border border, String title, int titleJustification, int titlePosition, Font titleFont, Color titleColor)
           
 void JWindow.AccessibleJWindow.setFont(Font f)
          Set the Font of this object.
 FontMetrics JWindow.AccessibleJWindow.getFontMetrics(Font f)
          Get the FontMetrics of this object.
 void CellRendererPane.AccessibleCellRendererPane.setFont(Font f)
          Set the Font of this object.
 FontMetrics CellRendererPane.AccessibleCellRendererPane.getFontMetrics(Font f)
          Get the FontMetrics of this object.
 void JTable.AccessibleJTable.AccessibleJTableCell.setFont(Font f)
          Set the Font of this object.
 FontMetrics JTable.AccessibleJTable.AccessibleJTableCell.getFontMetrics(Font f)
          Get the FontMetrics of this object.
 void JTree.AccessibleJTree.AccessibleJTreeNode.setFont(Font f)
           
 FontMetrics JTree.AccessibleJTree.AccessibleJTreeNode.getFontMetrics(Font f)
           
 void JDialog.AccessibleJDialog.setFont(Font f)
          Set the Font of this object.
 FontMetrics JDialog.AccessibleJDialog.getFontMetrics(Font f)
          Get the FontMetrics of this object.
 void JTextField.setFont(Font f)
          Sets the current font.
 void JLabel.setFont(Font font)
          Sets the font used to display the label's text.
 void DebugGraphics.setFont(Font aFont)
          Sets the Font used for text drawing operations.
 FontMetrics DebugGraphics.getFontMetrics(Font f)
           
 void JApplet.AccessibleJApplet.setFont(Font f)
          Set the Font of this object.
 FontMetrics JApplet.AccessibleJApplet.getFontMetrics(Font f)
          Get the FontMetrics of this object.
 void JTextArea.setFont(Font f)
          Sets the current font.
 void Box.Filler.AccessibleBoxFiller.setFont(Font f)
          Sets the Font of this object.
 FontMetrics Box.Filler.AccessibleBoxFiller.getFontMetrics(Font f)
          Gets the FontMetrics of this object.
 void Box.AccessibleBox.setFont(Font f)
          Sets the Font of this object.
 FontMetrics Box.AccessibleBox.getFontMetrics(Font f)
          Gets the FontMetrics of this object.
 void JList.AccessibleJList.AccessibleJListChild.setFont(Font f)
           
 FontMetrics JList.AccessibleJList.AccessibleJListChild.getFontMetrics(Font f)
           
 

Uses of Font in com.sun.java.swing.border
 

Fields in com.sun.java.swing.border declared as Font
protected  Font TitledBorder.titleFont
           
 

Methods in com.sun.java.swing.border that return Font
 Font TitledBorder.getTitleFont()
          Returns the title-font of the titled border.
protected  Font TitledBorder.getFont(Component c)
           
 

Methods in com.sun.java.swing.border with parameters of type Font
 void TitledBorder.setTitleFont(Font titleFont)
          Sets the title-font of the titled border.
 

Constructors in com.sun.java.swing.border with parameters of type Font
TitledBorder.TitledBorder(Border border, String title, int titleJustification, int titlePosition, Font titleFont)
          Creates a TitledBorder instance with the specified border, title, title-justification, title-position, and title-font.
TitledBorder.TitledBorder(Border border, String title, int titleJustification, int titlePosition, Font titleFont, Color titleColor)
          Creates a TitledBorder instance with the specified border, title, title-justification, title-position, title-font, and title-color.
 

Uses of Font in com.sun.java.swing.plaf
 

Subclasses of Font in com.sun.java.swing.plaf
  FontUIResource
          A subclass of java.awt.
 

Constructors in com.sun.java.swing.plaf with parameters of type Font
FontUIResource.FontUIResource(Font font)
           
BorderUIResource.TitledBorderUIResource.BorderUIResource.TitledBorderUIResource(Border border, String title, int titleJustification, int titlePosition, Font titleFont)
           
BorderUIResource.TitledBorderUIResource.BorderUIResource.TitledBorderUIResource(Border border, String title, int titleJustification, int titlePosition, Font titleFont, Color titleColor)
           
 

Uses of Font in com.sun.java.swing.table
 

Methods in com.sun.java.swing.table that return Font
 Font JTableHeader.AccessibleJTableHeader.AccessibleJTableHeaderEntry.getFont()
           
 

Methods in com.sun.java.swing.table with parameters of type Font
 void JTableHeader.AccessibleJTableHeader.AccessibleJTableHeaderEntry.setFont(Font f)
           
 FontMetrics JTableHeader.AccessibleJTableHeader.AccessibleJTableHeaderEntry.getFontMetrics(Font f)
           
 

Uses of Font in com.sun.java.swing.text
 

Methods in com.sun.java.swing.text that return Font
 Font DefaultStyledDocument.getFont(AttributeSet attr)
          Gets the font from an attribute set.
 Font StyleContext.getFont(AttributeSet attr)
          Gets the font from an attribute set.
 Font StyleContext.getFont(String family, int style, int size)
          Gets a new font.
protected  Font LabelView.getFont()
          Fetch the Font used for this view.
 Font StyledDocument.getFont(AttributeSet attr)
          Takes a set of attributes and turn it into a font specification.
 

Methods in com.sun.java.swing.text with parameters of type Font
 FontMetrics StyleContext.getFontMetrics(Font f)
          Returns font metrics for a font.
 

Uses of Font in com.sun.java.swing.text.html
 

Methods in com.sun.java.swing.text.html that return Font
 Font StyleSheet.getFont(AttributeSet a)
          Fetch the font to use for the given set of attributes.
 

Uses of Font in com.sun.java.swing.tree
 

Fields in com.sun.java.swing.tree declared as Font
protected  Font DefaultTreeCellEditor.font
          Font to paint with, null indicates font of renderer is to be used.
 

Methods in com.sun.java.swing.tree that return Font
 Font DefaultTreeCellEditor.getFont()
           
 Font DefaultTreeCellEditor.DefaultTextField.getFont()
           
 

Methods in com.sun.java.swing.tree with parameters of type Font
 void DefaultTreeCellEditor.setFont(Font font)
          Sets the font to edit with. null indicates the renderers font should be used.
 void DefaultTreeCellRenderer.setFont(Font font)
          Subclassed to only accept the font if it isn't a FontUIResource.
 

Uses of Font in java.awt
 

Fields in java.awt declared as Font
protected  Font FontMetrics.font
          The actual font.
 

Methods in java.awt that return Font
 Font Component.getFont()
          Gets the font of this component.
abstract  Font Graphics.getFont()
          Gets the current font.
static Font Font.getFont(Map attributes)
          Returns a font appropriate to this attribute set.
static Font Font.getFont(String nm)
          Returns a font from the system properties list.
static Font Font.decode(String str)
          Returns the specified font using the name passed in.
static Font Font.getFont(String nm, Font font)
          Returns the specified font from the system properties list.
 Font Font.deriveFont(int style, float size)
          Creates a new Font object by replicating the current Font object with a new style and size associated with it.
 Font Font.deriveFont(int style, AffineTransform trans)
          Creates a new Font object by replicating the current Font object with a new style and transform associated with it.
 Font Font.deriveFont(float size)
          Creates a new Font object by replicating the current Font object with a new size associated with it.
 Font Font.deriveFont(AffineTransform trans)
          Creates a new Font object by replicating the current Font object with a new transform associated with it.
 Font Font.deriveFont(int style)
          Creates a new Font object by replicating the current Font object with a new style associated with it.
 Font Font.deriveFont(Map attributes)
          Creates a new Font object by replicating the current Font object with a new set of font attributes associated with it.
abstract  Font[] GraphicsEnvironment.getAllFonts()
          Returns an array containing a one-point size instance of all fonts available in this environment.
abstract  Font[] GraphicsEnvironment.getFonts(Map attributes)
          Returns an array containing a instances of all fonts available in this environment which match the attributes specified in the Map.
 Font MenuComponent.getFont()
          Gets the font used for this menu component.
 Font FontMetrics.getFont()
          Gets the font described by this font metric.
 Font MenuContainer.getFont()
           
 

Methods in java.awt with parameters of type Font
 void Component.setFont(Font f)
          Sets the font of this component.
 FontMetrics Component.getFontMetrics(Font font)
          Gets the font metrics for 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)
          Returns the specified font from the system properties list.
 void MenuComponent.setFont(Font f)
          Sets the font to be used for this menu component to the specified font.
abstract  FontMetrics Toolkit.getFontMetrics(Font font)
          Deprecated. This returns integer metrics for the default screen.
 

Constructors in java.awt with parameters of type Font
FontMetrics.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.
 

Uses of Font in java.awt.font
 

Methods in java.awt.font that return Font
 Font MultipleMaster.deriveMMFont(float[] axes)
          Creates a new instance of a multiple master font based on the design axes values specified by the array.
 Font MultipleMaster.deriveMMFont(float[] glyphWidths, float avgStemWidth, float typicalCapHeight, float typicalXHeight, float italicAngle)
          Creates a new instance of a multiple master font based on detailed metric information.
abstract  Font GlyphVector.getFont()
          Return the Font associated with this GlyphVector.
 

Constructors in java.awt.font with parameters of type Font
TextLayout.TextLayout(String string, Font font, FontRenderContext frc)
          Construct a layout from a string and a font.
 


Java Platform 1.2
Beta 4

Submit a bug or feature
Submit comments/suggestions about new javadoc look
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1998 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.
This documentation was generated with a post-Beta4 version of Javadoc.