j3d-vrml97-0.1.0

org.jdesktop.j3d.loaders.vrml97.impl
Class SFImage

java.lang.Object
  extended by org.jdesktop.j3d.loaders.vrml97.impl.Field
      extended by org.jdesktop.j3d.loaders.vrml97.impl.SFImage

public class SFImage
extends Field

Description of the Class


Field Summary
 
Fields inherited from class org.jdesktop.j3d.loaders.vrml97.impl.Field
constField, fieldType
 
Constructor Summary
SFImage(int w, int h, int d, byte[] p)
          Constructor for the SFImage object
 
Method Summary
 Object clone()
          Description of the Method
 ConstField constify()
          Description of the Method
 int getComponents()
          Gets the components attribute of the SFImage object
 int getHeight()
          Gets the height attribute of the SFImage object
 void getPixels(byte[] p)
          Gets the pixels attribute of the SFImage object
 int getWidth()
          Gets the width attribute of the SFImage object
 void setValue(ConstSFImage i)
          Sets the value attribute of the SFImage object
 void setValue(int w, int h, int d, byte[] p)
          Sets the value attribute of the SFImage object
 void setValue(SFImage i)
          Sets the value attribute of the SFImage object
 void update(Field field)
          Description of the Method
 Field wrap()
          Description of the Method
 
Methods inherited from class org.jdesktop.j3d.loaders.vrml97.impl.Field
baseName, markWriteable, toStringId
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SFImage

public SFImage(int w,
               int h,
               int d,
               byte[] p)
Constructor for the SFImage object

Parameters:
w - Description of the Parameter
h - Description of the Parameter
d - Description of the Parameter
p - Description of the Parameter
Method Detail

getWidth

public int getWidth()
Gets the width attribute of the SFImage object

Returns:
The width value

getHeight

public int getHeight()
Gets the height attribute of the SFImage object

Returns:
The height value

getComponents

public int getComponents()
Gets the components attribute of the SFImage object

Returns:
The components value

getPixels

public void getPixels(byte[] p)
Gets the pixels attribute of the SFImage object

Parameters:
p - Description of the Parameter

setValue

public void setValue(int w,
                     int h,
                     int d,
                     byte[] p)
Sets the value attribute of the SFImage object

Parameters:
w - The new value value
h - The new value value
d - The new value value
p - The new value value

setValue

public void setValue(ConstSFImage i)
Sets the value attribute of the SFImage object

Parameters:
i - The new value value

setValue

public void setValue(SFImage i)
Sets the value attribute of the SFImage object

Parameters:
i - The new value value

clone

public Object clone()
Description of the Method

Specified by:
clone in class Field
Returns:
Description of the Return Value

update

public void update(Field field)
Description of the Method

Parameters:
field - Description of the Parameter

constify

public ConstField constify()
Description of the Method

Returns:
Description of the Return Value

wrap

public Field wrap()
Description of the Method

Specified by:
wrap in class Field
Returns:
Description of the Return Value

j3d-vrml97-0.1.0

Todo: put BSD License reference here..