javax.media.j3d
Interface ImageComponent3D.Updater

Enclosing interface:
ImageComponent3D

public static interface ImageComponent3D.Updater

The ImageComponent3D.Updater interface is used in updating image data that is accessed by reference from a live or compiled ImageComponent object. Applications that wish to modify such data must define a class that implements this interface. An instance of that class is then passed to the updateData method of the ImageComponent object to be modified.

Since:
Java 3D 1.3

Method Summary
 void updateData(ImageComponent3D imageComponent, int index, int x, int y, int width, int height)
          Updates image data that is accessed by reference.
 

Method Detail

updateData

public void updateData(ImageComponent3D imageComponent,
                       int index,
                       int x,
                       int y,
                       int width,
                       int height)
Updates image data that is accessed by reference. This method is called by the updateData method of an ImageComponent object to effect safe updates to image data that is referenced by that object. Applications that wish to modify such data must implement this method and perform all updates within it.
NOTE: Applications should not call this method directly.

Parameters:
imageComponent - the ImageComponent object being updated.
index - index of the image to be modified.
width - width of the subregion.
height - height of the subregion.
See Also:
ImageComponent3D.updateData(javax.media.j3d.ImageComponent3D.Updater, int, int, int, int, int)