Searched refs:fontHeight (Results 1 - 12 of 12) sorted by relevance

/openjdk7/jdk/src/share/classes/com/sun/java/swing/plaf/windows/
H A DWindowsPopupMenuSeparatorUI.java85 int fontHeight = 0;
88 fontHeight = c.getFontMetrics(font).getHeight();
91 return new Dimension(0, fontHeight/2 + 2);
/openjdk7/jdk/test/javax/swing/JTextArea/4697612/
H A Dbug4697612.java46 private static volatile int fontHeight; field in class:bug4697612
83 fontHeight = FONT_HEIGHT;
91 text.setFont(text.getFont().deriveFont(fontHeight));
117 fontHeight++;
/openjdk7/jdk/src/share/classes/javax/swing/text/
H A DPlainView.java271 int fontHeight = metrics.getHeight();
276 if (fontHeight > 0) {
277 linesBelow = Math.max(0, heightBelow / fontHeight);
278 linesAbove = Math.max(0, heightAbove / fontHeight);
279 linesTotal = alloc.height / fontHeight;
280 if (alloc.height % fontHeight != 0) {
312 y += fontHeight;
402 int fontHeight = metrics.getHeight();
403 int lineIndex = (fontHeight > 0 ?
404 Math.abs((y - alloc.y) / fontHeight)
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/plaf/metal/
H A DMetalInternalFrameTitlePane.java249 int fontHeight = fm.getHeight();
250 fontHeight += 7;
258 height = Math.max(fontHeight, iconHeight);
H A DMetalTitlePane.java888 int fontHeight = fm.getHeight();
889 fontHeight += 7;
895 int finalHeight = Math.max( fontHeight, iconHeight );
/openjdk7/jdk/src/share/classes/javax/swing/plaf/basic/
H A DBasicInternalFrameTitlePane.java497 int fontHeight = fm.getHeight();
498 fontHeight += 2;
506 int height = Math.max( fontHeight, iconHeight );
H A DBasicTabbedPaneUI.java707 int fontHeight = metrics.getHeight();
709 return maxTabHeight / 2 - fontHeight / 2 + fontBaseline +
768 int fontHeight = fontMetrics.getHeight();
769 int height = calculateTabHeight(tabPlacement, 0, fontHeight);
771 int newHeight = calculateTabHeight(tabPlacement, i,fontHeight);
1711 protected int calculateTabHeight(int tabPlacement, int tabIndex, int fontHeight) { argument
1723 height += fontHeight;
1740 int fontHeight = metrics.getHeight();
1742 result = Math.max(calculateTabHeight(tabPlacement, i, fontHeight), result);
2370 int fontHeight
[all...]
/openjdk7/jdk/src/macosx/classes/com/apple/laf/
H A DAquaTabbedPaneCopyFromBasicUI.java672 final int fontHeight = metrics.getHeight();
674 return maxTabHeight / 2 - fontHeight / 2 + fontBaseline + getBaselineOffset();
729 final int fontHeight = fontMetrics.getHeight();
730 final int height = calculateTabHeight(tabPlacement, 0, fontHeight);
732 final int newHeight = calculateTabHeight(tabPlacement, i, fontHeight);
1588 protected int calculateTabHeight(final int tabPlacement, final int tabIndex, final int fontHeight) { argument
1600 height += fontHeight;
1617 final int fontHeight = metrics.getHeight();
1619 result = Math.max(calculateTabHeight(tabPlacement, i, fontHeight), result);
2213 final int fontHeight
[all...]
H A DAquaTabbedPaneUI.java736 protected int calculateTabHeight(final int tabPlacement, final int tabIndex, final int fontHeight) { argument
738 final int result = super.calculateTabHeight(tabPlacement, tabIndex, fontHeight);
/openjdk7/jdk/src/share/classes/com/sun/java/swing/plaf/motif/
H A DMotifBorders.java678 int fontHeight = fm.getHeight();
689 g.fillRect(textLoc.x - TEXT_SPACING, textLoc.y - (fontHeight-descent),
690 stringWidth + (2 * TEXT_SPACING), fontHeight - descent);
/openjdk7/jdk/src/share/classes/javax/swing/plaf/synth/
H A DSynthTabbedPaneUI.java761 int fontHeight = metrics.getHeight();
763 result = Math.max(calculateTabHeight(tabPlacement, i, fontHeight), result);
/openjdk7/jdk/src/solaris/classes/sun/awt/X11/
H A DXListPeer.java80 int fontHeight; field in class:XListPeer
270 fontHeight = fm.getHeight();
503 return (fontHeight - fontLeading) + (2*SPACE);

Completed in 192 milliseconds