Searched defs:width (Results 226 - 250 of 532) sorted by relevance

1234567891011>>

/openjdk7/jdk/src/share/classes/java/beans/
H A DBeans.java627 public void appletResize(int width, int height) { argument
/openjdk7/jdk/src/share/classes/javax/imageio/
H A DImageTypeSpecifier.java1008 * encapsulated within this object. The width and height of the
1019 * encapsulated within this object. The width and height of the
1022 * @param width the desired width of the returned <code>SampleModel</code>.
1028 * @exception IllegalArgumentException if either <code>width</code> or
1031 * <code>width</code> and <code>height</code> is greater than
1034 public SampleModel getSampleModel(int width, int height) { argument
1035 if ((long)width*height > Integer.MAX_VALUE) {
1037 ("width*height > Integer.MAX_VALUE!");
1039 return sampleModel.createCompatibleSampleModel(width, heigh
1070 createBufferedImage(int width, int height) argument
[all...]
/openjdk7/jdk/src/share/classes/com/sun/java/swing/plaf/motif/
H A DMotifGraphicsUtils.java86 * (<b>x</b>, <b>y</b>, <b>width</b>, <b>height</b>).
95 int width, int height, int justification) {
96 drawStringInRect(null, g, aString, x, y, width, height, justification);
100 int x, int y, int width, int height,
117 if (drawWidth > width) {
118 drawWidth = width;
120 startX = x + (width - drawWidth) / 2;
123 if (drawWidth > width) {
124 drawWidth = width;
126 startX = x + width
94 drawStringInRect(Graphics g, String aString, int x, int y, int width, int height, int justification) argument
99 drawStringInRect(JComponent c, Graphics g, String aString, int x, int y, int width, int height, int justification) argument
451 drawMenuBezel(Graphics g, Color background, int x, int y, int width, int height) argument
[all...]
/openjdk7/jdk/src/share/classes/com/sun/java/swing/plaf/windows/
H A DWindowsTableHeaderUI.java204 skin.paintSkin(g, 0, 0, size.width-1, size.height-1, state);
239 int width, int height) {
241 x + left + (width - left - right - icon.getIconWidth()) / 2,
238 paintBorder(Component c, Graphics g, int x, int y, int width, int height) argument
/openjdk7/jdk/src/share/classes/java/awt/
H A DFlowLayout.java419 dim.width += hgap;
421 dim.width += d.width;
423 int baseline = m.getBaseline(d.width, d.height);
435 dim.width += insets.left + insets.right + hgap*2;
468 dim.width += hgap;
470 dim.width += d.width;
472 int baseline = m.getBaseline(d.width, d.height);
487 dim.width
514 moveComponents(Container target, int x, int y, int width, int height, int rowStart, int rowEnd, boolean ltr, boolean useBaseline, int[] ascent, int[] descent) argument
[all...]
H A DGraphics2D.java263 * A pen with a width of one pixel does not need to fall
301 * <code>BasicStroke</code> with a width of 1 and no dashing and the
432 * <code>width&nbsp;+&nbsp;1</code> pixels wide
438 * @param width the width of the rectangle to be drawn.
445 public void draw3DRect(int x, int y, int width, int height, argument
455 //drawLine(x + 1, y, x + width - 1, y);
456 fillRect(x + 1, y, width - 1, 1);
458 //drawLine(x + 1, y + height, x + width, y + height);
459 fillRect(x + 1, y + height, width,
482 fill3DRect(int x, int y, int width, int height, boolean raised) argument
[all...]
H A DMediaTracker.java154 * g.fillRect(0, 0, size().width, size().height);
217 * rendered at the indicated width and height.
221 * @param w the width at which the image is rendered
774 * width, height, and ID from this media tracker.
778 * @param width the width to remove (-1 for unscaled)
785 int width, int height) {
791 && ((ImageMediaEntry) cur).matches(image, width, height))
883 int width; field in class:ImageMediaEntry
894 width
784 removeImage(Image image, int id, int width, int height) argument
[all...]
H A DRectangle.java35 * in the coordinate space, its width, and its height.
37 * A <code>Rectangle</code> object's <code>width</code> and
40 * one, do not prevent setting a negative value for width or height.
43 * A {@code Rectangle} whose width or height is exactly zero has location
54 * A {@code Rectangle} whose width or height is negative has neither
76 * negative width and height or it should use the first point in the set
102 * The values stored into the {@link #width} and {@link #height} dimension
144 * The width of the <code>Rectangle</code>.
150 public int width; field in class:Rectangle
182 * is at (0,&nbsp;0) in the coordinate space, and whose width an
211 Rectangle(int x, int y, int width, int height) argument
225 Rectangle(int width, int height) argument
358 setBounds(int x, int y, int width, int height) argument
377 setRect(double x, double y, double width, double height) argument
436 reshape(int x, int y, int width, int height) argument
625 setSize(int width, int height) argument
639 resize(int width, int height) argument
[all...]
/openjdk7/jdk/make/tools/src/build/tools/generatenimbus/
H A DSynthModel.java178 @XmlAttribute int width; field in class:Dimension
183 return String.format("new Dimension%s(%d, %d)", uiSuffix, width, height);
/openjdk7/jdk/src/macosx/classes/com/apple/laf/
H A DAquaButtonBorder.java72 public void paintBorder(final Component c, final Graphics g, final int x, final int y, final int width, final int height) { argument
75 //paintButton(c, g, x, y, width, height);
78 public void paintButton(final Component c, final Graphics g, int x, int y, int width, int height) { argument
88 // g.drawRect(x, y, width - 1, height - 1);
93 width -= (subInsets.left + subInsets.right);
98 // g.drawRect(x, y, width - 1, height - 1);
100 doButtonPaint(b, model, g, x, y, width, height);
103 protected void doButtonPaint(final AbstractButton b, final ButtonModel model, final Graphics g, final int x, final int y, final int width, final int height) { argument
104 painter.paint(g, b, x, y, width, height);
167 if (sizeVariant.w > 0 && sizeVariant.w > d.width)
211 getContentInsets(final AbstractButton b, final int width, final int height) argument
228 doButtonPaint(final AbstractButton b, final ButtonModel model, final Graphics g, int x, int y, int width, int height) argument
244 getStyleForSize(final AbstractButton b, final Size size, final int width, final int height) argument
274 doButtonPaint(final AbstractButton b, final ButtonModel model, final Graphics g, final int x, final int y, final int width, final int height) argument
297 doButtonPaint(final AbstractButton b, final ButtonModel model, final Graphics g, final int x, final int y, final int width, final int height) argument
[all...]
H A DAquaTextFieldSearch.java312 public void paintBorder(final Component c, final Graphics g, final int x, final int y, final int width, final int height) { argument
314 super.paintBorder(c, g, x, y - (height % 2), width, height);
/openjdk7/jdk/src/macosx/classes/sun/java2d/opengl/
H A DCGLSurfaceData.java44 protected final int width; field in class:CGLSurfaceData
49 native void validate(int xoff, int yoff, int width, int height, boolean isOpaque); argument
55 boolean isOpaque, int width, int height);
58 int width, int height) {
62 this.width = width * scale;
67 ColorModel cm, int type,int width, int height)
69 this(gc, cm, type, width, height);
84 ColorModel cm, int type,int width, int height)
86 this(gc, cm, type, width, heigh
54 initPbuffer(long pData, long pConfigInfo, boolean isOpaque, int width, int height) argument
57 CGLSurfaceData(CGLGraphicsConfig gc, ColorModel cm, int type, int width, int height) argument
66 CGLSurfaceData(CPlatformView pView, CGLGraphicsConfig gc, ColorModel cm, int type,int width, int height) argument
83 CGLSurfaceData(CGLLayer layer, CGLGraphicsConfig gc, ColorModel cm, int type,int width, int height) argument
144 createData(CGLGraphicsConfig gc, int width, int height, ColorModel cm, Image image, int type) argument
262 CGLLayerSurfaceData(CGLLayer layer, CGLGraphicsConfig gc, int width, int height) argument
314 CGLVSyncOffScreenSurfaceData(CPlatformView pView, CGLGraphicsConfig gc, int width, int height, Image image, ColorModel cm, int type) argument
336 CGLOffScreenSurfaceData(CPlatformView pView, CGLGraphicsConfig gc, int width, int height, Image image, ColorModel cm, int type) argument
[all...]
/openjdk7/jdk/src/macosx/classes/sun/lwawt/macosx/
H A DCImage.java61 // the width and height passed in as a parameter could differ than the width and the height of the NSImage (image), in that case, the image will be scaled
62 BufferedImage createBufferedImage(long image, double width, double height) { argument
64 return createImageWithSize(image, width, height);
67 public BufferedImage createImageWithSize(final long image, final double width, final double height) { argument
69 img.resize(width, height);
74 public BufferedImage createImageOfFile(final String file, final int width, final int height) { argument
75 return createBufferedImage(nativeCreateNSImageOfFileFromLaunchServices(file), width, height);
78 public BufferedImage createImageFromFile(final String file, final double width, final double height) { argument
80 nativeSetNSImageSize(image, width, heigh
84 createSystemImageFromSelector(final String iconSelector, final int width, final int height) argument
88 createImageFromName(final String name, final int width, final int height) argument
[all...]
H A DCPlatformView.java43 private native long nativeCreateView(int x, int y, int width, int height, long windowLayerPtr); argument
84 public void setBounds(int x, int y, int width, int height) { argument
85 CWrapper.NSView.setFrame(ptr, x, y, width, height);
127 im = getGraphicsConfiguration().createCompatibleImage(r.width, r.height, transparency);
240 responder.handleWindowDidExposeEvent(new Rectangle(r.width, r.height));
H A DCPrinterDialogPeer.java71 public void setBounds(int x, int y, int width, int height) {} argument
80 void invalidate(int x, int y, int width, int height) {} argument
H A DCRobot.java159 int c[] = new int[bounds.width * bounds.height];
172 nativeGetScreenPixels(r.x, r.y, r.width, r.height, pixels);
174 private native void nativeGetScreenPixels(int x, int y, int width, int height, int[] pixels); argument
H A DCTrayIcon.java268 int textWidth = screenSize.width / 8;
354 if (dialogX + messageDialog.getWidth() > screenSize.width) {
355 dialogX = screenSize.width - messageDialog.getWidth();
445 private static JTextArea createTextArea(String text, int width, argument
466 textArea.setSize(width, 1);
/openjdk7/jdk/src/macosx/native/sun/awt/
H A DImageSurfaceData.h78 jint width; member in struct:_ImageSDOps
H A DQuartzSurfaceData.h74 jint width; member in struct:_statePatternInfo
/openjdk7/jdk/src/share/classes/com/sun/imageio/plugins/bmp/
H A DBMPMetadata.java48 public int width ; field in class:BMPMetadata
133 addChildNode(root, "Width", new Integer(width));
/openjdk7/hotspot/src/share/vm/utilities/
H A Dtaskqueue.cpp64 unsigned int width)
66 // Use a width w: 1 <= w <= max_width
68 const unsigned int w = MAX2(MIN2(width, max_width), 1U);
70 if (line == 0) { // spaces equal in width to the header
89 void TaskQueueStats::print(outputStream* stream, unsigned int width) const
92 stream->print(FMT, width, _stats[0]);
94 stream->print(" " FMT, width, _stats[i]);
63 print_header(unsigned int line, outputStream* const stream, unsigned int width) argument
/openjdk7/jaxp/src/org/w3c/dom/html/
H A DHTMLImageElement.java133 * Override width. See the width attribute definition in HTML 4.0.
136 public void setWidth(String width); argument
H A DHTMLObjectElement.java176 * Override width. See the width attribute definition in HTML 4.0.
179 public void setWidth(String width); argument
H A DHTMLTableCellElement.java148 * Cell width. See the width attribute definition in HTML 4.0. This
152 public void setWidth(String width); argument
H A DHTMLTableElement.java105 * The width of the border around the table. See the border attribute
147 * Specifies the desired table width. See the width attribute definition
151 public void setWidth(String width); argument

Completed in 68 milliseconds

1234567891011>>