Searched defs:width (Results 76 - 100 of 532) sorted by relevance

1234567891011>>

/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/colorchooser/
H A DDiagramComponent.java44 private int width; field in class:DiagramComponent
60 this.width = getWidth() - this.insets.left - this.insets.right;
64 || (this.width != this.image.getWidth())
67 int size = this.width * this.height;
71 this.image = new BufferedImage(this.width, this.height, BufferedImage.TYPE_INT_RGB);
74 float dx = 1.0f / (float) (this.width - 1);
82 for (int w = 0; w < this.width; w++, x += dx, offset++) {
88 for (int w = 0; w < this.width; w++, offset++) {
94 this.image.setRGB(0, 0, this.width, this.height, this.array, 0, this.width);
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/plaf/
H A DComponentUI.java278 * @param width the width to get the baseline for
281 * @throws IllegalArgumentException if width or height is &lt; 0
287 public int getBaseline(JComponent c, int width, int height) { argument
291 if (width < 0 || height < 0) {
/openjdk7/jdk/src/share/classes/javax/swing/plaf/metal/
H A DMetalDesktopIconUI.java49 private int width; field in class:MetalDesktopIconUI
61 width = UIManager.getInt("DesktopIcon.width");
122 // the width consistent according to the jlf spec.
123 return new Dimension(width,
/openjdk7/jdk/src/share/classes/javax/swing/plaf/nimbus/
H A DLoweredBorder.java69 * and had a width of <code>width</code> and a height of
79 * @param width The width of the region to paint. Note that in the case of
86 protected void doPaint(Graphics2D g, JComponent c, int width, int height, argument
116 if (width != IMG_SIZE || height != IMG_SIZE){
117 ImageScalingHelper.paint(g,0,0,width,height,img2, INSETS, INSETS,
173 * @param width the width of the painted border
176 public void paintBorder(Component c, Graphics g, int x, int y, int width, argument
[all...]
H A DNimbusIcon.java41 private int width; field in class:NimbusIcon
47 this.width = w;
148 painter.paint(gfx, jc , width, height);
156 return width;
168 return scale(context, width);
189 return scale(context, width);
/openjdk7/jdk/src/share/classes/javax/swing/text/html/
H A DCommentView.java124 int width, int height) {
126 width - commentPaddingD, height);
123 paintBorder(Component c, Graphics g, int x, int y, int width, int height) argument
/openjdk7/jdk/src/share/classes/sun/awt/
H A DIconInfo.java53 private final int width; field in class:IconInfo
74 this.width = intIconData[0];
76 this.scaledWidth = width;
78 this.rawLength = width * height + 2;
84 this.width = (int)longIconData[0];
86 this.scaledWidth = width;
88 this.rawLength = width * height + 2;
96 this.width = ir.getWidth();
99 this.width = image.getWidth(null);
102 this.scaledWidth = width;
110 setScaledSize(int width, int height) argument
210 imageToIntArray(Image image, int width, int height) argument
[all...]
H A DOrientableFlowLayout.java150 dim.width = Math.max(dim.width, cDim.width);
159 dim.width += insets.left + insets.right + vHGap*2;
185 dim.width = Math.max(dim.width, cDim.width);
194 dim.width += insets.left + insets.right + vHGap*2;
227 c.resize(cDim.width, cDim.height);
234 colWidth = Math.max(colWidth, cDim.width);
273 moveComponents(Container target, int x, int y, int width, int height, int colStart, int colEnd) argument
[all...]
/openjdk7/jdk/src/share/classes/sun/awt/image/
H A DBufferedImageGraphicsConfig.java70 int width, height; field in class:BufferedImageGraphicsConfig
81 this.width = bufImg.getWidth();
101 public BufferedImage createCompatibleImage(int width, int height) { argument
102 WritableRaster wr = raster.createCompatibleWritableRaster(width, height);
171 return new Rectangle(0, 0, width, height);
H A DJPEGImageDecoder.java84 public boolean sendHeaderInfo(int width, int height, argument
88 setDimensions(width, height);
/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/src/share/classes/java/awt/geom/
H A DEllipse2D.java67 * The overall width of this <code>Ellipse2D</code>.
71 public float width; field in class:Ellipse2D.Float
96 * @param w the width of the framing rectangle
125 return (double) width;
141 return (width <= 0.0 || height <= 0.0);
152 * @param w the width of the specified rectangular shape
159 this.width = w;
170 this.width = (float) w;
179 return new Rectangle2D.Float(x, y, width, height);
211 * The overall width o
215 public double width; field in class:Ellipse2D.Double
[all...]
/openjdk7/jdk/src/share/classes/java/awt/image/
H A DBufferedImageFilter.java49 int width; field in class:BufferedImageFilter
89 * @param width the width to which to set the width of this
95 public void setDimensions(int width, int height) { argument
96 if (width <= 0 || height <= 0) {
100 this.width = width;
129 int size = width * height;
156 * @throws IllegalArgumentException if width o
[all...]
H A DLookupOp.java149 int width = src.getWidth();
157 if (width != dst.getWidth()) {
159 IllegalArgumentException("Src width ("+width+
160 ") not equal to dst width ("+
257 int width = src.getWidth();
265 else if (height != dst.getHeight() || width != dst.getWidth()) {
297 width, height, numBands);
300 shortFilter ((ShortLookupTable) ltable, src, dst, width,
312 for (int x=0; x < width;
475 byteFilter(ByteLookupTable lookup, Raster src, WritableRaster dst, int width, int height, int numBands) argument
522 shortFilter(ShortLookupTable lookup, Raster src, WritableRaster dst, int width, int height, int numBands) argument
[all...]
H A DReplicateScaleFilter.java54 * The width of the source image.
64 * The target width to scale the image.
94 * its source Image as specified by the width and height parameters.
95 * @param width the target width to scale the image
97 * @throws IllegalArgumentException if <code>width</code> equals
100 public ReplicateScaleFilter(int width, int height) { argument
101 if (width == 0 || height == 0) {
102 throw new IllegalArgumentException("Width ("+width+
106 destWidth = width;
[all...]
/openjdk7/jdk/src/share/classes/java/awt/peer/
H A DFramePeer.java106 * @param width the width of the frame
113 void setBoundsPrivate(int x, int y, int width, int height); argument
/openjdk7/jdk/src/share/classes/java/awt/print/
H A DPaper.java65 * The width of the physical page in 1/72nds
131 * Sets the width and height of this <code>Paper</code>
136 * @param width the value to which to set this <code>Paper</code>
137 * object's width
141 public void setSize(double width, double height) { argument
142 mWidth = width;
147 * Returns the width of the page in 1/72nds
149 * @return the width of the page described by this
164 * @param width the value to which to set the width o
169 setImageableArea(double x, double y, double width, double height) argument
[all...]
/openjdk7/jdk/src/share/classes/javax/imageio/event/
H A DIIOReadUpdateListener.java51 * <code>width</code>, and <code>height</code> parameters. If the
105 * (<code>minX</code>, <code>minY</code>, <code>width</code>, and
113 * width = 3
136 * @param width the number of updated pixels horizontally.
148 int width, int height,
216 * @param width the number of updated pixels horizontally.
230 int width, int height,
145 imageUpdate(ImageReader source, BufferedImage theImage, int minX, int minY, int width, int height, int periodX, int periodY, int[] bands) argument
227 thumbnailUpdate(ImageReader source, BufferedImage theThumbnail, int minX, int minY, int width, int height, int periodX, int periodY, int[] bands) argument
/openjdk7/jdk/src/share/classes/java/awt/
H A DBasicStroke.java41 * <dt><i>width</i>
42 * <dd>The pen width, measured perpendicularly to the pen trajectory.
60 * width is greater than the miterlimit value. The miter length is
79 * attribute is applied. Therefore, attributes such as the pen width
84 * For example, the width of a rendered shape's outline is determined
85 * not only by the width attribute of this <code>BasicStroke</code>,
100 * When a line is diagonal, the exact width depends on how the
122 * of half the line width.
140 * decoration that has a radius equal to half of the width
148 * to a distance equal to half of the line width
152 float width; field in class:BasicStroke
189 BasicStroke(float width, int cap, int join, float miterlimit, float dash[], float dash_phase) argument
246 BasicStroke(float width, int cap, int join, float miterlimit) argument
264 BasicStroke(float width, int cap, int join) argument
275 BasicStroke(float width) argument
[all...]
H A DGraphicsConfiguration.java142 * @param width the width of the returned <code>BufferedImage</code>
147 public BufferedImage createCompatibleImage(int width, int height) { argument
150 model.createCompatibleWritableRaster(width, height);
163 * @param width the width of the returned <code>BufferedImage</code>
174 public BufferedImage createCompatibleImage(int width, int height, argument
178 return createCompatibleImage(width, height);
186 WritableRaster wr = cm.createCompatibleWritableRaster(width, height);
198 * @param width th
205 createCompatibleVolatileImage(int width, int height) argument
236 createCompatibleVolatileImage(int width, int height, int transparency) argument
270 createCompatibleVolatileImage(int width, int height, ImageCapabilities caps) argument
304 createCompatibleVolatileImage(int width, int height, ImageCapabilities caps, int transparency) argument
[all...]
/openjdk7/jdk/src/macosx/classes/com/apple/laf/
H A DAquaComboBoxButton.java96 int width = getWidth();
101 g.fillRect(0, 0, width, height);
116 painter.paint(g, this, left, top, width, height);
117 doRendererPaint(g, buttonModel, editable, getInsets(), left, top, width, height);
126 width -= insets.left + insets.right;
130 if (height <= 0 || width <= 0) {
152 painter.paint(g, comboBox, left + 2, top - 1, width - 4, height);
154 painter.paint(g, comboBox, left, top, width, height);
159 doRendererPaint(g, buttonModel, editable, insets, left, top, width, height);
163 protected void doRendererPaint(final Graphics g, final ButtonModel buttonModel, final boolean editable, final Insets insets, int left, int top, int width, in argument
[all...]
H A DAquaGroupBorder.java58 public void paintBorder(final Component c, final Graphics g, int x, int y, int width, int height) { argument
60 // sg2d.drawRect(x, y, width - 1, height - 1);
65 width -= (internalInsets.left + internalInsets.right);
68 painter.paint(g, c, x, y, width, height);
70 // sg2d.drawRect(x, y, width, height);
H A DAquaTextFieldBorder.java64 public void paintBorder(final Component c, final Graphics g, int x, int y, int width, int height) { argument
66 // g.drawRect(x, y, width - 1, height - 1);
71 painter.paint(g, c, x, y, width, height);
81 painter.paint(g, c, x, y, width, height);
89 width -= (subInsets.left + subInsets.right);
95 clipBounds.width -= shrinkage * 2;
99 painter.paint(g, c, x, y, width, height);
101 // g.drawRect(x, y, width - 1, height - 1);
/openjdk7/jdk/src/macosx/classes/sun/lwawt/macosx/
H A DCPrinterGraphics.java56 int width, int height,
62 return getDelegate().drawImage(img, x, y, width, height, bgcolor, observer);
55 drawImage(Image img, int x, int y, int width, int height, Color bgcolor, ImageObserver observer) argument

Completed in 63 milliseconds

1234567891011>>