Lines Matching refs:width

236      * The width of the component.
241 int width;
724 * the same value regardless of the height or width. For example, a
733 * and does not change as the width is varied. That is, for
756 * int baseline = getBaseline(preferredSize.width,
758 * int nextBaseline = getBaseline(preferredSize.width,
784 * varies with the width of the component. This is also returned
849 return new Rectangle(comp.x, comp.y, comp.width, comp.height);
912 public void setSize(Component comp, int width, int height) {
913 comp.width = width;
945 return comp.width;
2091 setBounds(x, y, width, height);
2119 * this component's height, and the <code>width</code>
2121 * this component's width.
2137 return new Dimension(width, height);
2141 * Resizes this component so that it has width <code>width</code>
2147 * @param width the new width of this component in pixels
2154 public void setSize(int width, int height) {
2155 resize(width, height);
2163 public void resize(int width, int height) {
2166 setBounds(x, y, width, height);
2171 * Resizes this component so that it has width <code>d.width</code>
2195 setSize(d.width, d.height);
2201 * component's width, height, and location relative to
2218 return new Rectangle(x, y, width, height);
2224 * new size is specified by <code>width</code> and <code>height</code>.
2231 * @param width the new <code>width</code> of this component
2242 public void setBounds(int x, int y, int width, int height) {
2243 reshape(x, y, width, height);
2251 public void reshape(int x, int y, int width, int height) {
2255 boolean resized = (this.width != width) || (this.height != height);
2262 int oldWidth = this.width;
2266 this.width = width;
2278 reshapeNativePeer(x, y, width, height, getBoundsOp());
2280 resized = (oldWidth != this.width) || (oldHeight != this.height);
2318 private void reshapeNativePeer(int x, int y, int width, int height, int op) {
2330 peer.setBounds(nativeX, nativeY, width, height, op);
2370 * and its new size is specified by <code>r.width</code> and
2387 setBounds(r.x, r.y, r.width, r.height);
2422 * Returns the current width of this component.
2424 * <code>component.getBounds().width</code>,
2425 * or <code>component.getSize().width</code> because it
2428 * @return the current width of this component
2432 return width;
2472 * Stores the width/height of this component into "return value" <b>rv</b>
2794 * @param width the width to get the baseline for
2798 * @throws IllegalArgumentException if width or height is &lt; 0
2803 public int getBaseline(int width, int height) {
2804 if (width < 0 || height < 0) {
3007 ((ConstrainableGraphics) g).constrain(x, y, width, height);
3010 g.setClip(0, 0, width, height);
3031 ((ConstrainableGraphics) g).constrain(x, y, width, height);
3034 g.setClip(0, 0, width, height);
3176 * For performance reasons, <code>Component</code>s with zero width
3244 runOneComponent(this, new Rectangle(0, 0, width, height),
3286 repaint(0, 0, 0, width, height);
3305 repaint(tm, 0, 0, width, height);
3323 * @param width the width
3328 public void repaint(int x, int y, int width, int height) {
3329 repaint(0, x, y, width, height);
3349 * @param width the width
3354 public void repaint(long tm, int x, int y, int width, int height) {
3362 width += x;
3370 int pwidth = (width > this.width) ? this.width : width;
3383 (width > 0) && (height > 0)) {
3385 new Rectangle(x, y, width, height));
3425 runOneComponent(this, new Rectangle(0, 0, width, height),
3482 * <code>width</code>, and <code>height</code> arguments depends on
3489 * @param w the width
3516 repaint(rate, 0, 0, width, height);
3538 * @param width the specified width
3549 public Image createImage(int width, int height) {
3552 if (parent != null) { return parent.createImage(width, height); }
3555 return (peer != null) ? peer.createImage(width, height) : null;
3562 * @param width the specified width.
3574 public VolatileImage createVolatileImage(int width, int height) {
3578 return parent.createVolatileImage(width, height);
3583 peer.createVolatileImage(width, height) : null;
3592 * @param width the specified width.
3602 public VolatileImage createVolatileImage(int width, int height,
3605 return createVolatileImage(width, height);
3626 * specified width and height.
3633 * @param width the width of the desired screen representation
3642 public boolean prepareImage(Image image, int width, int height,
3647 ? parent.prepareImage(image, width, height, observer)
3648 : getToolkit().prepareImage(image, width, height, observer);
3651 ? peer.prepareImage(image, width, height, observer)
3652 : getToolkit().prepareImage(image, width, height, observer);
3700 * @param width the width of the scaled version
3714 public int checkImage(Image image, int width, int height,
3719 ? parent.checkImage(image, width, height, observer)
3720 : getToolkit().checkImage(image, width, height, observer);
3723 ? peer.checkImage(image, width, height, observer)
3724 : getToolkit().checkImage(image, width, height, observer);
3925 int width;
3990 width = getWidth();
4129 if (checkSize && (getWidth() != width || getHeight() != height)) {
4239 protected int width;
4286 width = getWidth();
4289 int iWidth = width - insets.left - insets.right;
4292 // It is possible for the component's width and/or height
4356 width - insets.right,
4419 if (getWidth() != width || getHeight() != height ||
4610 return (x >= 0) && (x < width) && (y >= 0) && (y < height);
8076 String str = (thisName != null? thisName : "") + "," + x + "," + y + "," + width + "x" + height;
8938 peer.setBounds(nativeX, nativeY, width, height,
9465 * The bounds specify this object's width, height, and location
9478 * The bounds specify this object's width, height, and location
9491 * height, and the width field of the <code>Dimension</code>
9492 * object contains this object's width.
9503 * Resizes this object so that it has width and height.