Lines Matching defs:img
216 void replaceImage(Image img)
225 if (img != null && iconWidth != 0 && iconHeight != 0) {
239 g.drawImage(img, 0, 0, iconWidth, iconHeight, null);
337 void replaceMask(Image img) {
343 if (img != null && iconWidth != 0 && iconHeight != 0) {
347 g.drawImage(img, 0, 0, iconWidth, iconHeight, null);
427 void setIconImage(Image img) {
428 if (img == null) {
436 if (img instanceof ToolkitImage) {
437 ImageRepresentation ir = ((ToolkitImage)img).getImageRep();
443 width = img.getWidth(null);
444 height = img.getHeight(null);
456 replaceImage(img);
457 replaceMask(img);