Searched refs:width (Results 1 - 25 of 1066) sorted by relevance

1234567891011>>

/openjdk7/jdk/src/share/classes/java/awt/
H A DDimension.java32 * The <code>Dimension</code> class encapsulates the width and
40 * Normally the values of <code>width</code>
44 * If the value of <code>width</code> or <code>height</code> is
57 * The width dimension; negative values can be used.
64 public int width; field in class:Dimension
95 * Creates an instance of <code>Dimension</code> with a width
103 * Creates an instance of <code>Dimension</code> whose width
107 * <code>width</code> and
111 this(d.width, d.height);
116 * it to the specified width an
121 Dimension(int width, int height) argument
153 setSize(double width, double height) argument
199 setSize(int width, int height) argument
[all...]
H A DGridBagLayoutInfo.java43 int width, height; /* number of cells: horizontal and vertical */ field in class:GridBagLayoutInfo
63 * @param width the columns
67 GridBagLayoutInfo(int width, int height) { argument
68 this.width = width;
H A DGraphics.java151 * is specified by the <code>width</code> and <code>height</code>
157 * @param width the width of the clipping rectangle.
163 public Graphics create(int x, int y, int width, int height) { argument
167 g.clipRect(0, 0, width, height);
304 * @param width the width of the rectangle to intersect the clip with
309 public abstract void clipRect(int x, int y, int width, int height); argument
319 * @param width the width o
326 setClip(int x, int y, int width, int height) argument
383 copyArea(int x, int y, int width, int height, int dx, int dy) argument
416 fillRect(int x, int y, int width, int height) argument
434 drawRect(int x, int y, int width, int height) argument
468 clearRect(int x, int y, int width, int height) argument
486 drawRoundRect(int x, int y, int width, int height, int arcWidth, int arcHeight) argument
505 fillRoundRect(int x, int y, int width, int height, int arcWidth, int arcHeight) argument
527 draw3DRect(int x, int y, int width, int height, boolean raised) argument
557 fill3DRect(int x, int y, int width, int height, boolean raised) argument
593 drawOval(int x, int y, int width, int height) argument
606 fillOval(int x, int y, int width, int height) argument
645 drawArc(int x, int y, int width, int height, int startAngle, int arcAngle) argument
684 fillArc(int x, int y, int width, int height, int startAngle, int arcAngle) argument
921 drawImage(Image img, int x, int y, int width, int height, ImageObserver observer) argument
1008 drawImage(Image img, int x, int y, int width, int height, Color bgcolor, ImageObserver observer) argument
1214 hitClip(int x, int y, int width, int height) argument
[all...]
/openjdk7/jdk/src/share/classes/sun/awt/image/
H A DDataBufferNative.java51 protected int width; field in class:DataBufferNative
58 public DataBufferNative(SurfaceData sData, int type, int width, int height) { argument
59 super(type, width*height);
60 this.width = width;
75 return getElem(i % width, i / width, surfaceData);
89 setElem(i % width, i / width, val, surfaceData);
/openjdk7/jdk/src/share/classes/javax/swing/plaf/
H A DDimensionUIResource.java53 public DimensionUIResource(int width, int height) { argument
54 super(width, height);
/openjdk7/jaxp/src/org/w3c/dom/html/
H A DHTMLPreElement.java50 * Fixed width for content. See the width attribute definition in HTML
54 public void setWidth(int width); argument
/openjdk7/jdk/src/windows/native/sun/windows/
H A Dawt_BitmapUtil.h39 static HBITMAP CreateTransparencyMaskFromARGB(int width, int height, int* imageData);
46 static HBITMAP CreateV4BitmapFromARGB(int width, int height, int* imageData);
52 static HBITMAP CreateBitmapFromARGBPre(int width, int height,
73 static HBITMAP CreateARGBBitmap(int width, int height, void ** bitmapBitsPtr);
/openjdk7/jdk/src/share/classes/java/awt/image/
H A DKernel.java40 private int width; field in class:Kernel
54 * The first <code>width</code>*<code>height</code> elements of
57 * than width*height, an <code>IllegalArgumentException</code> is thrown.
58 * The X origin is (width-1)/2 and the Y origin is (height-1)/2.
59 * @param width width of the kernel
63 * is less than the product of <code>width</code> and
66 public Kernel(int width, int height, float data[]) { argument
67 this.width = width;
[all...]
/openjdk7/jdk/src/share/classes/sun/awt/
H A DCustomCursor.java54 int width = cursor.getWidth(c);
62 if (tracker.isErrorAny() || width < 0 || height < 0) {
67 Dimension nativeSize = toolkit.getBestCursorSize(width, height);
68 if (nativeSize.width != width || nativeSize.height != height) {
69 cursor = cursor.getScaledInstance(nativeSize.width,
72 width = nativeSize.width;
77 if (hotSpot.x >= width || hotSpot.y >= height || hotSpot.x < 0 || hotSpot.y < 0) {
88 int[] pixels = new int[width * heigh
100 createNativeCursor(Image im, int[] pixels, int width, int height, int xHotSpot, int yHotSpot) argument
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/border/
H A DSoftBevelBorder.java98 * @param width the width of the painted border
101 public void paintBorder(Component c, Graphics g, int x, int y, int width, int height) { argument
107 g.drawLine(0, 0, width-2, 0);
112 g.drawLine(2, 1, width-2, 1);
116 g.drawLine(width-1, 0, width-1, 0);
119 g.drawLine(2, height-1, width-1, height-1);
120 g.drawLine(width-1, 2, width
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/plaf/metal/
H A DMetalScrollButton.java61 public MetalScrollButton( int direction, int width, boolean freeStanding ) argument
68 buttonWidth = width;
84 int width = getWidth();
86 int w = width;
100 g.fillRect( 0, 0, width, height );
107 width += 2;
131 g.drawLine( 1, 1, width - 3, 1 );
135 g.drawLine( width - 1, 1, width - 1, height - 1 );
138 g.drawLine( 0, 0, width
[all...]
/openjdk7/jdk/src/share/classes/sun/tools/jstat/
H A DAlignment.java44 protected abstract String align(String s, int width); argument
50 protected String align(String s, int width) {
52 if (length >= width) {
56 int pad = width - length;
74 protected String align(String s, int width) {
76 if (length >= width) {
79 int pad = width - length;
88 protected String align(String s, int width) {
90 if (length >= width) {
93 int pad = width
[all...]
/openjdk7/jdk/src/share/classes/sun/awt/shell/
H A DShellFolderColumnInfo.java33 private Integer width; field in class:ShellFolderColumnInfo
50 public ShellFolderColumnInfo(String title, Integer width, argument
55 this.width = width;
63 public ShellFolderColumnInfo(String title, Integer width, argument
66 this(title, width, alignment, visible, sortOrder, comparator, false);
73 public ShellFolderColumnInfo(String title, int width, int alignment, argument
75 this(title, width, alignment, visible, null, null);
87 return width;
90 public void setWidth(Integer width) { argument
[all...]
/openjdk7/jdk/test/java/awt/dnd/ImageDecoratedDnD/
H A DMyCursor.java44 gr.translate(width/2, height/2);
45 int R = width/4;
59 gr.drawLine(0, 0, width, height);
60 gr.drawLine(0, 0, width/2, 0);
73 gr.drawLine(0, 0, width/2, height/2);
74 gr.drawLine(0, 0, width/2, 0);
77 gr.drawRect(width/2 - 1, height/2 -1, width/2 - 1, height/2 - 1);
78 gr.drawLine(width*3/4 - 1, height/2 - 1, width*
[all...]
/openjdk7/jdk/test/java/awt/dnd/ImageDecoratedDnDInOut/
H A DMyCursor.java44 gr.translate(width/2, height/2);
45 int R = width/4;
59 gr.drawLine(0, 0, width, height);
60 gr.drawLine(0, 0, width/2, 0);
73 gr.drawLine(0, 0, width/2, height/2);
74 gr.drawLine(0, 0, width/2, 0);
77 gr.drawRect(width/2 - 1, height/2 -1, width/2 - 1, height/2 - 1);
78 gr.drawLine(width*3/4 - 1, height/2 - 1, width*
[all...]
/openjdk7/jdk/test/java/awt/dnd/ImageDecoratedDnDNegative/
H A DMyCursor.java44 gr.translate(width/2, height/2);
45 int R = width/4;
59 gr.drawLine(0, 0, width, height);
60 gr.drawLine(0, 0, width/2, 0);
73 gr.drawLine(0, 0, width/2, height/2);
74 gr.drawLine(0, 0, width/2, 0);
77 gr.drawRect(width/2 - 1, height/2 -1, width/2 - 1, height/2 - 1);
78 gr.drawLine(width*3/4 - 1, height/2 - 1, width*
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/
H A DPainter.java51 * public void paint(Graphics2D g, Component c, int width, int height) {
86 * <p>Finally, the <code>width</code> and <code>height</code> arguments specify the
87 * width and height that the <code>Painter</code> should paint into. More
88 * specifically, the specified width and height instruct the painter that it should
89 * paint fully within this width and height. Any specified clip on the
103 * @param width width of the area to paint.
106 public void paint(Graphics2D g, T object, int width, int height); argument
H A DViewportLayout.java147 viewSize.width = vpSize.width;
158 * the view when the width of the view is smaller than the
164 if ((viewPosition.x + extentSize.width) > viewSize.width) {
165 viewPosition.x = Math.max(0, viewSize.width - extentSize.width);
168 if (extentSize.width > viewSize.width) {
169 viewPosition.x = viewSize.width
[all...]
/openjdk7/jdk/src/share/classes/java/util/
H A DFormattable.java57 * public void formatTo(Formatter fmt, int f, int width, int precision) {
76 * // apply width and justification
78 * if (len < width)
79 * for (int i = 0; i < width - len; i++)
139 * @param width
142 * <tt>width</tt> then the output will be padded by
144 * equals width. The padding is at the beginning by default. If
146 * padding will be at the end. If <tt>width</tt> is <tt>-1</tt>
151 * The precision is applied before the width, thus the output will
153 * <tt>width</t
163 formatTo(Formatter formatter, int flags, int width, int precision) argument
[all...]
/openjdk7/jdk/src/macosx/native/sun/awt/
H A DPrinterSurfaceData.h34 jint width; member in struct:_PrintSDOps
/openjdk7/jdk/src/solaris/native/sun/awt/utility/
H A Drect.h34 #define RECT_EQ_X(r1,r2) ((r1).x==(r2).x && (r1).width==(r2).width)
40 (r).width=(ww); \
50 int BitmapToYXBandedRectangles(int bitsPerPixel, int width, int height,
/openjdk7/jdk/src/share/native/sun/java2d/loops/
H A DGlyphImageRef.h44 int width; member in struct:__anon914
/openjdk7/jdk/src/share/classes/sun/java2d/pipe/
H A DPixelFillPipe.java44 int x, int y, int width, int height);
48 int x, int y, int width, int height,
52 int x, int y, int width, int height);
55 int x, int y, int width, int height,
43 fillRect(SunGraphics2D sg, int x, int y, int width, int height) argument
47 fillRoundRect(SunGraphics2D sg, int x, int y, int width, int height, int arcWidth, int arcHeight) argument
51 fillOval(SunGraphics2D sg, int x, int y, int width, int height) argument
54 fillArc(SunGraphics2D sg, int x, int y, int width, int height, int startAngle, int arcAngle) argument
/openjdk7/jdk/src/solaris/classes/sun/awt/X11/
H A DXHorizontalScrollbar.java40 public void setSize(int width, int height) { argument
41 super.setSize(width, height);
43 this.barLength = width;
58 return new Rectangle(getArrowAreaWidth(), 2, width - 2*getArrowAreaWidth(), height-4);
H A DXVerticalScrollbar.java38 public void setSize(int width, int height) { argument
39 super.setSize(width, height);
40 this.barWidth = width;
57 return new Rectangle(2, getArrowAreaWidth(), width-4, height - 2*getArrowAreaWidth());

Completed in 124 milliseconds

1234567891011>>