Lines Matching refs:width
91 int totalWidth; // total width of all colums
315 int width = dimensions[column] - LEFT_PAD - RIGHT_PAD;
320 x += width - w;
322 x += (width - w) / 2;
924 int width = fm.stringWidth(str.substring(0, upper));
925 if (width < textW)
931 int width = fm.stringWidth(str.substring(0, cur));
932 if (width == textW)
934 else if (width < textW)
944 // will fit into width
946 int width, int format) {
947 str = chopText(str, width);
956 x += width - w;
958 x += (width - w) / 2;
993 * Determines the width a label item needs.
1003 return ((Component) item).preferredSize().width +
1014 return s.width;
1041 // ever called, because CLComponent width calculation depends
1070 int width = fm.stringWidth(headers[c]) + 10;
1073 // column should be the width of the widest data item
1077 if (itemWidth > width)
1078 width += itemWidth - width;
1082 dimensions[c] = width;
1105 int usableWidth = canvasSize.width;
1212 size = new Dimension(size.width,
1214 if (size.width > (colWidth - 2))
1215 size.width = colWidth - 2;
1217 size.width, rowHeight);
1278 // dimensions of 0 for width
1283 if (size.width == 0 || size.height == 0) {
1292 (size.width != bufferSize.width) ||
1298 (size.width != bufferSize.width) ||
1300 buffer = createImage(size.width, size.height);
1328 bufferSizeCache[i].width == size.width &&
1349 bufferSizeCache[i] = new Dimension(size.width, size.height);
1357 bufferSizeCache[2] = new Dimension(size.width, size.height);
1423 * the minimum width is enough to fully display