public class ImageComponent2DURLState extends ImageComponentState
| Modifier and Type | Class and Description |
|---|---|
(package private) static class |
ImageComponent2DURLState.DefaultListener |
| Modifier and Type | Field and Description |
|---|---|
private static ImageComponent2DURLIOListener |
listener |
private java.net.URL |
url |
byReference, format, GZIP_COMPRESSION, height, JPEG_COMPRESSION, NO_COMPRESSION, width, yUpcontrol, node, nodeClassName, symbol| Constructor and Description |
|---|
ImageComponent2DURLState(SymbolTableData symbol,
Controller control) |
| Modifier and Type | Method and Description |
|---|---|
protected SceneGraphObject |
createNode()
Create a new Java3D node for this object.
|
protected SceneGraphObject |
createNode(java.lang.Class j3dClass)
Create a new Java3D node from the supplied class using the parameterless constructor
For Java3D nodes which do not have a default constructor you must
overload this method and create the object using createNode( className, parameters )
This will correctly handle subclasses of Java3D classes
|
void |
readConstructorParams(java.io.DataInput in)
Read the parameters required for the constructor of the Java3D object
|
static void |
setLoadListener(ImageComponent2DURLIOListener loadListener)
Set the listener which will handle the creation of this ImageComponent
from it's URL.
|
void |
writeConstructorParams(java.io.DataOutput out)
Write the parameters required for the constructor of the Java3D object
|
readBufferedImage, writeBufferedImageaddSubReference, readObject, writeObjectbuildGraph, cleanup, createNode, createNode, createState, getNode, getNodeID, getSymbol, readString, writeStringprivate static ImageComponent2DURLIOListener listener
private java.net.URL url
public ImageComponent2DURLState(SymbolTableData symbol, Controller control)
public void writeConstructorParams(java.io.DataOutput out)
throws java.io.IOException
SceneGraphObjectStatewriteConstructorParams in class ImageComponentStatejava.io.IOExceptionpublic void readConstructorParams(java.io.DataInput in)
throws java.io.IOException
SceneGraphObjectStatereadConstructorParams in class ImageComponentStatejava.io.IOExceptionprotected SceneGraphObject createNode(java.lang.Class j3dClass)
SceneGraphObjectStatecreateNode in class SceneGraphObjectStateprotected SceneGraphObject createNode()
SceneGraphObjectStatecreateNode in class SceneGraphObjectStatepublic static void setLoadListener(ImageComponent2DURLIOListener loadListener)
Copyright 1996-2008 Sun Microsystems, Inc. All Rights Reserved. Use is subject to license terms.