Class TileImageDisposer


  • public class TileImageDisposer
    extends Object
    Simple class to dispose (close) all TileOpImages. It will call PlanarImage.dispose() on all registered items.
    • Constructor Detail

      • TileImageDisposer

        public TileImageDisposer()
    • Method Detail

      • registerForDisposal

        public void registerForDisposal​(javax.media.jai.PlanarImage image)
        Adds an image to be handled by this instance.
        Parameters:
        image - The image to be (later) disposed.
      • disposeAll

        public void disposeAll()
        Disposes all registered images.