Class Painter.ImageObserver

java.lang.Object
eu.pedu.lib20s.canvasmanager.Painter.ImageObserver
All Implemented Interfaces:
java.awt.image.ImageObserver
Enclosing class:
Painter

public static class Painter.ImageObserver
extends java.lang.Object
implements java.awt.image.ImageObserver
Instance třídy ImageObserver slouží k předání informací o tom, že požadovaný obrázek je již načten.
  • Field Summary

    Fields inherited from interface java.awt.image.ImageObserver

    ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
  • Constructor Summary

    Constructors 
    Constructor Description
    ImageObserver()  
  • Method Summary

    Modifier and Type Method Description
    boolean imageUpdate​(java.awt.Image img, int infoflags, int x, int y, int width, int height)
    Metoda je volaná v okamžiku, kdy jsou k dispozici infomrace o před tím požadovaném obrázku.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • imageUpdate

      public boolean imageUpdate​(java.awt.Image img, int infoflags, int x, int y, int width, int height)
      Metoda je volaná v okamžiku, kdy jsou k dispozici infomrace o před tím požadovaném obrázku.
      Specified by:
      imageUpdate in interface java.awt.image.ImageObserver
      Parameters:
      img - Pozorovaný obrázek
      infoflags - Bitový OR několika příznaků
      x - Vodorovná souřadnice
      y - Svislá souřadnice
      width - Šířka
      height - Výška
      Returns:
      true bude-li se obrázek ještě v budnoucnu měnit (není ještě celý načten), false je-li definitivní