GNU Classpath (0.18) | ||
Frames | No Frames |
Methods with parameter type java.awt.FontMetrics | |
int | Calculates the width of a given string.
|
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) Layout a "compound label" consisting of a text string and an icon
which is to be placed near the rendered text. |
String | SwingUtilities.layoutCompoundLabel(JComponent c, FontMetrics fm, String text, Icon icon, int verticalAlignment, int horizontalAlignment, int verticalTextPosition, int horizontalTextPosition, Rectangle viewR, Rectangle iconR, Rectangle textR, int textIconGap) Layout a "compound label" consisting of a text string and an icon
which is to be placed near the rendered text. |
Methods with return type java.awt.FontMetrics | |
FontMetrics | Returns the font metrics of the current font.
|
FontMetrics | Returns the font metrics for a given font.
|
Methods with return type java.awt.FontMetrics | |
FontMetrics |
Fields of type java.awt.FontMetrics | |
FontMetrics |
Methods with parameter type java.awt.FontMetrics | |
int | Determines the width, that the given text s would take
if it was printed with the given FontMetrics on the
specified screen position.
|
Methods with return type java.awt.FontMetrics | |
FontMetrics | |
FontMetrics |
Methods with return type java.awt.FontMetrics | |
FontMetrics | Returns the font metrics for the current font.
|
FontMetrics | Returns the font metrics for the specified font in this component.
|
FontMetrics | Gets the font metrics for a font.
|
FontMetrics | Returns the font metrics for the specified font.
|
FontMetrics | Retrieves information on the rendering and metrics of the supplied
font. |
FontMetrics | Return the font metrics for the specified font
|
Methods with parameter type java.awt.FontMetrics | |
int | This method calculates the tab width, including insets, for the given tab
index and font metrics.
|
String | This method returns the title string based on the available width and the
font metrics.
|
String | BasicLabelUI.layoutCL(JLabel label, FontMetrics fontMetrics, String text, Icon icon, Rectangle viewR, Rectangle iconR, Rectangle textR) This method is simply calls SwingUtilities's layoutCompoundLabel.
|
void | BasicTabbedPaneUI.layoutLabel(int tabPlacement, FontMetrics metrics, int tabIndex, String title, Icon icon, Rectangle tabRect, Rectangle iconRect, Rectangle textRect, boolean isSelected) This method lays out the tab and finds the location to paint the icon
and text.
|
void | BasicTabbedPaneUI.paintText(Graphics g, int tabPlacement, Font font, FontMetrics metrics, int tabIndex, String title, Rectangle textRect, boolean isSelected) This method paints the text for the given tab.
|
Methods with return type java.awt.FontMetrics | |
FontMetrics | This method returns the fontmetrics for the font of the JTabbedPane.
|
Methods with return type java.awt.FontMetrics | |
FontMetrics | Get the FontMetrics of the specified font in this component.
|
Methods with return type java.awt.FontMetrics | |
FontMetrics | Get the FontMetrics of the specified font in this component.
|
GNU Classpath (0.18) |