All Packages Class Hierarchy This Package Previous Next Index
Class com.sun.java.swing.SyntheticImage
java.lang.Object
|
+----com.sun.java.swing.SyntheticImage
- public abstract class SyntheticImage
- extends Object
- implements ImageProducer
A helper class to make computing synthetic images a little easier.
All you need to do is define a subclass that overrides the computeRow
to compute a row of the image. It is passed the y coordinate of the
row and an array into which to put the pixels in standard ARGB format.
-
height
-
-
pixMask
-
-
width
-
-
SyntheticImage()
-
-
addConsumer(ImageConsumer)
-
-
computeRow(int, int[])
-
-
isConsumer(ImageConsumer)
-
-
isStatic()
-
-
nextFrame(int)
-
-
removeConsumer(ImageConsumer)
-
-
requestTopDownLeftRightResend(ImageConsumer)
-
-
startProduction(ImageConsumer)
-
width
protected int width
height
protected int height
pixMask
public static final int pixMask
SyntheticImage
protected SyntheticImage()
computeRow
protected void computeRow(int y,
int row[])
addConsumer
public synchronized void addConsumer(ImageConsumer ic)
isConsumer
public synchronized boolean isConsumer(ImageConsumer ic)
removeConsumer
public synchronized void removeConsumer(ImageConsumer ic)
startProduction
public synchronized void startProduction(ImageConsumer ic)
isStatic
protected boolean isStatic()
nextFrame
public void nextFrame(int param)
requestTopDownLeftRightResend
public void requestTopDownLeftRightResend(ImageConsumer ic)
All Packages Class Hierarchy This Package Previous Next Index