1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
| /**
* {@inheritDoc}
*/
@Override public boolean imageUpdate(Image img, int infoflags, int x, int y, int width, int height) {
System.out.println("===============================================================");
System.out.println("WIDTH :" + ((infoflags & WIDTH) == WIDTH));
System.out.println("HEIGHT :" + ((infoflags & HEIGHT) == HEIGHT));
System.out.println("PROPERTIES :" + ((infoflags & PROPERTIES) == PROPERTIES));
System.out.println("SOMEBITS :" + ((infoflags & SOMEBITS) == SOMEBITS));
System.out.println("FRAMEBITS :" + ((infoflags & FRAMEBITS) == FRAMEBITS));
System.out.println("ALLBITS :" + ((infoflags & ALLBITS) == ALLBITS));
System.out.println("ERROR :" + ((infoflags & ERROR) == ERROR));
System.out.println("ABORT :" + ((infoflags & ABORT) == ABORT));
return super.imageUpdate(img, infoflags, x, y, width, height);
} |