Package javax.media.j3d
Interface ImageComponent2D.Updater
-
- Enclosing class:
- ImageComponent2D
public static interface ImageComponent2D.Updater
The ImageComponent2D.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 theupdateData
method of the ImageComponent object to be modified.- Since:
- Java 3D 1.3
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
updateData(ImageComponent2D imageComponent, int x, int y, int width, int height)
Updates image data that is accessed by reference.
-
-
-
Method Detail
-
updateData
void updateData(ImageComponent2D imageComponent, 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.x
- starting X offset of the subregion.y
- starting Y offset of the subregion.width
- width of the subregion.height
- height of the subregion.- See Also:
ImageComponent2D.updateData(javax.media.j3d.ImageComponent2D.Updater, int, int, int, int)
-
-