Class LineDisplayService
java.lang.Object
de.gmxhome.conrad.jpos.jpos_base.JposBase
de.gmxhome.conrad.jpos.jpos_base.linedisplay.LineDisplayService
- All Implemented Interfaces:
jpos.loader.JposServiceInstance,jpos.services.BaseService,jpos.services.LineDisplayService110,jpos.services.LineDisplayService111,jpos.services.LineDisplayService112,jpos.services.LineDisplayService113,jpos.services.LineDisplayService114,jpos.services.LineDisplayService115,jpos.services.LineDisplayService116,jpos.services.LineDisplayService12,jpos.services.LineDisplayService13,jpos.services.LineDisplayService14,jpos.services.LineDisplayService15,jpos.services.LineDisplayService16,jpos.services.LineDisplayService17,jpos.services.LineDisplayService18,jpos.services.LineDisplayService19
LineDisplay service implementation. For more details about getter, setter and method implementations,
see JposBase.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classClass describing control characters in display data.static classClass describing displayable part of display data.static classBase class for display data details, such as control characters, display data, escape sequences, ….static classClass describing bitmap escape sequences ESC|#B.static classClass describing normalize escape sequences ESC|N.static classClass describing simple attribute setting escape sequences ESC|[!]xC, where x is one of b, i, rv, tb or tp.static classClass describing unknown escape sequence. -
Field Summary
FieldsModifier and TypeFieldDescriptionInstance of a class implementing the LineDisplayInterface for line display specific setter and method calls bound to the property set.Fields inherited from class de.gmxhome.conrad.jpos.jpos_base.JposBase
Device, DeviceInterface, Props -
Constructor Summary
ConstructorsConstructorDescriptionLineDisplayService(LineDisplayProperties props, JposDevice device)Constructor. -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidcreateWindow(int viewportRow, int viewportColumn, int viewportHeight, int viewportWidth, int windowHeight, int windowWidth)voiddefineGlyph(int glyphCode, byte[] glyph)voidvoiddisplayBitmap(String fileName, int width, int alignmentX, int alignmentY)voiddisplayText(String data, int attribute)voiddisplayTextAt(int row, int column, String data, int attribute)intbooleanintbooleanbooleanintintbooleanbooleanbooleanbooleanbooleanintintbooleanbooleanintintintintintintbooleanintintintintintintintintbooleanintintintintintintintgetRows()intvoidreadCharacterAtCursor(int[] cursorData)voidrefreshWindow(int window)voidscrollText(int direction, int units)voidvoidsetBlinkRate(int i)voidsetCharacterSet(int i)voidsetCurrentWindow(int i)voidsetCursorColumn(int i)voidsetCursorRow(int i)voidsetCursorType(int i)voidsetCursorUpdate(boolean b)voidsetDescriptor(int descriptor, int attribute)voidsetDeviceBrightness(int i)voidsetInterCharacterWait(int i)voidsetMapCharacterSet(boolean b)voidsetMarqueeFormat(int i)voidsetMarqueeRepeatWait(int i)voidsetMarqueeType(int i)voidsetMarqueeUnitWait(int i)voidsetScreenMode(int i)Methods inherited from class de.gmxhome.conrad.jpos.jpos_base.JposBase
callNowOrLater, check, check, check, check, checkBusy, checkClaimed, checkEnabled, checkEnabledUnclaimed, checkFirstEnabled, checkHealth, checkNoChangedOrClaimed, checkOpened, claim, clearInput, clearInputProperties, clearOutput, close, compareFirmwareVersion, deepToString, deleteInstance, directIO, getAsyncMode, getAutoDisable, getCapCompareFirmwareVersion, getCapPowerReporting, getCapStatisticsReporting, getCapUpdateFirmware, getCapUpdateStatistics, getCheckHealthText, getClaimed, getDataCount, getDataEventEnabled, getDeviceEnabled, getDeviceServiceDescription, getDeviceServiceVersion, getFreezeEvents, getOutputID, getPhysicalDeviceDescription, getPhysicalDeviceName, getPowerNotify, getPowerState, getPropertyString, getState, logAsyncCall, logCall, logCall, logGet, logGet, logPreCall, logPreCall, logPreSet, logSet, open, release, removeOuterArraySpecifier, resetStatistics, retrieveStatistics, setAsyncMode, setAutoDisable, setDataEventEnabled, setDeviceEnabled, setFreezeEvents, setPowerNotify, signalRelease, startClaiming, updateFirmware, updateStatisticsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface jpos.services.BaseService
checkHealth, claim, close, directIO, getCheckHealthText, getClaimed, getDeviceEnabled, getDeviceServiceDescription, getDeviceServiceVersion, getFreezeEvents, getPhysicalDeviceDescription, getPhysicalDeviceName, getState, open, release, setDeviceEnabled, setFreezeEventsMethods inherited from interface jpos.loader.JposServiceInstance
deleteInstanceMethods inherited from interface jpos.services.LineDisplayService13
getCapPowerReporting, getPowerNotify, getPowerState, setPowerNotifyMethods inherited from interface jpos.services.LineDisplayService18
getCapStatisticsReporting, getCapUpdateStatistics, resetStatistics, retrieveStatistics, updateStatisticsMethods inherited from interface jpos.services.LineDisplayService19
compareFirmwareVersion, getCapCompareFirmwareVersion, getCapUpdateFirmware, updateFirmware
-
Field Details
-
LineDisplayInterface
Instance of a class implementing the LineDisplayInterface for line display specific setter and method calls bound to the property set. Almost always the same object as Data.
-
-
Constructor Details
-
LineDisplayService
Constructor. Stores given property set and device implementation object.- Parameters:
props- Property set.device- Device implementation object.
-
-
Method Details
-
getCapBitmap
public boolean getCapBitmap() throws jpos.JposException- Specified by:
getCapBitmapin interfacejpos.services.LineDisplayService17- Throws:
jpos.JposException
-
getCapScreenMode
public boolean getCapScreenMode() throws jpos.JposException- Specified by:
getCapScreenModein interfacejpos.services.LineDisplayService17- Throws:
jpos.JposException
-
getCapMapCharacterSet
public boolean getCapMapCharacterSet() throws jpos.JposException- Specified by:
getCapMapCharacterSetin interfacejpos.services.LineDisplayService17- Throws:
jpos.JposException
-
getCapBlinkRate
public boolean getCapBlinkRate() throws jpos.JposException- Specified by:
getCapBlinkRatein interfacejpos.services.LineDisplayService16- Throws:
jpos.JposException
-
getCapCursorType
public int getCapCursorType() throws jpos.JposException- Specified by:
getCapCursorTypein interfacejpos.services.LineDisplayService16- Throws:
jpos.JposException
-
getCapCustomGlyph
public boolean getCapCustomGlyph() throws jpos.JposException- Specified by:
getCapCustomGlyphin interfacejpos.services.LineDisplayService16- Throws:
jpos.JposException
-
getCapReadBack
public int getCapReadBack() throws jpos.JposException- Specified by:
getCapReadBackin interfacejpos.services.LineDisplayService16- Throws:
jpos.JposException
-
getCapReverse
public int getCapReverse() throws jpos.JposException- Specified by:
getCapReversein interfacejpos.services.LineDisplayService16- Throws:
jpos.JposException
-
getCapBlink
public int getCapBlink() throws jpos.JposException- Specified by:
getCapBlinkin interfacejpos.services.LineDisplayService12- Throws:
jpos.JposException
-
getCapBrightness
public boolean getCapBrightness() throws jpos.JposException- Specified by:
getCapBrightnessin interfacejpos.services.LineDisplayService12- Throws:
jpos.JposException
-
getCapCharacterSet
public int getCapCharacterSet() throws jpos.JposException- Specified by:
getCapCharacterSetin interfacejpos.services.LineDisplayService12- Throws:
jpos.JposException
-
getCapDescriptors
public boolean getCapDescriptors() throws jpos.JposException- Specified by:
getCapDescriptorsin interfacejpos.services.LineDisplayService12- Throws:
jpos.JposException
-
getCapHMarquee
public boolean getCapHMarquee() throws jpos.JposException- Specified by:
getCapHMarqueein interfacejpos.services.LineDisplayService12- Throws:
jpos.JposException
-
getCapICharWait
public boolean getCapICharWait() throws jpos.JposException- Specified by:
getCapICharWaitin interfacejpos.services.LineDisplayService12- Throws:
jpos.JposException
-
getCapVMarquee
public boolean getCapVMarquee() throws jpos.JposException- Specified by:
getCapVMarqueein interfacejpos.services.LineDisplayService12- Throws:
jpos.JposException
-
getMapCharacterSet
public boolean getMapCharacterSet() throws jpos.JposException- Specified by:
getMapCharacterSetin interfacejpos.services.LineDisplayService17- Throws:
jpos.JposException
-
setMapCharacterSet
public void setMapCharacterSet(boolean b) throws jpos.JposException- Specified by:
setMapCharacterSetin interfacejpos.services.LineDisplayService17- Throws:
jpos.JposException
-
getMaximumX
public int getMaximumX() throws jpos.JposException- Specified by:
getMaximumXin interfacejpos.services.LineDisplayService17- Throws:
jpos.JposException
-
getMaximumY
public int getMaximumY() throws jpos.JposException- Specified by:
getMaximumYin interfacejpos.services.LineDisplayService17- Throws:
jpos.JposException
-
getScreenMode
public int getScreenMode() throws jpos.JposException- Specified by:
getScreenModein interfacejpos.services.LineDisplayService17- Throws:
jpos.JposException
-
setScreenMode
public void setScreenMode(int i) throws jpos.JposException- Specified by:
setScreenModein interfacejpos.services.LineDisplayService17- Throws:
jpos.JposException
-
getScreenModeList
- Specified by:
getScreenModeListin interfacejpos.services.LineDisplayService17- Throws:
jpos.JposException
-
getBlinkRate
public int getBlinkRate() throws jpos.JposException- Specified by:
getBlinkRatein interfacejpos.services.LineDisplayService16- Throws:
jpos.JposException
-
setBlinkRate
public void setBlinkRate(int i) throws jpos.JposException- Specified by:
setBlinkRatein interfacejpos.services.LineDisplayService16- Throws:
jpos.JposException
-
getCursorType
public int getCursorType() throws jpos.JposException- Specified by:
getCursorTypein interfacejpos.services.LineDisplayService16- Throws:
jpos.JposException
-
setCursorType
public void setCursorType(int i) throws jpos.JposException- Specified by:
setCursorTypein interfacejpos.services.LineDisplayService16- Throws:
jpos.JposException
-
getCustomGlyphList
- Specified by:
getCustomGlyphListin interfacejpos.services.LineDisplayService16- Throws:
jpos.JposException
-
getGlyphHeight
public int getGlyphHeight() throws jpos.JposException- Specified by:
getGlyphHeightin interfacejpos.services.LineDisplayService16- Throws:
jpos.JposException
-
getGlyphWidth
public int getGlyphWidth() throws jpos.JposException- Specified by:
getGlyphWidthin interfacejpos.services.LineDisplayService16- Throws:
jpos.JposException
-
getCharacterSet
public int getCharacterSet() throws jpos.JposException- Specified by:
getCharacterSetin interfacejpos.services.LineDisplayService12- Throws:
jpos.JposException
-
setCharacterSet
public void setCharacterSet(int i) throws jpos.JposException- Specified by:
setCharacterSetin interfacejpos.services.LineDisplayService12- Throws:
jpos.JposException
-
getCharacterSetList
- Specified by:
getCharacterSetListin interfacejpos.services.LineDisplayService12- Throws:
jpos.JposException
-
getColumns
public int getColumns() throws jpos.JposException- Specified by:
getColumnsin interfacejpos.services.LineDisplayService12- Throws:
jpos.JposException
-
getCurrentWindow
public int getCurrentWindow() throws jpos.JposException- Specified by:
getCurrentWindowin interfacejpos.services.LineDisplayService12- Throws:
jpos.JposException
-
setCurrentWindow
public void setCurrentWindow(int i) throws jpos.JposException- Specified by:
setCurrentWindowin interfacejpos.services.LineDisplayService12- Throws:
jpos.JposException
-
getCursorColumn
public int getCursorColumn() throws jpos.JposException- Specified by:
getCursorColumnin interfacejpos.services.LineDisplayService12- Throws:
jpos.JposException
-
setCursorColumn
public void setCursorColumn(int i) throws jpos.JposException- Specified by:
setCursorColumnin interfacejpos.services.LineDisplayService12- Throws:
jpos.JposException
-
getCursorRow
public int getCursorRow() throws jpos.JposException- Specified by:
getCursorRowin interfacejpos.services.LineDisplayService12- Throws:
jpos.JposException
-
setCursorRow
public void setCursorRow(int i) throws jpos.JposException- Specified by:
setCursorRowin interfacejpos.services.LineDisplayService12- Throws:
jpos.JposException
-
getCursorUpdate
public boolean getCursorUpdate() throws jpos.JposException- Specified by:
getCursorUpdatein interfacejpos.services.LineDisplayService12- Throws:
jpos.JposException
-
setCursorUpdate
public void setCursorUpdate(boolean b) throws jpos.JposException- Specified by:
setCursorUpdatein interfacejpos.services.LineDisplayService12- Throws:
jpos.JposException
-
getDeviceBrightness
public int getDeviceBrightness() throws jpos.JposException- Specified by:
getDeviceBrightnessin interfacejpos.services.LineDisplayService12- Throws:
jpos.JposException
-
setDeviceBrightness
public void setDeviceBrightness(int i) throws jpos.JposException- Specified by:
setDeviceBrightnessin interfacejpos.services.LineDisplayService12- Throws:
jpos.JposException
-
getDeviceColumns
public int getDeviceColumns() throws jpos.JposException- Specified by:
getDeviceColumnsin interfacejpos.services.LineDisplayService12- Throws:
jpos.JposException
-
getDeviceDescriptors
public int getDeviceDescriptors() throws jpos.JposException- Specified by:
getDeviceDescriptorsin interfacejpos.services.LineDisplayService12- Throws:
jpos.JposException
-
getDeviceRows
public int getDeviceRows() throws jpos.JposException- Specified by:
getDeviceRowsin interfacejpos.services.LineDisplayService12- Throws:
jpos.JposException
-
getDeviceWindows
public int getDeviceWindows() throws jpos.JposException- Specified by:
getDeviceWindowsin interfacejpos.services.LineDisplayService12- Throws:
jpos.JposException
-
getInterCharacterWait
public int getInterCharacterWait() throws jpos.JposException- Specified by:
getInterCharacterWaitin interfacejpos.services.LineDisplayService12- Throws:
jpos.JposException
-
setInterCharacterWait
public void setInterCharacterWait(int i) throws jpos.JposException- Specified by:
setInterCharacterWaitin interfacejpos.services.LineDisplayService12- Throws:
jpos.JposException
-
getMarqueeFormat
public int getMarqueeFormat() throws jpos.JposException- Specified by:
getMarqueeFormatin interfacejpos.services.LineDisplayService12- Throws:
jpos.JposException
-
setMarqueeFormat
public void setMarqueeFormat(int i) throws jpos.JposException- Specified by:
setMarqueeFormatin interfacejpos.services.LineDisplayService12- Throws:
jpos.JposException
-
getMarqueeRepeatWait
public int getMarqueeRepeatWait() throws jpos.JposException- Specified by:
getMarqueeRepeatWaitin interfacejpos.services.LineDisplayService12- Throws:
jpos.JposException
-
setMarqueeRepeatWait
public void setMarqueeRepeatWait(int i) throws jpos.JposException- Specified by:
setMarqueeRepeatWaitin interfacejpos.services.LineDisplayService12- Throws:
jpos.JposException
-
getMarqueeType
public int getMarqueeType() throws jpos.JposException- Specified by:
getMarqueeTypein interfacejpos.services.LineDisplayService12- Throws:
jpos.JposException
-
setMarqueeType
public void setMarqueeType(int i) throws jpos.JposException- Specified by:
setMarqueeTypein interfacejpos.services.LineDisplayService12- Throws:
jpos.JposException
-
getMarqueeUnitWait
public int getMarqueeUnitWait() throws jpos.JposException- Specified by:
getMarqueeUnitWaitin interfacejpos.services.LineDisplayService12- Throws:
jpos.JposException
-
setMarqueeUnitWait
public void setMarqueeUnitWait(int i) throws jpos.JposException- Specified by:
setMarqueeUnitWaitin interfacejpos.services.LineDisplayService12- Throws:
jpos.JposException
-
getRows
public int getRows() throws jpos.JposException- Specified by:
getRowsin interfacejpos.services.LineDisplayService12- Throws:
jpos.JposException
-
displayBitmap
public void displayBitmap(String fileName, int width, int alignmentX, int alignmentY) throws jpos.JposException- Specified by:
displayBitmapin interfacejpos.services.LineDisplayService17- Throws:
jpos.JposException
-
setBitmap
public void setBitmap(int bitmapNumber, String fileName, int width, int alignmentX, int alignmentY) throws jpos.JposException- Specified by:
setBitmapin interfacejpos.services.LineDisplayService17- Throws:
jpos.JposException
-
defineGlyph
public void defineGlyph(int glyphCode, byte[] glyph) throws jpos.JposException- Specified by:
defineGlyphin interfacejpos.services.LineDisplayService16- Throws:
jpos.JposException
-
readCharacterAtCursor
public void readCharacterAtCursor(int[] cursorData) throws jpos.JposException- Specified by:
readCharacterAtCursorin interfacejpos.services.LineDisplayService16- Throws:
jpos.JposException
-
clearDescriptors
public void clearDescriptors() throws jpos.JposException- Specified by:
clearDescriptorsin interfacejpos.services.LineDisplayService12- Throws:
jpos.JposException
-
clearText
public void clearText() throws jpos.JposException- Specified by:
clearTextin interfacejpos.services.LineDisplayService12- Throws:
jpos.JposException
-
createWindow
public void createWindow(int viewportRow, int viewportColumn, int viewportHeight, int viewportWidth, int windowHeight, int windowWidth) throws jpos.JposException- Specified by:
createWindowin interfacejpos.services.LineDisplayService12- Throws:
jpos.JposException
-
destroyWindow
public void destroyWindow() throws jpos.JposException- Specified by:
destroyWindowin interfacejpos.services.LineDisplayService12- Throws:
jpos.JposException
-
displayText
- Specified by:
displayTextin interfacejpos.services.LineDisplayService12- Throws:
jpos.JposException
-
displayTextAt
public void displayTextAt(int row, int column, String data, int attribute) throws jpos.JposException- Specified by:
displayTextAtin interfacejpos.services.LineDisplayService12- Throws:
jpos.JposException
-
refreshWindow
public void refreshWindow(int window) throws jpos.JposException- Specified by:
refreshWindowin interfacejpos.services.LineDisplayService12- Throws:
jpos.JposException
-
scrollText
public void scrollText(int direction, int units) throws jpos.JposException- Specified by:
scrollTextin interfacejpos.services.LineDisplayService12- Throws:
jpos.JposException
-
setDescriptor
public void setDescriptor(int descriptor, int attribute) throws jpos.JposException- Specified by:
setDescriptorin interfacejpos.services.LineDisplayService12- Throws:
jpos.JposException
-