Lines Matching refs:image

41  * <code>TrayIcon</code> can have a tooltip (text), an image, a popup
88 private Image image;
150 * Creates a <code>TrayIcon</code> with the specified image.
152 * @param image the <code>Image</code> to be used
153 * @throws IllegalArgumentException if <code>image</code> is
167 public TrayIcon(Image image) {
169 if (image == null) {
172 setImage(image);
176 * Creates a <code>TrayIcon</code> with the specified image and
179 * @param image the <code>Image</code> to be used
182 * @throws IllegalArgumentException if <code>image</code> is
196 public TrayIcon(Image image, String tooltip) {
197 this(image);
202 * Creates a <code>TrayIcon</code> with the specified image,
205 * @param image the <code>Image</code> to be used
210 * @throws IllegalArgumentException if <code>image</code> is <code>null</code>
226 public TrayIcon(Image image, String tooltip, PopupMenu popup) {
227 this(image, tooltip);
232 * Sets the image for this <code>TrayIcon</code>. The previous
233 * tray icon image is discarded without calling the {@link
237 * <p> If the image represents an animated image, it will be
241 * details on the size of the displayed image.
243 * <p> Calling this method with the same image that is currently
246 * @throws NullPointerException if <code>image</code> is <code>null</code>
247 * @param image the non-null <code>Image</code> to be used
253 public void setImage(Image image) {
254 if (image == null) {
257 this.image = image;
266 * Returns the current image used for this <code>TrayIcon</code>.
268 * @return the image
273 return image;
365 * tray image is automatically sized to fit the space allocated
366 * for the image on the tray. By default, the auto-size property
369 * <p> If auto-size is <code>false</code>, and the image size
370 * doesn't match the tray icon space, the image is painted as-is
374 * <p> If auto-size is <code>true</code>, the image is stretched or shrunk to
377 * @param autosize <code>true</code> to auto-size the image,
393 * @return <code>true</code> if the image will be auto-sized,