Lines Matching refs:availTextWidth
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);