com.partnersoft.maps.model
Class AbstractImageSource

java.lang.Object
  extended by com.partnersoft.maps.model.AbstractImageSource
All Implemented Interfaces:
ImageSource

public abstract class AbstractImageSource
extends java.lang.Object
implements ImageSource


Constructor Summary
AbstractImageSource()
           
 
Method Summary
 OpenglTextureHandle addTexture(OpenglControl control)
          Adds the textureHandle to OpenglControl and returns the ID.
 java.awt.Image getImage()
           
 void removeTexture()
          Removes the textureHandle from GLTextureManager.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.partnersoft.maps.model.ImageSource
getImageBytes
 

Constructor Detail

AbstractImageSource

public AbstractImageSource()
Method Detail

getImage

public java.awt.Image getImage()
Specified by:
getImage in interface ImageSource

addTexture

public OpenglTextureHandle addTexture(OpenglControl control)
Description copied from interface: ImageSource
Adds the textureHandle to OpenglControl and returns the ID.

Specified by:
addTexture in interface ImageSource
Returns:

removeTexture

public void removeTexture()
Description copied from interface: ImageSource
Removes the textureHandle from GLTextureManager.

Specified by:
removeTexture in interface ImageSource