public class ImageComponent2DURLState extends ImageComponentState
byReference, format, GZIP_COMPRESSION, height, JPEG_COMPRESSION, NO_COMPRESSION, width, yUp
control, 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(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(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(DataOutput out)
Write the parameters required for the constructor of the Java3D object
|
readBufferedImage, writeBufferedImage
addSubReference, readObject, writeObject
buildGraph, cleanup, createNode, createNode, createState, getNode, getNodeID, getSymbol, readString, writeString
public ImageComponent2DURLState(SymbolTableData symbol, Controller control)
public void writeConstructorParams(DataOutput out) throws IOException
SceneGraphObjectState
writeConstructorParams
in class ImageComponentState
IOException
public void readConstructorParams(DataInput in) throws IOException
SceneGraphObjectState
readConstructorParams
in class ImageComponentState
IOException
protected SceneGraphObject createNode(Class j3dClass)
SceneGraphObjectState
createNode
in class SceneGraphObjectState
protected SceneGraphObject createNode()
SceneGraphObjectState
createNode
in class SceneGraphObjectState
public static void setLoadListener(ImageComponent2DURLIOListener loadListener)
Copyright © 2016–2022 SciJava. All rights reserved.