Java Platform 1.2
Beta 4

Uses of Class
java.awt.FontMetrics

Packages that use FontMetrics
com.sun.java.accessibility   
com.sun.java.swing Provides a set of "lightweight" (all-Java
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.  
java.awt Contains all of the classes for creating user interfaces and for painting graphics and images.  
 

Uses of FontMetrics in com.sun.java.accessibility
 

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

Uses of FontMetrics in com.sun.java.swing
 

Methods in com.sun.java.swing that return FontMetrics
 FontMetrics JComponent.AccessibleJComponent.getFontMetrics(Font f)
          Get the FontMetrics of this object.
 FontMetrics JFrame.AccessibleJFrame.getFontMetrics(Font f)
          Get the FontMetrics of this object.
 FontMetrics JWindow.AccessibleJWindow.getFontMetrics(Font f)
          Get the FontMetrics of this object.
 FontMetrics CellRendererPane.AccessibleCellRendererPane.getFontMetrics(Font f)
          Get the FontMetrics of this object.
 FontMetrics JTable.AccessibleJTable.AccessibleJTableCell.getFontMetrics(Font f)
          Get the FontMetrics of this object.
 FontMetrics JTree.AccessibleJTree.AccessibleJTreeNode.getFontMetrics(Font f)
           
 FontMetrics JDialog.AccessibleJDialog.getFontMetrics(Font f)
          Get the FontMetrics of this object.
 FontMetrics DebugGraphics.getFontMetrics()
           
 FontMetrics DebugGraphics.getFontMetrics(Font f)
           
 FontMetrics JApplet.AccessibleJApplet.getFontMetrics(Font f)
          Get the FontMetrics of this object.
 FontMetrics Box.Filler.AccessibleBoxFiller.getFontMetrics(Font f)
          Gets the FontMetrics of this object.
 FontMetrics Box.AccessibleBox.getFontMetrics(Font f)
          Gets the FontMetrics of this object.
 FontMetrics JList.AccessibleJList.AccessibleJListChild.getFontMetrics(Font f)
           
 

Methods in com.sun.java.swing with parameters of type FontMetrics
static int SwingUtilities.computeStringWidth(FontMetrics fm, String str)
           
static String SwingUtilities.layoutCompoundLabel(FontMetrics fm, String text, Icon icon, int verticalAlignment, int horizontalAlignment, int verticalTextPosition, int horizontalTextPosition, Rectangle viewR, Rectangle iconR, Rectangle textR, int textIconGap)
          Compute and return the location of the icons origin, the location of origin of the text baseline, and a possibly clipped version of the compound labels string.
 

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

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

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

Fields in com.sun.java.swing.text declared as FontMetrics
protected  FontMetrics PlainView.metrics
          Font metrics for the currrent font.
 

Methods in com.sun.java.swing.text that return FontMetrics
protected  FontMetrics FieldView.getFontMetrics()
          Fetches the font metrics associated with the component hosting this view.
 FontMetrics StyleContext.getFontMetrics(Font f)
          Returns font metrics for a font.
protected  FontMetrics LabelView.getFontMetrics()
          Fetch the FontMetrics used for this view.
 

Methods in com.sun.java.swing.text with parameters of type FontMetrics
static int Utilities.getTabbedTextWidth(Segment s, FontMetrics metrics, int x, TabExpander e, int startOffset)
          Determines the width of the given segment of text taking tabs into consideration.
static int Utilities.getTabbedTextOffset(Segment s, FontMetrics metrics, int x0, int x, TabExpander e, int startOffset)
          Determines the relative offset into the given text that best represents the given span in the view coordinate system.
static int Utilities.getBreakLocation(Segment s, FontMetrics metrics, int x0, int x, TabExpander e, int startOffset)
          Determine where to break the given text to fit within the the given span.
 

Uses of FontMetrics in java.awt
 

Methods in java.awt that return FontMetrics
 FontMetrics Component.getFontMetrics(Font font)
          Gets the font metrics for the specified font.
 FontMetrics Graphics.getFontMetrics()
          Gets the font metrics of the current font.
abstract  FontMetrics Graphics.getFontMetrics(Font f)
          Gets the font metrics for the specified font.
abstract  FontMetrics Toolkit.getFontMetrics(Font font)
          Deprecated. This returns integer metrics for the default screen.
 


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.