Searched refs:availTextWidth (Results 1 - 6 of 6) sorted by relevance
/openjdk7/jdk/src/share/classes/sun/swing/ |
H A D | SwingUtilities2.java | 408 * @param availTextWidth Amount of space that the string can be drawn in 413 int availTextWidth) { 418 if (textWidth > availTextWidth) { 419 return SwingUtilities2.clipString(c, fm, string, availTextWidth); 432 * @param availTextWidth Amount of space that the string can be drawn in 436 String string, int availTextWidth) { 439 availTextWidth -= SwingUtilities2.stringWidth(c, fm, clipString); 440 if (availTextWidth <= 0) { 454 if (width > availTextWidth) { 470 int nChars = measurer.nextOffset(availTextWidth); 411 clipStringIfNecessary(JComponent c, FontMetrics fm, String string, int availTextWidth) argument 435 clipString(JComponent c, FontMetrics fm, String string, int availTextWidth) argument [all...] |
/openjdk7/jdk/src/macosx/classes/com/apple/laf/ |
H A D | AquaInternalFrameBorder.java | 172 final int availTextWidth = totalWidth - usedWidth - iconWidth - sAfterButtonPad; 185 if (totalTextWidth > availTextWidth) { 191 if ((totalTextWidth + nextCharWidth) > availTextWidth) {
|
H A D | AquaTabbedPaneCopyFromBasicUI.java | 829 final int availTextWidth = tabScroller.croppedEdge.getCropline() - (textRect.x - tabRect.x) - tabScroller.croppedEdge.getCroppedSideWidth(); 830 clippedTitle = SwingUtilities2.clipStringIfNecessary(null, metrics, title, availTextWidth);
|
/openjdk7/jdk/src/share/classes/javax/swing/ |
H A D | SwingUtilities.java | 989 int availTextWidth; 993 availTextWidth = viewR.width; 996 availTextWidth = viewR.width - (iconR.width + gap); 1000 textR.width = Math.min(availTextWidth, 1019 if (textR.width > availTextWidth) { 1021 availTextWidth);
|
/openjdk7/jdk/src/share/classes/javax/swing/plaf/basic/ |
H A D | BasicInternalFrameTitlePane.java | 360 protected String getTitle(String text, FontMetrics fm, int availTextWidth) { argument 362 frame, fm, text, availTextWidth);
|
H A D | BasicTabbedPaneUI.java | 875 int availTextWidth = tabScroller.croppedEdge.getCropline() - 877 clippedTitle = SwingUtilities2.clipStringIfNecessary(null, metrics, title, availTextWidth);
|
Completed in 335 milliseconds