|
||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.sun.j3d.utils.image.TextureLoader | +--NewTextureLoader
Fields inherited from class com.sun.j3d.utils.image.TextureLoader |
GENERATE_MIPMAP |
Constructor Summary | |
NewTextureLoader(java.awt.Image image)
Constructs a NewTextureLoader object loading the specified iamge in default (RGBA) format. |
|
NewTextureLoader(java.awt.Image image,
int flags)
Constructs a NewTextureLoader object loading the specified image and option flags in the default (RGBA) format. |
|
NewTextureLoader(java.awt.Image image,
java.lang.String format)
Constructs a NewTextureLoader object loading the specified file using the specified format. |
|
NewTextureLoader(java.awt.Image image,
java.lang.String format,
int flags)
Constructs a NewTextureLoader object loading the specified file with specified format and flags. |
|
NewTextureLoader(java.lang.String fname)
Constructs a NewTextureLoader object loading the specified file using the default format (RGBA). |
|
NewTextureLoader(java.lang.String fname,
int flags)
Constructs a NewTextureLoader object loading the specified file with the specified flags. |
|
NewTextureLoader(java.lang.String fname,
java.lang.String format)
Constructs a NewTextureLoader object loading the specified file using the specified format. |
|
NewTextureLoader(java.lang.String fname,
java.lang.String format,
int flags)
Constructs a NewTextureLoader object loading the specified file using the specified format and flags. |
|
NewTextureLoader(java.net.URL url)
Constructs a NewTextureLoader object loading the specified URL using the default format. |
|
NewTextureLoader(java.net.URL url,
int flags)
Constructs a NewTextureLoader object loading the specified URL using the specified flags. |
|
NewTextureLoader(java.net.URL url,
java.lang.String format)
Constructs a NewTextureLoader object loading the specified URL using the specified format. |
|
NewTextureLoader(java.net.URL url,
java.lang.String format,
int flags)
Constructs a NewTextureLoader object loading the specified URL using the specified format and flags. |
Method Summary | |
static java.awt.Component |
getImageObserver()
Retreve the object used as the image observer for NewTextureLoader objects. |
static void |
setImageObserver(java.awt.Component imageObserver)
Specify an object to server as the image observer. |
Methods inherited from class com.sun.j3d.utils.image.TextureLoader |
getImage,
getScaledImage,
getScaledImage,
getTexture |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public NewTextureLoader(java.awt.Image image)
image
- the image object to loadpublic NewTextureLoader(java.awt.Image image, int flags)
image
- the image object to loadflags
- the flags to use in construction (e.g. generate mipmap)public NewTextureLoader(java.awt.Image image, java.lang.String format)
image
- the image object to loadformat
- specificaiton of which channels to use (e.g. RGB)public NewTextureLoader(java.awt.Image image, java.lang.String format, int flags)
image
- the image object to loadformat
- specificaiton of which channels to use (e.g. RGB)flags
- the flags to use in construction (e.g. generate mipmap)public NewTextureLoader(java.lang.String fname)
fname
- the name of the file to loadpublic NewTextureLoader(java.lang.String fname, int flags)
fname
- the name of the file to loadflags
- the flags to use in construction (e.g. generate mipmap)public NewTextureLoader(java.lang.String fname, java.lang.String format)
fname
- the name of the file to loadformat
- specificaiton of which channels to use (e.g. RGB)public NewTextureLoader(java.lang.String fname, java.lang.String format, int flags)
fname
- the name of the file to loadformat
- specificaiton of which channels to use (e.g. RGB)flags
- the flags to use in construction (e.g. generate mipmap)public NewTextureLoader(java.net.URL url)
url
- specifies the URL of the image to loadpublic NewTextureLoader(java.net.URL url, int flags)
url
- specifies the URL of the image to loadflags
- the flags to use in construction (e.g. generate mipmap)public NewTextureLoader(java.net.URL url, java.lang.String format)
url
- specifies the URL of the image to loadformat
- specificaiton of which channels to use (e.g. RGB)public NewTextureLoader(java.net.URL url, java.lang.String format, int flags)
url
- specifies the URL of the image to loadformat
- specificaiton of which channels to use (e.g. RGB)flags
- the flags to use in construction (e.g. generate mipmap)Method Detail |
public static void setImageObserver(java.awt.Component imageObserver)
imageObserver
- the object to be used in subsequent
NewTextureLoader constuctionspublic static java.awt.Component getImageObserver()
|
||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |