|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.cult3d.Cult
This class provides a way to access static Cult3D methods.
Method Summary | |
static java.awt.Image |
createImage(java.awt.Image image)
Creates an off-screen drawable copy from an Image. |
static java.awt.Image |
createImage(int width,
int height)
Creates an off-screen drawable Image. |
static java.awt.Image |
getImage(java.lang.String imageName)
Gets an image from Cult3D. |
static boolean |
isLoaded()
Checks if everything is loaded. |
static void |
showDocument(java.net.URL url)
Replaces the Web page currently being viewed with the given URL. |
static void |
showDocument(java.net.URL url,
java.lang.String target)
Requests that the browser or applet viewer show the Web page indicated by the url argument. |
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Method Detail |
public static java.awt.Image getImage(java.lang.String imageName)
imageName
- Name of the resource in the Cult3D object.public static java.awt.Image createImage(int width, int height)
width
- the specified widthheight
- the specified heightTextureImage
public static java.awt.Image createImage(java.awt.Image image)
image
- the image to create a copy from.TextureImage
public static boolean isLoaded()
public static void showDocument(java.net.URL url)
url
- an absolute URL giving the location of the document.public static void showDocument(java.net.URL url, java.lang.String target)
url
argument. The
target
argument indicates where to display the frame.url
- an absolute URL giving the location of the document.target
- a String
indicating where to display
the page.
|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |