de.beamertool.viewer.gui
Class ImageContainer

java.lang.Object
  extended by de.beamertool.viewer.gui.ImageContainer
All Implemented Interfaces:
Serializable

public class ImageContainer
extends Object
implements Serializable

Author:
ocm-zeeman
See Also:
Serialized Form

Constructor Summary
ImageContainer(BufferedImage image, Dimension maxSize, Settings theSettings)
           
ImageContainer(URL fileName, Dimension maxSize, Settings theSettings)
           
 
Method Summary
static int getImageCount()
           
 BufferedImage getNormalImage()
          Returns the scaled image of this container This method blocks until the image is resizied
 TextureData getTexture()
          Returns the OpenGL-ready image of this container.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImageContainer

public ImageContainer(BufferedImage image,
                      Dimension maxSize,
                      Settings theSettings)

ImageContainer

public ImageContainer(URL fileName,
                      Dimension maxSize,
                      Settings theSettings)
Method Detail

getImageCount

public static int getImageCount()

getNormalImage

public BufferedImage getNormalImage()
Returns the scaled image of this container This method blocks until the image is resizied

Returns:
- the resized image of thie container

getTexture

public TextureData getTexture()
Returns the OpenGL-ready image of this container. This method blocks until the image is availible.

Returns:
OpenGl-ready image