com.twelvemonkeys.image
Class AbstractImageSource
java.lang.Object
com.twelvemonkeys.image.AbstractImageSource
- All Implemented Interfaces:
- ImageProducer
public abstract class AbstractImageSource
- extends Object
- implements ImageProducer
AbstractImageSource
- Version:
- $Id: //depot/branches/personal/haraldk/twelvemonkeys/release-2/twelvemonkeys-core/src/main/java/com/twelvemonkeys/image/AbstractImageSource.java#1 $
- Author:
- Harald Kuhr
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
width
protected int width
height
protected int height
xOff
protected int xOff
yOff
protected int yOff
AbstractImageSource
public AbstractImageSource()
addConsumer
public void addConsumer(ImageConsumer pConsumer)
- Specified by:
addConsumer in interface ImageProducer
removeConsumer
public void removeConsumer(ImageConsumer pConsumer)
- Specified by:
removeConsumer in interface ImageProducer
requestTopDownLeftRightResend
public void requestTopDownLeftRightResend(ImageConsumer pConsumer)
- This implementation silently ignores this instruction. If pixel data is
not in TDLR order by default, subclasses must override this method.
- Specified by:
requestTopDownLeftRightResend in interface ImageProducer
- Parameters:
pConsumer - the consumer that requested the resend- See Also:
ImageProducer.requestTopDownLeftRightResend(java.awt.image.ImageConsumer)
startProduction
public void startProduction(ImageConsumer pConsumer)
- Specified by:
startProduction in interface ImageProducer
isConsumer
public boolean isConsumer(ImageConsumer pConsumer)
- Specified by:
isConsumer in interface ImageProducer
initConsumer
protected abstract void initConsumer(ImageConsumer pConsumer)
sendPixels
protected abstract void sendPixels(ImageConsumer pConsumer)
Copyright © 2015. All Rights Reserved.