Lines Matching refs:width

111     // The choice's popup width and location should be adjust to appear
169 public void setBounds(int x, int y, int width, int height, int op) {
172 int oldWidth = this.width;
174 super.setBounds(x, y, width, height, op);
175 if (unfurled && (oldX != this.x || oldY != this.y || oldWidth != this.width || oldHeight != this.height) ) {
535 //textRect.width = fm.stringWidth(text);
536 textRect.width = fm.stringWidth(text == null ? "" : text);
537 textRect.x = Math.max(minTextX, size.width / 2 - textRect.width / 2);
542 focusRect.width = size.width-(focusInsets.left+focusInsets.right)-1;
559 g.fillRect(0, 0, width, height);
561 drawMotif3DRect(g, 1, 1, width-2, height-2, false);
562 drawMotif3DRect(g, width - WIDGET_OFFSET, (height / 2) - 3, 12, 6, false);
569 g.setClip(1, 1, width - WIDGET_OFFSET - 2, height);
580 g.setClip(0, 0, width, height);
584 paintFocus(g,focusInsets.left,focusInsets.top,size.width-(focusInsets.left+focusInsets.right)-1,size.height-(focusInsets.top+focusInsets.bottom)-1);
653 unfurledChoice.reshape(r.x, r.y, r.width, r.height);
676 unfurledChoice.reshape(r.x, r.y, r.width, r.height);
774 // w = Max(target.width, getLongestItemWidth) + possible vertScrollbar
795 // we've got the left and width, calculate top and height
796 width = result.width;
804 width = Math.max(XChoicePeer.this.width,
813 else if (x + width > screen.width) {
814 x = screen.width - width;
823 return new Rectangle(x, y, width, height);
832 reshape(r.x, r.y, r.width, r.height);
883 helper.trackMouseDraggedScroll(local.x, local.y, width, height);
892 if (transX > 0 && transX < width &&
897 + ",width=" + width + ", height=" + height
918 g.fillRect(0, 0, width, height);
939 draw3DRect(g, getSystemColors(), 0, 0, width - 1, height - 1, true);
940 draw3DRect(g, getSystemColors(), 1, 1, width - 3, height - 3, true);
973 if (local.x > 0 && local.x < width &&
1101 if (x < 0 || x > choiceRect.width ||