/openjdk7/jdk/src/share/classes/javax/swing/plaf/synth/ |
H A D | SynthButtonUI.java | 188 public int getBaseline(JComponent c, int width, int height) { argument 192 if (width < 0 || height < 0) { 207 viewRect.width = width - (i.right + viewRect.x); 222 baseline = BasicHTML.getHTMLBaseline(view, textRect.width,
|
H A D | SynthProgressBarUI.java | 51 private int tileWidth; //the width of each tile 153 public int getBaseline(JComponent c, int width, int height) { argument 154 super.getBaseline(c, width, height); 245 int x = 0, y = 0, width = 0, height = 0; 253 width = (int)(percentComplete * (pBar.getWidth() 261 x = pBar.getWidth() - pBarInsets.right - width 266 width = pBar.getWidth() 284 width = boxRect.width - progressPadding - progressPadding; 295 g.clipRect(x, y, width, heigh [all...] |
H A D | SynthScrollPaneUI.java | 117 vpBorder.paintBorder(scrollpane, g, r.x, r.y, r.width, r.height); 247 int width, int height) { 256 context.getPainter().paintViewportBorder(context, g, x, y, width, 246 paintBorder(Component c, Graphics g, int x, int y, int width, int height) argument
|
H A D | SynthSpinnerUI.java | 393 Dimension size = new Dimension(editorD.width, editorD.height); 394 size.width += Math.max(nextD.width, previousD.width); 396 size.width += insets.left + insets.right; 405 private void setBounds(Component c, int x, int y, int width, int height) { argument 407 c.setBounds(x, y, width, height); 419 int buttonsWidth = Math.max(nextD.width, previousD.width);
|
/openjdk7/jdk/src/share/classes/javax/swing/table/ |
H A D | TableColumn.java | 40 * <code>JTable</code>, such as width, resizibility, minimum and maximum width. 138 /** The width of the column. */ 139 protected int width; field in class:TableColumn 141 /** The minimum width of the column. */ 144 /** The preferred width of the column. */ 147 /** The maximum width of the column. */ 190 * default width of 75, a <code>null</code> renderer and a 200 * Cover method, using a default width of 75, a <code>null</code> 213 public TableColumn(int modelIndex, int width) { argument 254 TableColumn(int modelIndex, int width, TableCellRenderer cellRenderer, TableCellEditor cellEditor) argument 511 setWidth(int width) argument [all...] |
/openjdk7/jdk/src/share/classes/javax/swing/text/ |
H A D | DefaultHighlighter.java | 66 a.width -= insets.left + insets.right; 144 if (lhi.width > 0 && lhi.height > 0) { 145 component.repaint(lhi.x, lhi.y, lhi.width, lhi.height); 175 maxX = Math.max(maxX, info.x + info.width); 239 if (lhi.width > 0 && lhi.height > 0) { 240 component.repaint(lhi.x, lhi.y, lhi.width, lhi.height); 244 lhi.width = lhi.height = 0; 423 g.fillRect(r.x, r.y, r.width, r.height); 426 int p0ToMarginWidth = alloc.x + alloc.width - p0.x; 429 g.fillRect(alloc.x, p0.y + p0.height, alloc.width, 579 int width; field in class:DefaultHighlighter.LayeredHighlightInfo [all...] |
H A D | PlainView.java | 363 lineArea.width = 1; 413 alloc.width -= firstLineOffset; 418 } else if (x > alloc.x + alloc.width) { 485 * @param width the width >= 0 488 public void setSize(float width, float height) { argument 489 super.setSize(width, height); 598 host.repaint(damage.x, damage.y, damage.width, damage.height); 620 alloc.width -= firstLineOffset; 623 alloc.width, metric [all...] |
/openjdk7/jdk/src/share/classes/javax/swing/text/html/ |
H A D | CSSBorder.java | 114 * Return the border width for the given side. 117 int width = 0; 122 // of 'border-width' to be 0 (CSS2 8.5.3) 128 width = (int) bw.getValue(true); 130 return width; 205 int x, int y, int width, int height) { 217 int intWidth = width - (widths[RIGHT] + widths[LEFT]); 300 int end = (xAxis ? r.width : r.height); 311 int width = xAxis ? length : r.width; 204 paintBorder(Component c, Graphics g, int x, int y, int width, int height) argument [all...] |
H A D | FrameView.java | 51 float width; field in class:FrameView
|
H A D | HiddenTagView.java | 301 int width, int height) { 304 width -= (padding * 2); 310 g.drawLine(x + circleR, y, x + width - tagSize, y); 312 x + width - tagSize, y + height - 1); 314 g.drawLine(x + width - tagSize, y, 315 x + width - 1, y + height / 2); 316 g.drawLine(x + width - tagSize, y + height, 317 x + width - 1, y + height / 2); 332 int width, int height) { 335 width 300 paintBorder(Component c, Graphics g, int x, int y, int width, int height) argument 331 paintBorder(Component c, Graphics g, int x, int y, int width, int height) argument [all...] |
/openjdk7/jdk/src/share/classes/sun/awt/image/ |
H A D | ByteBandedRaster.java | 62 /** A cached copy of minX + width for use in bounds checks. */ 134 this.maxX = minX + width; 270 * @param width Width of the pixel rectangle. 323 * @param width Width of the pixel rectangle. 371 * @param width Width of the pixel rectangle. 444 int width = inRaster.getWidth(); 447 (dstOffX + width > this.maxX) || (dstOffY + height > this.maxY)) { 452 setDataElements(dstOffX, dstOffY, width, height, inRaster); 463 * @param width The number of pixels to store horizontally 468 int width, in 467 setDataElements(int dstX, int dstY, int width, int height, Raster inRaster) argument 646 createWritableChild(int x, int y, int width, int height, int x0, int y0, int bandList[]) argument 701 createChild(int x, int y, int width, int height, int x0, int y0, int bandList[]) argument [all...] |
H A D | ByteComponentRaster.java | 73 /** A cached copy of minX + width for use in bounds checks. */ 155 this.maxX = minX + width; 302 * @param width Width of the pixel rectangle. 355 * @param width Width of the pixel rectangle. 418 * @param width Width of the pixel rectangle. 493 int width = inRaster.getWidth(); 496 (dstOffX + width > this.maxX) || (dstOffY + height > this.maxY)) { 501 setDataElements(dstOffX, dstOffY, width, height, inRaster); 512 * @param width The number of pixels to store horizontally 517 int width, in 516 setDataElements(int dstX, int dstY, int width, int height, Raster inRaster) argument 769 createChild(int x, int y, int width, int height, int x0, int y0, int[] bandList) argument 798 createWritableChild(int x, int y, int width, int height, int x0, int y0, int[] bandList) argument [all...] |
H A D | ByteInterleavedRaster.java | 73 /** A cached copy of minX + width for use in bounds checks. */ 192 this.maxX = minX + width; 354 * @param width Width of the pixel rectangle. 379 * @param width Width of the pixel rectangle. 440 * @param width Width of the pixel rectangle. 573 int width = inRaster.getWidth(); 576 (dstOffX + width > this.maxX) || (dstOffY + height > this.maxY)) { 582 width, height, inRaster); 597 * @param width The number of pixels to store horizontally 603 int width, in 601 setDataElements(int dstX, int dstY, int srcX, int srcY, int width, int height, Raster inRaster) argument 1205 createChild(int x, int y, int width, int height, int x0, int y0, int[] bandList) argument 1234 createWritableChild(int x, int y, int width, int height, int x0, int y0, int[] bandList) argument [all...] |
H A D | BytePackedRaster.java | 70 /** A cached copy of minX + width for use in bounds checks. */ 154 this.maxX = minX + width; 309 * @param width Width of the pixel rectangle. 361 * @param width Width of the pixel rectangle. 386 * @param width Width of the pixel rectangle. 545 int width = inRaster.getWidth(); 548 (dstOffX + width > this.maxX) || (dstOffY + height > this.maxY)) { 554 width, height, 570 * @param width The number of pixels to store horizontally 576 int width, in 574 setDataElements(int dstX, int dstY, int srcX, int srcY, int width, int height, BytePackedRaster inRaster) argument 1267 createChild(int x, int y, int width, int height, int x0, int y0, int[] bandList) argument 1295 createWritableChild(int x, int y, int width, int height, int x0, int y0, int[] bandList) argument [all...] |
H A D | IntegerComponentRaster.java | 88 /** A cached copy of minX + width for use in bounds checks. */ 169 this.maxX = minX + width; 312 * @param width Width of the pixel rectangle. 396 int width = inRaster.getWidth(); 399 (dstOffX + width > this.maxX) || (dstOffY + height > this.maxY)) { 403 setDataElements(dstOffX, dstOffY, width, height, inRaster); 414 * @param width The number of pixels to store horizontally 419 int width, int height, 422 if (width <= 0 || height <= 0) { 453 width * 418 setDataElements(int dstX, int dstY, int width, int height, Raster inRaster) argument 544 createWritableChild(int x, int y, int width, int height, int x0, int y0, int bandList[]) argument 598 createChild(int x, int y, int width, int height, int x0, int y0, int bandList[]) argument [all...] |
H A D | ShortBandedRaster.java | 60 /** A cached copy of minX + width for use in bounds checks. */ 132 this.maxX = minX + width; 265 * @param width Width of the pixel rectangle. 318 * @param width Width of the pixel rectangle. 366 * @param width Width of the pixel rectangle. 440 int width = inRaster.getWidth(); 443 (dstOffX + width > this.maxX) || (dstOffY + height > this.maxY)) { 448 setDataElements(dstOffX, dstOffY, width, height, inRaster); 459 * @param width The number of pixels to store horizontally 464 int width, in 463 setDataElements(int dstX, int dstY, int width, int height, Raster inRaster) argument 644 createWritableChild(int x, int y, int width, int height, int x0, int y0, int bandList[]) argument 700 createChild(int x, int y, int width, int height, int x0, int y0, int bandList[]) argument [all...] |
H A D | ShortComponentRaster.java | 73 /** A cached copy of minX + width for use in bounds checks. */ 155 this.maxX = minX + width; 301 * @param width Width of the pixel rectangle. 354 * @param width Width of the sample rectangle. 417 * @param width Width of the pixel rectangle. 490 int width = inRaster.getWidth(); 493 (dstOffX + width > this.maxX) || (dstOffY + height > this.maxY)) { 498 setDataElements(dstOffX, dstOffY, width, height, inRaster); 509 * @param width The number of pixels to store horizontally 514 int width, in 513 setDataElements(int dstX, int dstY, int width, int height, Raster inRaster) argument 704 createChild(int x, int y, int width, int height, int x0, int y0, int[] bandList) argument 733 createWritableChild(int x, int y, int width, int height, int x0, int y0, int[] bandList) argument [all...] |
H A D | ToolkitImage.java | 80 private int width = -1; field in class:ToolkitImage 87 * Return the width of the original image source. 88 * If the width isn't known, then the image is reconstructed. 97 return width; 101 * Return the width of the original image source. 102 * If the width isn't known, then the ImageObserver object will be 115 return width; 252 width = w;
|
/openjdk7/jdk/src/share/classes/sun/font/ |
H A D | GraphicComponent.java | 165 float width = (float) bounds.getWidth() + 170 width, 293 public int getLineBreakIndex(int start, float width) { argument 295 int index = (int) (width / graphicAdvance); 312 float width = graphicAdvance * graphicCount; 315 return new Rectangle2D.Float(left, top, width, height);
|
H A D | TextLineComponent.java | 59 public int getLineBreakIndex(int start, float width); argument
|
/openjdk7/jdk/src/share/classes/java/awt/geom/ |
H A D | Rectangle2D.java | 93 * The width of this <code>Rectangle2D</code>. 97 public float width; field in class:Rectangle2D.Float 122 * @param w the width of the newly constructed 153 return (double) width; 169 return (width <= 0.0f) || (height <= 0.0f); 180 * @param w the width of this <code>Rectangle2D</code> 187 this.width = w; 198 this.width = (float) w; 209 this.width = (float) r.getWidth(); 229 if (this.width < 330 public double width; field in class:Rectangle2D.Double [all...] |
H A D | RoundRectangle2D.java | 33 * dimension {@code (w x h)}, and the width and height of an arc 69 * The width of this <code>RoundRectangle2D</code>. 73 public float width; field in class:RoundRectangle2D.Float 83 * The width of the arc that rounds off the corners. 113 * @param w the width to which to set the newly 117 * @param arcw the width of the arc to use to round off the 152 return (double) width; 184 return (width <= 0.0f) || (height <= 0.0f); 196 * @param w the width to which to set this 200 * @param arcw the width t 286 public double width; field in class:RoundRectangle2D.Double [all...] |
/openjdk7/jdk/src/share/classes/java/awt/image/ |
H A D | MemoryImageSource.java | 66 * int width = 50; 68 * int size = width * height; 76 * source = new MemoryImageSource(width, height, pixels, 0, width); 108 int width; field in class:MemoryImageSource 122 * @param w the width of the rectangle of pixels 140 * @param w the width of the rectangle of pixels 162 * @param w the width of the rectangle of pixels 180 * @param w the width of the rectangle of pixels 201 width [all...] |
H A D | PixelGrabber.java | 110 * @param w the width of the rectangle of pixels to retrieve 138 * @param w the width of the rectangle of pixels to retrieve 169 * (h < 0), then they will default to the remaining width and 177 * @param w the width of the rectangle of pixels to retrieve 287 * Get the width of the pixel buffer (after adjusting for image width). 288 * If no width was specified for the rectangle of pixels to grab then 291 * @return the final width used for the pixel buffer or -1 if the width 301 * If no width wa 366 setDimensions(int width, int height) argument [all...] |
H A D | SampleModel.java | 87 protected int width; field in class:SampleModel 111 * @param w The width (in pixels) of the region of image data. 130 throw new IllegalArgumentException("Dimensions (width="+w+ 147 this.width = w; 152 /** Returns the width in pixels. 153 * @return the width in pixels of the region of image data 157 return width; 338 * @param w The width of the pixel rectangle. 364 if (x < 0 || x >= width || w > width || x [all...] |