Class ImageObserverAnimated

java.lang.Object
com.jsql.view.swing.tree.ImageObserverAnimated
All Implemented Interfaces:
ImageObserver

public class ImageObserverAnimated extends Object implements ImageObserver
Observer to update tree node composed by the animated GIF.
  • Constructor Details

    • ImageObserverAnimated

      public ImageObserverAnimated(JTree tree, TreeNode node)
      Build GIF animator for tree node.
      Parameters:
      tree - Tree containing GIF node
      node - Node with a GIF to animate
  • Method Details

    • imageUpdate

      public boolean imageUpdate(Image image, int flags, int x, int y, int w, int h)
      Specified by:
      imageUpdate in interface ImageObserver