public abstract class ImageComponentState extends NodeComponentState
Modifier and Type | Field and Description |
---|---|
protected boolean |
byReference |
protected int |
format |
static byte |
GZIP_COMPRESSION
Use GZIP to compress images.
|
protected int |
height |
static byte |
JPEG_COMPRESSION
Use JPEG compression for images
JPEG compression is currently the default.
|
static byte |
NO_COMPRESSION
Do not compress the images
|
protected int |
width |
protected boolean |
yUp |
control, node, nodeClassName, symbol
Constructor and Description |
---|
ImageComponentState(SymbolTableData symbol,
Controller control) |
Modifier and Type | Method and Description |
---|---|
protected java.awt.image.BufferedImage |
readBufferedImage(java.io.DataInput in) |
protected void |
readConstructorParams(java.io.DataInput in)
Read the parameters required for the constructor of the J3D object
|
protected void |
writeBufferedImage(java.io.DataOutput out,
java.awt.image.BufferedImage image) |
protected void |
writeConstructorParams(java.io.DataOutput out)
Write the parameters required for the constructor of the J3D object
|
addSubReference, readObject, writeObject
buildGraph, cleanup, createNode, createNode, createNode, createNode, createState, getNode, getNodeID, getSymbol, readString, writeString
protected int format
protected int height
protected int width
protected boolean byReference
protected boolean yUp
public static final byte NO_COMPRESSION
public static final byte GZIP_COMPRESSION
public static final byte JPEG_COMPRESSION
public ImageComponentState(SymbolTableData symbol, Controller control)
protected void writeConstructorParams(java.io.DataOutput out) throws java.io.IOException
SceneGraphObjectState
writeConstructorParams
in class SceneGraphObjectState
java.io.IOException
protected void readConstructorParams(java.io.DataInput in) throws java.io.IOException
SceneGraphObjectState
readConstructorParams
in class SceneGraphObjectState
java.io.IOException
protected void writeBufferedImage(java.io.DataOutput out, java.awt.image.BufferedImage image) throws java.io.IOException
java.io.IOException
protected java.awt.image.BufferedImage readBufferedImage(java.io.DataInput in) throws java.io.IOException
java.io.IOException