org.hcilab.btprinter.platform.j2se
Class ImageHandlerImpl
java.lang.Object
org.hcilab.btprinter.abstractionlayer.ImageHandler
org.hcilab.btprinter.platform.j2se.ImageHandlerImpl
public class ImageHandlerImpl
- extends org.hcilab.btprinter.abstractionlayer.ImageHandler
Implementation for the J2SE using a buffered image as image object.
- Version:
- 1.0.0
- Author:
- Dominik Schmidt
| Fields inherited from class org.hcilab.btprinter.abstractionlayer.ImageHandler |
MAX_IMG_HEIGHT, MAX_IMG_WIDTH |
| Methods inherited from class org.hcilab.btprinter.abstractionlayer.ImageHandler |
compressImageLine, processImageLine |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ImageHandlerImpl
public ImageHandlerImpl()
getLineCount
public int getLineCount()
throws java.lang.IllegalStateException
- Specified by:
getLineCount in class org.hcilab.btprinter.abstractionlayer.ImageHandler
- Throws:
java.lang.IllegalStateException
getNextLine
public byte[] getNextLine()
throws java.lang.IllegalStateException,
java.util.NoSuchElementException
- Specified by:
getNextLine in class org.hcilab.btprinter.abstractionlayer.ImageHandler
- Throws:
java.lang.IllegalStateException
java.util.NoSuchElementException
hasNextLine
public boolean hasNextLine()
throws java.lang.IllegalStateException
- Specified by:
hasNextLine in class org.hcilab.btprinter.abstractionlayer.ImageHandler
- Throws:
java.lang.IllegalStateException
initialize
public void initialize(java.lang.Object imgObject)
throws java.lang.IllegalArgumentException
- Specified by:
initialize in class org.hcilab.btprinter.abstractionlayer.ImageHandler
- Throws:
java.lang.IllegalArgumentException
setLogHandler
public void setLogHandler(org.hcilab.btprinter.abstractionlayer.LogHandler logHandler)
- Specified by:
setLogHandler in class org.hcilab.btprinter.abstractionlayer.ImageHandler