Lines Matching refs:image

28 import java.awt.image.*;
33 import sun.awt.image.SunWritableRaster;
38 * undecorated window containing an image. You can use GIF, JPEG, or PNG files
39 * for the image. Animation is supported for the GIF format, while transparency
48 * Place the image in the jar archive and specify the path in the option.
61 * implementation allows you to specify the splash screen image location with
72 * whole splash screen image given the limitations of the target platform and
75 * It is implied that the specified image is presented on the screen "as is",
76 * i.e. preserving the exact color values as specified in the image file. Under
77 * certain circumstances, though, the presented image may differ, e.g. when
78 * applying color dithering to present a 32 bits per pixel (bpp) image on a 16
80 * the colors of the displayed image (e.g. color profiles, etc.)
84 * screen image, get the splash screen native window position/size, and paint
133 * Changes the splash screen image. The new image is loaded from the
134 * specified URL; GIF, JPEG and PNG image formats are supported.
135 * The method returns after the image has finished loading and the window
138 * the image and is centered on the screen.
141 * splash screen image
143 * @throws IOException if there was an error while loading the image
184 throw new IOException("Bad image format or i/o error when loading image");
196 * Returns the current splash screen image.
198 * @return URL for the current splash screen image file
232 * The splash screen size is adjusted automatically when the image changes.
234 * The image may contain transparent areas, and thus the reported bounds may
235 * be larger than the visible splash screen image on the screen.
253 * The splash screen size is adjusted automatically when the image changes.
255 * The image may contain transparent areas, and thus the reported size may
256 * be larger than the visible splash screen image on the screen.
267 * screen overlay image, which allows you to draw over the splash screen.
268 * Note that you do not draw on the main image but on the image that is
269 * displayed over the main image using alpha blending. Also note that drawing
270 * on the overlay image does not necessarily update the contents of splash
284 if (image==null) {
286 image = new BufferedImage(dim.width, dim.height, BufferedImage.TYPE_INT_ARGB);
288 return image.createGraphics();
293 * Updates the splash window with current contents of the overlay image.
295 * @throws IllegalStateException if the overlay image does not exist;
300 BufferedImage image;
303 image = this.image;
305 if (image == null) {
306 throw new IllegalStateException("no overlay image available");
308 DataBuffer buf = image.getRaster().getDataBuffer();
310 throw new AssertionError("Overlay image DataBuffer is of invalid type == "+buf.getClass().getName());
314 throw new AssertionError("Invalid number of banks =="+numBanks+" in overlay image DataBuffer");
316 if (!(image.getSampleModel() instanceof SinglePixelPackedSampleModel)) {
317 throw new AssertionError("Overlay image has invalid sample model == "+image.getSampleModel().getClass().getName());
319 SinglePixelPackedSampleModel sm = (SinglePixelPackedSampleModel)image.getSampleModel();
321 Rectangle rect = image.getRaster().getBounds();
341 image = null;
373 private BufferedImage image; // overlay image