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 class
Class describing control characters in display data.static class
Class describing displayable part of display data.static class
Base class for display data details, such as control characters, display data, escape sequences, ….static class
Class describing bitmap escape sequences ESC|#B.static class
Class describing normalize escape sequences ESC|N.static class
Class describing simple attribute setting escape sequences ESC|[!]xC, where x is one of b, i, rv, tb or tp.static class
Class 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 TypeMethodDescriptionvoid
void
void
createWindow(int viewportRow, int viewportColumn, int viewportHeight, int viewportWidth, int windowHeight, int windowWidth)
void
defineGlyph(int glyphCode, byte[] glyph)
void
void
displayBitmap(String fileName, int width, int alignmentX, int alignmentY)
void
displayText(String data, int attribute)
void
displayTextAt(int row, int column, String data, int attribute)
int
boolean
int
boolean
boolean
int
int
boolean
boolean
boolean
boolean
boolean
int
int
boolean
boolean
int
int
int
int
int
int
boolean
int
int
int
int
int
int
int
int
boolean
int
int
int
int
int
int
int
getRows()
int
void
readCharacterAtCursor(int[] cursorData)
void
refreshWindow(int window)
void
scrollText(int direction, int units)
void
void
setBlinkRate(int i)
void
setCharacterSet(int i)
void
setCurrentWindow(int i)
void
setCursorColumn(int i)
void
setCursorRow(int i)
void
setCursorType(int i)
void
setCursorUpdate(boolean b)
void
setDescriptor(int descriptor, int attribute)
void
setDeviceBrightness(int i)
void
setInterCharacterWait(int i)
void
setMapCharacterSet(boolean b)
void
setMarqueeFormat(int i)
void
setMarqueeRepeatWait(int i)
void
setMarqueeType(int i)
void
setMarqueeUnitWait(int i)
void
setScreenMode(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, updateStatistics
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface jpos.services.BaseService
checkHealth, claim, close, directIO, getCheckHealthText, getClaimed, getDeviceEnabled, getDeviceServiceDescription, getDeviceServiceVersion, getFreezeEvents, getPhysicalDeviceDescription, getPhysicalDeviceName, getState, open, release, setDeviceEnabled, setFreezeEvents
Methods inherited from interface jpos.loader.JposServiceInstance
deleteInstance
Methods inherited from interface jpos.services.LineDisplayService13
getCapPowerReporting, getPowerNotify, getPowerState, setPowerNotify
Methods inherited from interface jpos.services.LineDisplayService18
getCapStatisticsReporting, getCapUpdateStatistics, resetStatistics, retrieveStatistics, updateStatistics
Methods 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:
getCapBitmap
in interfacejpos.services.LineDisplayService17
- Throws:
jpos.JposException
-
getCapScreenMode
public boolean getCapScreenMode() throws jpos.JposException- Specified by:
getCapScreenMode
in interfacejpos.services.LineDisplayService17
- Throws:
jpos.JposException
-
getCapMapCharacterSet
public boolean getCapMapCharacterSet() throws jpos.JposException- Specified by:
getCapMapCharacterSet
in interfacejpos.services.LineDisplayService17
- Throws:
jpos.JposException
-
getCapBlinkRate
public boolean getCapBlinkRate() throws jpos.JposException- Specified by:
getCapBlinkRate
in interfacejpos.services.LineDisplayService16
- Throws:
jpos.JposException
-
getCapCursorType
public int getCapCursorType() throws jpos.JposException- Specified by:
getCapCursorType
in interfacejpos.services.LineDisplayService16
- Throws:
jpos.JposException
-
getCapCustomGlyph
public boolean getCapCustomGlyph() throws jpos.JposException- Specified by:
getCapCustomGlyph
in interfacejpos.services.LineDisplayService16
- Throws:
jpos.JposException
-
getCapReadBack
public int getCapReadBack() throws jpos.JposException- Specified by:
getCapReadBack
in interfacejpos.services.LineDisplayService16
- Throws:
jpos.JposException
-
getCapReverse
public int getCapReverse() throws jpos.JposException- Specified by:
getCapReverse
in interfacejpos.services.LineDisplayService16
- Throws:
jpos.JposException
-
getCapBlink
public int getCapBlink() throws jpos.JposException- Specified by:
getCapBlink
in interfacejpos.services.LineDisplayService12
- Throws:
jpos.JposException
-
getCapBrightness
public boolean getCapBrightness() throws jpos.JposException- Specified by:
getCapBrightness
in interfacejpos.services.LineDisplayService12
- Throws:
jpos.JposException
-
getCapCharacterSet
public int getCapCharacterSet() throws jpos.JposException- Specified by:
getCapCharacterSet
in interfacejpos.services.LineDisplayService12
- Throws:
jpos.JposException
-
getCapDescriptors
public boolean getCapDescriptors() throws jpos.JposException- Specified by:
getCapDescriptors
in interfacejpos.services.LineDisplayService12
- Throws:
jpos.JposException
-
getCapHMarquee
public boolean getCapHMarquee() throws jpos.JposException- Specified by:
getCapHMarquee
in interfacejpos.services.LineDisplayService12
- Throws:
jpos.JposException
-
getCapICharWait
public boolean getCapICharWait() throws jpos.JposException- Specified by:
getCapICharWait
in interfacejpos.services.LineDisplayService12
- Throws:
jpos.JposException
-
getCapVMarquee
public boolean getCapVMarquee() throws jpos.JposException- Specified by:
getCapVMarquee
in interfacejpos.services.LineDisplayService12
- Throws:
jpos.JposException
-
getMapCharacterSet
public boolean getMapCharacterSet() throws jpos.JposException- Specified by:
getMapCharacterSet
in interfacejpos.services.LineDisplayService17
- Throws:
jpos.JposException
-
setMapCharacterSet
public void setMapCharacterSet(boolean b) throws jpos.JposException- Specified by:
setMapCharacterSet
in interfacejpos.services.LineDisplayService17
- Throws:
jpos.JposException
-
getMaximumX
public int getMaximumX() throws jpos.JposException- Specified by:
getMaximumX
in interfacejpos.services.LineDisplayService17
- Throws:
jpos.JposException
-
getMaximumY
public int getMaximumY() throws jpos.JposException- Specified by:
getMaximumY
in interfacejpos.services.LineDisplayService17
- Throws:
jpos.JposException
-
getScreenMode
public int getScreenMode() throws jpos.JposException- Specified by:
getScreenMode
in interfacejpos.services.LineDisplayService17
- Throws:
jpos.JposException
-
setScreenMode
public void setScreenMode(int i) throws jpos.JposException- Specified by:
setScreenMode
in interfacejpos.services.LineDisplayService17
- Throws:
jpos.JposException
-
getScreenModeList
- Specified by:
getScreenModeList
in interfacejpos.services.LineDisplayService17
- Throws:
jpos.JposException
-
getBlinkRate
public int getBlinkRate() throws jpos.JposException- Specified by:
getBlinkRate
in interfacejpos.services.LineDisplayService16
- Throws:
jpos.JposException
-
setBlinkRate
public void setBlinkRate(int i) throws jpos.JposException- Specified by:
setBlinkRate
in interfacejpos.services.LineDisplayService16
- Throws:
jpos.JposException
-
getCursorType
public int getCursorType() throws jpos.JposException- Specified by:
getCursorType
in interfacejpos.services.LineDisplayService16
- Throws:
jpos.JposException
-
setCursorType
public void setCursorType(int i) throws jpos.JposException- Specified by:
setCursorType
in interfacejpos.services.LineDisplayService16
- Throws:
jpos.JposException
-
getCustomGlyphList
- Specified by:
getCustomGlyphList
in interfacejpos.services.LineDisplayService16
- Throws:
jpos.JposException
-
getGlyphHeight
public int getGlyphHeight() throws jpos.JposException- Specified by:
getGlyphHeight
in interfacejpos.services.LineDisplayService16
- Throws:
jpos.JposException
-
getGlyphWidth
public int getGlyphWidth() throws jpos.JposException- Specified by:
getGlyphWidth
in interfacejpos.services.LineDisplayService16
- Throws:
jpos.JposException
-
getCharacterSet
public int getCharacterSet() throws jpos.JposException- Specified by:
getCharacterSet
in interfacejpos.services.LineDisplayService12
- Throws:
jpos.JposException
-
setCharacterSet
public void setCharacterSet(int i) throws jpos.JposException- Specified by:
setCharacterSet
in interfacejpos.services.LineDisplayService12
- Throws:
jpos.JposException
-
getCharacterSetList
- Specified by:
getCharacterSetList
in interfacejpos.services.LineDisplayService12
- Throws:
jpos.JposException
-
getColumns
public int getColumns() throws jpos.JposException- Specified by:
getColumns
in interfacejpos.services.LineDisplayService12
- Throws:
jpos.JposException
-
getCurrentWindow
public int getCurrentWindow() throws jpos.JposException- Specified by:
getCurrentWindow
in interfacejpos.services.LineDisplayService12
- Throws:
jpos.JposException
-
setCurrentWindow
public void setCurrentWindow(int i) throws jpos.JposException- Specified by:
setCurrentWindow
in interfacejpos.services.LineDisplayService12
- Throws:
jpos.JposException
-
getCursorColumn
public int getCursorColumn() throws jpos.JposException- Specified by:
getCursorColumn
in interfacejpos.services.LineDisplayService12
- Throws:
jpos.JposException
-
setCursorColumn
public void setCursorColumn(int i) throws jpos.JposException- Specified by:
setCursorColumn
in interfacejpos.services.LineDisplayService12
- Throws:
jpos.JposException
-
getCursorRow
public int getCursorRow() throws jpos.JposException- Specified by:
getCursorRow
in interfacejpos.services.LineDisplayService12
- Throws:
jpos.JposException
-
setCursorRow
public void setCursorRow(int i) throws jpos.JposException- Specified by:
setCursorRow
in interfacejpos.services.LineDisplayService12
- Throws:
jpos.JposException
-
getCursorUpdate
public boolean getCursorUpdate() throws jpos.JposException- Specified by:
getCursorUpdate
in interfacejpos.services.LineDisplayService12
- Throws:
jpos.JposException
-
setCursorUpdate
public void setCursorUpdate(boolean b) throws jpos.JposException- Specified by:
setCursorUpdate
in interfacejpos.services.LineDisplayService12
- Throws:
jpos.JposException
-
getDeviceBrightness
public int getDeviceBrightness() throws jpos.JposException- Specified by:
getDeviceBrightness
in interfacejpos.services.LineDisplayService12
- Throws:
jpos.JposException
-
setDeviceBrightness
public void setDeviceBrightness(int i) throws jpos.JposException- Specified by:
setDeviceBrightness
in interfacejpos.services.LineDisplayService12
- Throws:
jpos.JposException
-
getDeviceColumns
public int getDeviceColumns() throws jpos.JposException- Specified by:
getDeviceColumns
in interfacejpos.services.LineDisplayService12
- Throws:
jpos.JposException
-
getDeviceDescriptors
public int getDeviceDescriptors() throws jpos.JposException- Specified by:
getDeviceDescriptors
in interfacejpos.services.LineDisplayService12
- Throws:
jpos.JposException
-
getDeviceRows
public int getDeviceRows() throws jpos.JposException- Specified by:
getDeviceRows
in interfacejpos.services.LineDisplayService12
- Throws:
jpos.JposException
-
getDeviceWindows
public int getDeviceWindows() throws jpos.JposException- Specified by:
getDeviceWindows
in interfacejpos.services.LineDisplayService12
- Throws:
jpos.JposException
-
getInterCharacterWait
public int getInterCharacterWait() throws jpos.JposException- Specified by:
getInterCharacterWait
in interfacejpos.services.LineDisplayService12
- Throws:
jpos.JposException
-
setInterCharacterWait
public void setInterCharacterWait(int i) throws jpos.JposException- Specified by:
setInterCharacterWait
in interfacejpos.services.LineDisplayService12
- Throws:
jpos.JposException
-
getMarqueeFormat
public int getMarqueeFormat() throws jpos.JposException- Specified by:
getMarqueeFormat
in interfacejpos.services.LineDisplayService12
- Throws:
jpos.JposException
-
setMarqueeFormat
public void setMarqueeFormat(int i) throws jpos.JposException- Specified by:
setMarqueeFormat
in interfacejpos.services.LineDisplayService12
- Throws:
jpos.JposException
-
getMarqueeRepeatWait
public int getMarqueeRepeatWait() throws jpos.JposException- Specified by:
getMarqueeRepeatWait
in interfacejpos.services.LineDisplayService12
- Throws:
jpos.JposException
-
setMarqueeRepeatWait
public void setMarqueeRepeatWait(int i) throws jpos.JposException- Specified by:
setMarqueeRepeatWait
in interfacejpos.services.LineDisplayService12
- Throws:
jpos.JposException
-
getMarqueeType
public int getMarqueeType() throws jpos.JposException- Specified by:
getMarqueeType
in interfacejpos.services.LineDisplayService12
- Throws:
jpos.JposException
-
setMarqueeType
public void setMarqueeType(int i) throws jpos.JposException- Specified by:
setMarqueeType
in interfacejpos.services.LineDisplayService12
- Throws:
jpos.JposException
-
getMarqueeUnitWait
public int getMarqueeUnitWait() throws jpos.JposException- Specified by:
getMarqueeUnitWait
in interfacejpos.services.LineDisplayService12
- Throws:
jpos.JposException
-
setMarqueeUnitWait
public void setMarqueeUnitWait(int i) throws jpos.JposException- Specified by:
setMarqueeUnitWait
in interfacejpos.services.LineDisplayService12
- Throws:
jpos.JposException
-
getRows
public int getRows() throws jpos.JposException- Specified by:
getRows
in interfacejpos.services.LineDisplayService12
- Throws:
jpos.JposException
-
displayBitmap
public void displayBitmap(String fileName, int width, int alignmentX, int alignmentY) throws jpos.JposException- Specified by:
displayBitmap
in 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:
setBitmap
in interfacejpos.services.LineDisplayService17
- Throws:
jpos.JposException
-
defineGlyph
public void defineGlyph(int glyphCode, byte[] glyph) throws jpos.JposException- Specified by:
defineGlyph
in interfacejpos.services.LineDisplayService16
- Throws:
jpos.JposException
-
readCharacterAtCursor
public void readCharacterAtCursor(int[] cursorData) throws jpos.JposException- Specified by:
readCharacterAtCursor
in interfacejpos.services.LineDisplayService16
- Throws:
jpos.JposException
-
clearDescriptors
public void clearDescriptors() throws jpos.JposException- Specified by:
clearDescriptors
in interfacejpos.services.LineDisplayService12
- Throws:
jpos.JposException
-
clearText
public void clearText() throws jpos.JposException- Specified by:
clearText
in 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:
createWindow
in interfacejpos.services.LineDisplayService12
- Throws:
jpos.JposException
-
destroyWindow
public void destroyWindow() throws jpos.JposException- Specified by:
destroyWindow
in interfacejpos.services.LineDisplayService12
- Throws:
jpos.JposException
-
displayText
- Specified by:
displayText
in interfacejpos.services.LineDisplayService12
- Throws:
jpos.JposException
-
displayTextAt
public void displayTextAt(int row, int column, String data, int attribute) throws jpos.JposException- Specified by:
displayTextAt
in interfacejpos.services.LineDisplayService12
- Throws:
jpos.JposException
-
refreshWindow
public void refreshWindow(int window) throws jpos.JposException- Specified by:
refreshWindow
in interfacejpos.services.LineDisplayService12
- Throws:
jpos.JposException
-
scrollText
public void scrollText(int direction, int units) throws jpos.JposException- Specified by:
scrollText
in interfacejpos.services.LineDisplayService12
- Throws:
jpos.JposException
-
setDescriptor
public void setDescriptor(int descriptor, int attribute) throws jpos.JposException- Specified by:
setDescriptor
in interfacejpos.services.LineDisplayService12
- Throws:
jpos.JposException
-