/openjdk7/jdk/src/share/classes/sun/tools/jstat/ |
H A D | ColumnFormat.java | 38 private int width; field in class:ColumnFormat 76 public void setWidth(int width) { argument 77 this.width = width; 105 return width; 143 + ";format=" + format + ";width=" + width
|
/openjdk7/jdk/src/share/demo/jfc/TableExample/ |
H A D | OldJTable.java | 71 public TableColumn addColumn(Object columnIdentifier, int width) { argument 72 return addColumn(columnIdentifier, width, null, null, null); 81 public TableColumn addColumn(Object columnIdentifier, int width, argument 84 return addColumn(columnIdentifier, width, renderer, editor, null); 87 public TableColumn addColumn(Object columnIdentifier, int width, argument 99 m.getColumnCount()-1, width, renderer, editor); 190 public TableColumn addColumn(int modelColumn, int width) { argument 191 return addColumn(modelColumn, width, null, null); 199 * Creates a new column with <I>modelColumn</I>, <I>width</I>, 219 * @param width Th 226 addColumn(int modelColumn, int width, TableCellRenderer renderer, TableCellEditor editor) argument [all...] |
/openjdk7/jdk/src/share/classes/sun/java2d/loops/ |
H A D | BlitBg.java | 115 int width, int height); 153 int width, int height) 161 dstModel.createCompatibleWritableRaster(width, height); 177 fillop.FillRect(sg2d, tmpData, 0, 0, width, height); 179 srcx, srcy, 0, 0, width, height); 181 0, 0, dstx, dsty, width, height); 210 int width, int height) 214 srcx, srcy, dstx, dsty, width, height); 110 BlitBg(SurfaceData src, SurfaceData dst, Composite comp, Region clip, int bgColor, int srcx, int srcy, int dstx, int dsty, int width, int height) argument 146 BlitBg(SurfaceData srcData, SurfaceData dstData, Composite comp, Region clip, int bgArgb, int srcx, int srcy, int dstx, int dsty, int width, int height) argument 206 BlitBg(SurfaceData src, SurfaceData dst, Composite comp, Region clip, int bgColor, int srcx, int srcy, int dstx, int dsty, int width, int height) argument
|
H A D | TransformBlit.java | 107 int width, int height); 150 int width, int height) 154 srcx, srcy, dstx, dsty, width, height); 103 Transform(SurfaceData src, SurfaceData dst, Composite comp, Region clip, AffineTransform at, int hint, int srcx, int srcy, int dstx, int dsty, int width, int height) argument 146 Transform(SurfaceData src, SurfaceData dst, Composite comp, Region clip, AffineTransform at, int hint, int srcx, int srcy, int dstx, int dsty, int width, int height) argument
|
/openjdk7/jdk/src/share/classes/sun/java2d/pipe/ |
H A D | BufferedMaskBlit.java | 95 int width, int height, 98 if (width <= 0 || height <= 0) { 112 width, height); 126 int totalBytesRequired = 20 + (width * height * 4); 141 width, height); 155 int width, int height); 91 MaskBlit(SurfaceData src, SurfaceData dst, Composite comp, Region clip, int srcx, int srcy, int dstx, int dsty, int width, int height, byte[] mask, int maskoff, int maskscan) argument 149 enqueueTile(long buf, int bpos, SurfaceData srcData, long pSrcOps, int srcType, byte[] mask, int masklen, int maskoff, int maskscan, int srcx, int srcy, int dstx, int dsty, int width, int height) argument
|
H A D | DrawImagePipe.java | 68 int width, int height, 67 scaleImage(SunGraphics2D sg, Image img, int x, int y, int width, int height, Color bgColor, ImageObserver observer) argument
|
H A D | RenderingEngine.java | 67 * line width can get before dropouts occur. Rendering with a BasicStroke 69 * even if the width is set to 0.0f, so this information allows the 176 * @param width the width of the widened path as per {@code BasicStroke} 186 float width, 267 * than the minimum dropout pen width 299 * {@code dx2} delta vector to half of the line width in that same 334 * @param lw1 the line width ratio for the first leg of the parallelogram 335 * @param lw2 the line width ratio for the second leg of the parallelogram 350 * Returns the minimum pen width tha 185 createStrokedShape(Shape src, float width, int caps, int join, float miterlimit, float dashes[], float dashphase) argument 398 createStrokedShape(Shape src, float width, int caps, int join, float miterlimit, float dashes[], float dashphase) argument [all...] |
/openjdk7/jdk/src/share/native/sun/java2d/pipe/ |
H A D | BufferedMaskBlit.c | 58 jint width, jint height) 101 srcInfo.bounds.x2 = srcx + width; 133 width = srcInfo.bounds.x2 - srcInfo.bounds.x1; 137 maskscan -= width; 139 srcScanStride -= width * srcPixelStride; 144 srcInfo.bounds.x1, srcInfo.bounds.y1, width, height); 156 pBuf[3] = width; 167 jint w = width; 196 jint w = width; 221 jint w = width; 52 Java_sun_java2d_pipe_BufferedMaskBlit_enqueueTile(JNIEnv *env, jobject mb, jlong buf, jint bpos, jobject srcData, jlong pSrcOps, jint srcType, jbyteArray maskArray, jint masklen, jint maskoff, jint maskscan, jint srcx, jint srcy, jint dstx, jint dsty, jint width, jint height) argument [all...] |
/openjdk7/jdk/src/solaris/classes/sun/awt/X11/ |
H A D | GtkFileDialogPeer.java | 64 public native void setBounds(int x, int y, int width, int height, int op); argument
|
H A D | WindowDimensions.java | 39 public WindowDimensions(int x, int y, int width, int height, boolean isClient) { argument 40 this(new Rectangle(x, y, width, height), null, isClient); 87 size.width-(insets.left+insets.right), 100 public void setClientSize(int width, int height) { argument 101 size = new Dimension(width, height); 109 public void setSize(int width, int height) { argument 110 size = new Dimension(width, height); 124 res.width += (insets.left + insets.right); 150 if (size.width < (insets.left+insets.right)) { 151 size.width [all...] |
H A D | XRobotPeer.java | 85 int pixelArray[] = new int[bounds.width*bounds.height]; 86 getRGBPixelsImpl(xgc, bounds.x, bounds.y, bounds.width, bounds.height, pixelArray); 100 private static native synchronized void getRGBPixelsImpl(X11GraphicsConfig xgc, int x, int y, int width, int height, int pixelArray[]); argument
|
/openjdk7/jdk/src/solaris/classes/sun/java2d/opengl/ |
H A D | GLXSurfaceData.java | 47 int width, int height); 82 return new GLXOffScreenSurfaceData(peer, gc, r.width, r.height, 86 return new GLXVSyncOffScreenSurfaceData(peer, gc, r.width, r.height, 97 int width, int height, 101 return new GLXOffScreenSurfaceData(null, gc, width, height, 160 int width, int height, 164 super(peer, gc, width, height, image, cm, type); 183 private int width, height; field in class:GLXSurfaceData.GLXOffScreenSurfaceData 187 int width, int height, 193 this.width 45 initPbuffer(long pData, long pConfigInfo, boolean isOpaque, int width, int height) argument 96 createData(GLXGraphicsConfig gc, int width, int height, ColorModel cm, Image image, int type) argument 158 GLXVSyncOffScreenSurfaceData(X11ComponentPeer peer, GLXGraphicsConfig gc, int width, int height, Image image, ColorModel cm, int type) argument 185 GLXOffScreenSurfaceData(X11ComponentPeer peer, GLXGraphicsConfig gc, int width, int height, Image image, ColorModel cm, int type) argument [all...] |
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/ui/ |
H A D | SourceCodePanel.java | 63 private int width; field in class:SourceCodePanel.RowHeader 95 g.drawString(str, width - strWidth - LINE_NO_SPACE, ascent + rowHeight * i); 138 width = ICON_SIZE + 2 * LINE_NO_SPACE; 143 // Compute width based on whether we are drawing line numbers 144 width += GraphicsUtilities.getStringWidth(str, getFontMetrics(getFont())) + LINE_NO_SPACE; 146 // FIXME: add on width for all icons (breakpoint, current line, 148 Dimension d = new Dimension(width, numLines * getFontMetrics(getFont()).getHeight());
|
/openjdk7/jdk/src/share/classes/javax/swing/ |
H A D | ImageIcon.java | 135 int width = -1; field in class:ImageIcon 309 width = image.getWidth(imageObserver); 420 * Gets the width of the icon. 422 * @return the width in pixels of this icon 425 return width; 683 * Gets the width of the icon. 685 * @return the width of the icon 688 return ImageIcon.this.width;
|
H A D | JApplet.java | 501 * @param width the width 506 public void repaint(long time, int x, int y, int width, int height) { argument 509 this, x, y, width, height); 512 super.repaint(time, x, y, width, height);
|
H A D | JWindow.java | 602 * @param width the width 607 public void repaint(long time, int x, int y, int width, int height) { argument 610 this, x, y, width, height); 613 super.repaint(time, x, y, width, height);
|
H A D | Spring.java | 348 return c.getMinimumSize().width; 352 return c.getPreferredSize().width; 359 return Math.min(Short.MAX_VALUE, c.getMaximumSize().width); 656 public static Spring width(Component c) { method in class:Spring
|
/openjdk7/jdk/src/share/classes/javax/swing/border/ |
H A D | TitledBorder.java | 233 * @param width the width of the painted border 236 public void paintBorder(Component c, Graphics g, int x, int y, int width, int height) { argument 247 int borderW = width - edge - edge; 297 int labelW = width - insets.left - insets.right; 298 if (labelW > size.width) { 299 labelW = size.width; 306 labelX += width - insets.right - labelW; 309 labelX += (width - labelW) / 2; 338 border.paintBorder(c, g, x, y, width, heigh 564 getBaseline(Component c, int width, int height) argument [all...] |
/openjdk7/jdk/src/share/classes/javax/swing/plaf/ |
H A D | BorderUIResource.java | 112 int width, int height) { 113 delegate.paintBorder(c, g, x, y, width, height); 111 paintBorder(Component c, Graphics g, int x, int y, int width, int height) argument
|
H A D | LayerUI.java | 606 * @param width the width to get the baseline for 611 public int getBaseline(JComponent c, int width, int height) { argument 614 return l.getView().getBaseline(width, height); 616 return super.getBaseline(c, width, height); 711 * @param width the width of the region to be painted 716 public void paintImmediately(int x, int y, int width, int height, JLayer<? extends V> l) { argument 717 l.paintImmediately(x, y, width, height);
|
/openjdk7/jdk/src/share/classes/javax/swing/plaf/basic/ |
H A D | BasicButtonUI.java | 369 d.width -= v.getPreferredSpan(View.X_AXIS) - v.getMinimumSpan(View.X_AXIS); 383 d.width += v.getMaximumSpan(View.X_AXIS) - v.getPreferredSpan(View.X_AXIS); 396 public int getBaseline(JComponent c, int width, int height) { argument 397 super.getBaseline(c, width, height); 404 layout(b, fm, width, height); 406 textRect.width, textRect.height); 435 int width, int height) { 439 viewRect.width = width - (i.right + viewRect.x); 442 textRect.x = textRect.y = textRect.width 434 layout(AbstractButton b, FontMetrics fm, int width, int height) argument [all...] |
H A D | BasicLabelUI.java | 189 int width, int height) { 197 paintViewR.width = width - (insets.left + insets.right); 199 paintIconR.x = paintIconR.y = paintIconR.width = paintIconR.height = 0; 200 paintTextR.x = paintTextR.y = paintTextR.width = paintTextR.height = 0; 232 iconR.x = iconR.y = iconR.width = iconR.height = 0; 233 textR.x = textR.y = textR.width = textR.height = 0; 236 viewR.width = viewR.height = Short.MAX_VALUE; 240 int x2 = Math.max(iconR.x + iconR.width, textR.x + textR.width); 188 layout(JLabel label, FontMetrics fm, int width, int height) argument 284 getBaseline(JComponent c, int width, int height) argument [all...] |
H A D | BasicTextAreaUI.java | 111 * The method is overridden to take into account caret width. 125 * The method is overridden to take into account caret width. 187 public int getBaseline(JComponent c, int width, int height) { argument 188 super.getBaseline(c, width, height); 198 rootView.getView(0), width - insets.left - 297 * @param width the width >= 0 300 public void setSize(float width, float height) { argument 301 if ((int) width != getWidth()) { 304 super.setSize(width, heigh [all...] |
H A D | BasicTextFieldUI.java | 117 public int getBaseline(JComponent c, int width, int height) { argument 118 super.getBaseline(c, width, height); 133 fieldView, width - insets.left - insets.right, 224 int max = Math.max(hspan, bounds.width); 226 int extent = Math.min(max, bounds.width - 1); 232 if (hspan < bounds.width) { 234 int slop = bounds.width - 1 - hspan; 257 bounds.width -= slop; 261 bounds.width -= slop; 266 bounds.width [all...] |
/openjdk7/jdk/src/share/classes/javax/swing/plaf/metal/ |
H A D | MetalScrollBarUI.java | 90 scrollBarWidth = ((Integer)(UIManager.get( "ScrollBar.width" ))).intValue(); 154 trackBounds.width += 2; 163 g.drawLine( trackBounds.width - 2, 0, trackBounds.width - 2, trackBounds.height - 1 ); 164 g.drawLine( 2, trackBounds.height - 1, trackBounds.width - 1, trackBounds.height - 1); 165 g.drawLine( 2, 0, trackBounds.width - 2, 0 ); 170 g.drawLine( 1, 1, trackBounds.width - 3, 1 ); 173 g.drawLine( 1, y, trackBounds.width-1, y); 176 g.drawLine( trackBounds.width - 1, 0, trackBounds.width 397 setThumbBounds(int x, int y, int width, int height) argument [all...] |