Searched refs:availTextWidth (Results 1 - 6 of 6) sorted by relevance

/openjdk7/jdk/src/share/classes/sun/swing/
H A DSwingUtilities2.java408 * @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 DAquaInternalFrameBorder.java172 final int availTextWidth = totalWidth - usedWidth - iconWidth - sAfterButtonPad;
185 if (totalTextWidth > availTextWidth) {
191 if ((totalTextWidth + nextCharWidth) > availTextWidth) {
H A DAquaTabbedPaneCopyFromBasicUI.java829 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 DSwingUtilities.java989 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 DBasicInternalFrameTitlePane.java360 protected String getTitle(String text, FontMetrics fm, int availTextWidth) { argument
362 frame, fm, text, availTextWidth);
H A DBasicTabbedPaneUI.java875 int availTextWidth = tabScroller.croppedEdge.getCropline() -
877 clippedTitle = SwingUtilities2.clipStringIfNecessary(null, metrics, title, availTextWidth);

Completed in 672 milliseconds