net.dzzd.access
Interface IURLTexture

All Superinterfaces:
IMonitoredSceneObject, ISceneObject, ITexture

public interface IURLTexture
extends ITexture

Used for accessing to a URLTexture.

URLTexture are texture that gets pixel from a local or remote image file by using an URL.

Since:
1.0
Version:
1.0, 01/01/04
Author:
Bruno Augier
See Also:
ITexture, IProgress, DzzD

Method Summary
 java.lang.String getBaseURL()
          Gets base URL for the source file.
 java.lang.String getSourceFile()
          Gets source file.
 void load()
          Start loading image asynchronously using using current base URL and source file .
 void load(java.lang.String baseURL, java.lang.String sourceFile)
          Sets base URL and image file name and asynchronously begin loading.
 void setBaseURL(java.lang.String baseURL)
          Sets base URL for the source file.
 void setSourceFile(java.lang.String sourceFile)
          Sets source file.
 
Methods inherited from interface net.dzzd.access.ITexture
buildMipMap, getPixels, getPixelsHeight, getPixelsWidth, getType, setType
 
Methods inherited from interface net.dzzd.access.ISceneObject
build, clearProperties, copy, getBuild, getId, getName, getProperty, getScene, setBuild, setId, setName, setProperty
 
Methods inherited from interface net.dzzd.access.IMonitoredSceneObject
copy
 

Method Detail

setSourceFile

public void setSourceFile(java.lang.String sourceFile)
Sets source file.
Sets source image file name : image.gif

Parameters:
sourceFile - image file name

getSourceFile

public java.lang.String getSourceFile()
Gets source file.
Gets source image file name : image.gif

Returns:
image file name

setBaseURL

public void setBaseURL(java.lang.String baseURL)
Sets base URL for the source file.
Sets base URL for image file :
- http://myserver.com/ - file://c:/images/ - etc...

Parameters:
baseURL - image file location as an URL

getBaseURL

public java.lang.String getBaseURL()
Gets base URL for the source file.
Gets base URL for image file :
- http://myserver.com/ - file://c:/images/ - etc...

Returns:
image file location as an URL

load

public void load(java.lang.String baseURL,
                 java.lang.String sourceFile)
Sets base URL and image file name and asynchronously begin loading.

Parameters:
baseURL - image file location as an URL
sourceFile - image file name

load

public void load()
Start loading image asynchronously using using current base URL and source file .