/openjdk7/jdk/src/share/classes/javax/swing/border/ |
H A D | StrokeBorder.java | 100 * @param width the width of the painted border 106 public void paintBorder(Component c, Graphics g, int x, int y, int width, int height) { argument 116 g2d.draw(new Rectangle2D.Float(x + size / 2, y + size / 2, width - size, height - size)); 126 * that is greater than or equal to the line width of the stroke
|
H A D | EtchedBorder.java | 116 * @param width the width of the painted border 119 public void paintBorder(Component c, Graphics g, int x, int y, int width, int height) { argument 120 int w = width;
|
H A D | LineBorder.java | 120 * @param width the width of the painted border 123 public void paintBorder(Component c, Graphics g, int x, int y, int width, int height) { argument 137 outer = new RoundRectangle2D.Float(x, y, width, height, arc, arc); 138 inner = new RoundRectangle2D.Float(x + offs, y + offs, width - size, height - size, arc, arc); 141 outer = new Rectangle2D.Float(x, y, width, height); 142 inner = new Rectangle2D.Float(x + offs, y + offs, width - size, height - size);
|
H A D | MatteBorder.java | 107 * the tile icon's width. 117 public void paintBorder(Component c, Graphics g, int x, int y, int width, int height) { argument 129 g.fillRect(0, 0, width - insets.right, insets.top); 131 g.fillRect(insets.left, height - insets.bottom, width - insets.left, insets.bottom); 132 g.fillRect(width - insets.right, 0, insets.right, height - insets.bottom); 137 paintEdge(c, g, 0, 0, width - insets.right, insets.top, tileW, tileH); 139 paintEdge(c, g, insets.left, height - insets.bottom, width - insets.left, insets.bottom, tileW, tileH); 140 paintEdge(c, g, width - insets.right, 0, insets.right, height - insets.bottom, tileW, tileH); 147 private void paintEdge(Component c, Graphics g, int x, int y, int width, int height, int tileW, int tileH) { argument 148 g = g.create(x, y, width, heigh [all...] |
/openjdk7/jdk/src/share/classes/javax/swing/plaf/basic/ |
H A D | BasicPanelUI.java | 87 public int getBaseline(JComponent c, int width, int height) { argument 88 super.getBaseline(c, width, height); 91 return ((AbstractBorder)border).getBaseline(c, width, height);
|
/openjdk7/jdk/src/share/classes/javax/swing/plaf/metal/ |
H A D | MetalScrollButton.java | 61 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/javax/swing/text/html/ |
H A D | LineView.java | 116 * @param width the width to lay out against >= 0. This is 117 * the width inside of the inset area. 122 protected void layout(int width, int height) { argument 173 int width = getCharactersPerTab() * fm.charWidth('W'); 175 return (float)((((int)x - tb) / width + 1) * width + tb);
|
H A D | NoFramesView.java | 111 protected void layout(int width, int height) { argument 115 super.layout(width, height);
|
/openjdk7/jdk/src/share/classes/sun/awt/image/ |
H A D | OffScreenImageSource.java | 41 int width; field in class:OffScreenImageSource 53 width = image.getWidth(); 91 int[] scanline = new int[width*numDataElements]; 95 byte[] pixels = new byte[width]; 101 raster.getDataElements(0, y, width, 1, pixels); 102 theConsumer.setPixels(0, y, width, 1, cm, pixels, 0, 103 width); 110 raster.getPixels(0, y, width, 1, scanline); 111 for (int x=0; x < width; x++) { 114 theConsumer.setPixels(0, y, width, [all...] |
/openjdk7/jdk/src/share/classes/java/awt/image/ |
H A D | ImageObserver.java | 54 * of the x, y, width, and height arguments depends on the contents 71 * @param width the width. 89 int x, int y, int width, int height); 93 * the width of the base image is now available and can be taken 94 * from the width argument to the imageUpdate callback method. 121 * from the x, y, width, and height arguments to the imageUpdate 131 * drawn is now available to be drawn again. The x, y, width, and height 141 * be drawn again in its final form. The x, y, width, and height 88 imageUpdate(Image img, int infoflags, int x, int y, int width, int height) argument
|
/openjdk7/jdk/src/share/classes/java/awt/ |
H A D | DisplayMode.java | 30 * width, and refresh rate of a <code>GraphicsDevice</code>. The ability to 54 * @param width the width of the display, in pixels 65 public DisplayMode(int width, int height, int bitDepth, int refreshRate) { argument 66 this.size = new Dimension(width, height); 80 * Returns the width of the display, in pixels. 81 * @return the width of the display, in pixels 84 return size.width;
|
H A D | GridBagLayoutInfo.java | 43 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;
|
/openjdk7/jdk/src/macosx/classes/sun/lwawt/macosx/ |
H A D | CPrinterGraphicsConfig.java | 68 * @param width the width of the returned <code>BufferedImage</code> 73 public BufferedImage createCompatibleImage(int width, int height) { argument 74 return createCompatibleImage(width, height, Transparency.OPAQUE); 84 * @param width the width of the returned <code>VolatileImage</code> 90 public VolatileImage createCompatibleVolatileImage(int width, int height) { argument 91 return createCompatibleVolatileImage(width, height, Transparency.OPAQUE); 95 public VolatileImage createCompatibleVolatileImage(int width, int height, int transparency) { argument 107 * @param width th 117 createCompatibleImage(int width, int height, int transparency) argument [all...] |
H A D | CViewEmbeddedFrame.java | 90 public void validateWithBounds(final int x, final int y, final int width, final int height) { argument 95 ((LWWindowPeer) getPeer()).setBoundsPrivate(0, 0, width, height);
|
/openjdk7/jaxp/src/org/w3c/dom/html/ |
H A D | HTMLHRElement.java | 72 * The width of the rule. See the width attribute definition in HTML 76 public void setWidth(String width); argument
|
/openjdk7/jdk/src/solaris/native/sun/awt/ |
H A D | Xrandr.h | 43 int width, height; member in struct:__anon963 63 int width; member in struct:__anon964
|
/openjdk7/jdk/src/share/native/sun/awt/utility/ |
H A D | rect.c | 36 int BitmapToYXBandedRectangles(int bitsPerPixel, int width, int height, unsigned char * buf, RECT_T * outBuf) argument 41 int widthBytes = width * bitsPerPixel / 8; 60 while (i < width && !pSrc[3]) { 64 if (i >= width) 67 while (i < width && pSrc[3]) { 73 } while (i < width);
|
/openjdk7/jdk/src/share/classes/sun/tools/jstat/ |
H A D | Alignment.java | 44 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/util/calendar/ |
H A D | CalendarUtils.java | 154 * Mimics sprintf(buf, "%0*d", decaimal, width). 156 public static final StringBuilder sprintf0d(StringBuilder sb, int value, int width) { argument 161 --width; 164 for (int i = 2; i < width; i++) { 167 for (int i = 1; i < width && d < n; i++) { 175 public static final StringBuffer sprintf0d(StringBuffer sb, int value, int width) { argument 180 --width; 183 for (int i = 2; i < width; i++) { 186 for (int i = 1; i < width && d < n; i++) {
|
/openjdk7/jdk/test/javax/swing/border/ |
H A D | Test6981576.java | 54 public void paintBorder(Component c, Graphics g, int x, int y, int width, int height) { argument 55 getBorder().paintBorder(c, g, x, y, width, height);
|
/openjdk7/jdk/src/solaris/classes/sun/awt/X11/ |
H A D | XAbstractMenuItem.java | 35 void paint(Graphics g, int top, int bottom, int width, int shortcutOffset, boolean selected); argument
|
H A D | XCustomCursor.java | 73 int width, int height, 105 long source = XlibWrapper.XCreateBitmapFromData(display,root_window,nativeXorMask,width,height); 108 long mask = XlibWrapper.XCreateBitmapFromData(display,root_window,nativeAndMask,width,height); 72 createCursor(byte[] xorMask, byte[] andMask, int width, int height, int fcolor, int bcolor, int xHotSpot, int yHotSpot) argument
|
/openjdk7/jdk/src/solaris/classes/sun/awt/ |
H A D | X11CustomCursor.java | 46 protected void createNativeCursor(Image im, int[] pixels, int width, int height, argument 139 // but on Solaris 2.6, the width of a cursor has to be 8 divisible, 142 // with a transparent area to make a new cursor of width 8 multiples. 144 int wNByte = (width + 7)/8; 149 for (int i = 0; i < width; i++) { 152 int ip = j*width + i; 174 int width, int height, 173 createCursor(byte[] xorMask, byte[] andMask, int width, int height, int fcolor, int bcolor, int xHotSpot, int yHotSpot) argument
|
/openjdk7/jdk/src/solaris/classes/sun/java2d/xr/ |
H A D | GrowableRectArray.java | 49 public final void setWidth(int index, int width) { argument 50 array[getCellIndex(index) + 2] = width;
|
/openjdk7/jdk/src/share/classes/javax/swing/ |
H A D | Box.java | 145 * Creates an invisible, fixed-width component. 151 * to force the box to be at least the specified width. 157 * @param width the width of the invisible component, in pixels >= 0 163 public static Component createHorizontalStrut(int width) { argument 164 return new Filler(new Dimension(width,0), new Dimension(width,0), 165 new Dimension(width, Short.MAX_VALUE)); 176 * The invisible component has no width 179 * just like any other component that has no maximum width [all...] |