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

public class LineDisplayService extends JposBase implements jpos.services.LineDisplayService116
LineDisplay service implementation. For more details about getter, setter and method implementations, see JposBase.
  • Field Details

    • LineDisplayInterface

      public LineDisplayInterface 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

      public LineDisplayService(LineDisplayProperties props, JposDevice device)
      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 interface jpos.services.LineDisplayService17
      Throws:
      jpos.JposException
    • getCapScreenMode

      public boolean getCapScreenMode() throws jpos.JposException
      Specified by:
      getCapScreenMode in interface jpos.services.LineDisplayService17
      Throws:
      jpos.JposException
    • getCapMapCharacterSet

      public boolean getCapMapCharacterSet() throws jpos.JposException
      Specified by:
      getCapMapCharacterSet in interface jpos.services.LineDisplayService17
      Throws:
      jpos.JposException
    • getCapBlinkRate

      public boolean getCapBlinkRate() throws jpos.JposException
      Specified by:
      getCapBlinkRate in interface jpos.services.LineDisplayService16
      Throws:
      jpos.JposException
    • getCapCursorType

      public int getCapCursorType() throws jpos.JposException
      Specified by:
      getCapCursorType in interface jpos.services.LineDisplayService16
      Throws:
      jpos.JposException
    • getCapCustomGlyph

      public boolean getCapCustomGlyph() throws jpos.JposException
      Specified by:
      getCapCustomGlyph in interface jpos.services.LineDisplayService16
      Throws:
      jpos.JposException
    • getCapReadBack

      public int getCapReadBack() throws jpos.JposException
      Specified by:
      getCapReadBack in interface jpos.services.LineDisplayService16
      Throws:
      jpos.JposException
    • getCapReverse

      public int getCapReverse() throws jpos.JposException
      Specified by:
      getCapReverse in interface jpos.services.LineDisplayService16
      Throws:
      jpos.JposException
    • getCapBlink

      public int getCapBlink() throws jpos.JposException
      Specified by:
      getCapBlink in interface jpos.services.LineDisplayService12
      Throws:
      jpos.JposException
    • getCapBrightness

      public boolean getCapBrightness() throws jpos.JposException
      Specified by:
      getCapBrightness in interface jpos.services.LineDisplayService12
      Throws:
      jpos.JposException
    • getCapCharacterSet

      public int getCapCharacterSet() throws jpos.JposException
      Specified by:
      getCapCharacterSet in interface jpos.services.LineDisplayService12
      Throws:
      jpos.JposException
    • getCapDescriptors

      public boolean getCapDescriptors() throws jpos.JposException
      Specified by:
      getCapDescriptors in interface jpos.services.LineDisplayService12
      Throws:
      jpos.JposException
    • getCapHMarquee

      public boolean getCapHMarquee() throws jpos.JposException
      Specified by:
      getCapHMarquee in interface jpos.services.LineDisplayService12
      Throws:
      jpos.JposException
    • getCapICharWait

      public boolean getCapICharWait() throws jpos.JposException
      Specified by:
      getCapICharWait in interface jpos.services.LineDisplayService12
      Throws:
      jpos.JposException
    • getCapVMarquee

      public boolean getCapVMarquee() throws jpos.JposException
      Specified by:
      getCapVMarquee in interface jpos.services.LineDisplayService12
      Throws:
      jpos.JposException
    • getMapCharacterSet

      public boolean getMapCharacterSet() throws jpos.JposException
      Specified by:
      getMapCharacterSet in interface jpos.services.LineDisplayService17
      Throws:
      jpos.JposException
    • setMapCharacterSet

      public void setMapCharacterSet(boolean b) throws jpos.JposException
      Specified by:
      setMapCharacterSet in interface jpos.services.LineDisplayService17
      Throws:
      jpos.JposException
    • getMaximumX

      public int getMaximumX() throws jpos.JposException
      Specified by:
      getMaximumX in interface jpos.services.LineDisplayService17
      Throws:
      jpos.JposException
    • getMaximumY

      public int getMaximumY() throws jpos.JposException
      Specified by:
      getMaximumY in interface jpos.services.LineDisplayService17
      Throws:
      jpos.JposException
    • getScreenMode

      public int getScreenMode() throws jpos.JposException
      Specified by:
      getScreenMode in interface jpos.services.LineDisplayService17
      Throws:
      jpos.JposException
    • setScreenMode

      public void setScreenMode(int i) throws jpos.JposException
      Specified by:
      setScreenMode in interface jpos.services.LineDisplayService17
      Throws:
      jpos.JposException
    • getScreenModeList

      public String getScreenModeList() throws jpos.JposException
      Specified by:
      getScreenModeList in interface jpos.services.LineDisplayService17
      Throws:
      jpos.JposException
    • getBlinkRate

      public int getBlinkRate() throws jpos.JposException
      Specified by:
      getBlinkRate in interface jpos.services.LineDisplayService16
      Throws:
      jpos.JposException
    • setBlinkRate

      public void setBlinkRate(int i) throws jpos.JposException
      Specified by:
      setBlinkRate in interface jpos.services.LineDisplayService16
      Throws:
      jpos.JposException
    • getCursorType

      public int getCursorType() throws jpos.JposException
      Specified by:
      getCursorType in interface jpos.services.LineDisplayService16
      Throws:
      jpos.JposException
    • setCursorType

      public void setCursorType(int i) throws jpos.JposException
      Specified by:
      setCursorType in interface jpos.services.LineDisplayService16
      Throws:
      jpos.JposException
    • getCustomGlyphList

      public String getCustomGlyphList() throws jpos.JposException
      Specified by:
      getCustomGlyphList in interface jpos.services.LineDisplayService16
      Throws:
      jpos.JposException
    • getGlyphHeight

      public int getGlyphHeight() throws jpos.JposException
      Specified by:
      getGlyphHeight in interface jpos.services.LineDisplayService16
      Throws:
      jpos.JposException
    • getGlyphWidth

      public int getGlyphWidth() throws jpos.JposException
      Specified by:
      getGlyphWidth in interface jpos.services.LineDisplayService16
      Throws:
      jpos.JposException
    • getCharacterSet

      public int getCharacterSet() throws jpos.JposException
      Specified by:
      getCharacterSet in interface jpos.services.LineDisplayService12
      Throws:
      jpos.JposException
    • setCharacterSet

      public void setCharacterSet(int i) throws jpos.JposException
      Specified by:
      setCharacterSet in interface jpos.services.LineDisplayService12
      Throws:
      jpos.JposException
    • getCharacterSetList

      public String getCharacterSetList() throws jpos.JposException
      Specified by:
      getCharacterSetList in interface jpos.services.LineDisplayService12
      Throws:
      jpos.JposException
    • getColumns

      public int getColumns() throws jpos.JposException
      Specified by:
      getColumns in interface jpos.services.LineDisplayService12
      Throws:
      jpos.JposException
    • getCurrentWindow

      public int getCurrentWindow() throws jpos.JposException
      Specified by:
      getCurrentWindow in interface jpos.services.LineDisplayService12
      Throws:
      jpos.JposException
    • setCurrentWindow

      public void setCurrentWindow(int i) throws jpos.JposException
      Specified by:
      setCurrentWindow in interface jpos.services.LineDisplayService12
      Throws:
      jpos.JposException
    • getCursorColumn

      public int getCursorColumn() throws jpos.JposException
      Specified by:
      getCursorColumn in interface jpos.services.LineDisplayService12
      Throws:
      jpos.JposException
    • setCursorColumn

      public void setCursorColumn(int i) throws jpos.JposException
      Specified by:
      setCursorColumn in interface jpos.services.LineDisplayService12
      Throws:
      jpos.JposException
    • getCursorRow

      public int getCursorRow() throws jpos.JposException
      Specified by:
      getCursorRow in interface jpos.services.LineDisplayService12
      Throws:
      jpos.JposException
    • setCursorRow

      public void setCursorRow(int i) throws jpos.JposException
      Specified by:
      setCursorRow in interface jpos.services.LineDisplayService12
      Throws:
      jpos.JposException
    • getCursorUpdate

      public boolean getCursorUpdate() throws jpos.JposException
      Specified by:
      getCursorUpdate in interface jpos.services.LineDisplayService12
      Throws:
      jpos.JposException
    • setCursorUpdate

      public void setCursorUpdate(boolean b) throws jpos.JposException
      Specified by:
      setCursorUpdate in interface jpos.services.LineDisplayService12
      Throws:
      jpos.JposException
    • getDeviceBrightness

      public int getDeviceBrightness() throws jpos.JposException
      Specified by:
      getDeviceBrightness in interface jpos.services.LineDisplayService12
      Throws:
      jpos.JposException
    • setDeviceBrightness

      public void setDeviceBrightness(int i) throws jpos.JposException
      Specified by:
      setDeviceBrightness in interface jpos.services.LineDisplayService12
      Throws:
      jpos.JposException
    • getDeviceColumns

      public int getDeviceColumns() throws jpos.JposException
      Specified by:
      getDeviceColumns in interface jpos.services.LineDisplayService12
      Throws:
      jpos.JposException
    • getDeviceDescriptors

      public int getDeviceDescriptors() throws jpos.JposException
      Specified by:
      getDeviceDescriptors in interface jpos.services.LineDisplayService12
      Throws:
      jpos.JposException
    • getDeviceRows

      public int getDeviceRows() throws jpos.JposException
      Specified by:
      getDeviceRows in interface jpos.services.LineDisplayService12
      Throws:
      jpos.JposException
    • getDeviceWindows

      public int getDeviceWindows() throws jpos.JposException
      Specified by:
      getDeviceWindows in interface jpos.services.LineDisplayService12
      Throws:
      jpos.JposException
    • getInterCharacterWait

      public int getInterCharacterWait() throws jpos.JposException
      Specified by:
      getInterCharacterWait in interface jpos.services.LineDisplayService12
      Throws:
      jpos.JposException
    • setInterCharacterWait

      public void setInterCharacterWait(int i) throws jpos.JposException
      Specified by:
      setInterCharacterWait in interface jpos.services.LineDisplayService12
      Throws:
      jpos.JposException
    • getMarqueeFormat

      public int getMarqueeFormat() throws jpos.JposException
      Specified by:
      getMarqueeFormat in interface jpos.services.LineDisplayService12
      Throws:
      jpos.JposException
    • setMarqueeFormat

      public void setMarqueeFormat(int i) throws jpos.JposException
      Specified by:
      setMarqueeFormat in interface jpos.services.LineDisplayService12
      Throws:
      jpos.JposException
    • getMarqueeRepeatWait

      public int getMarqueeRepeatWait() throws jpos.JposException
      Specified by:
      getMarqueeRepeatWait in interface jpos.services.LineDisplayService12
      Throws:
      jpos.JposException
    • setMarqueeRepeatWait

      public void setMarqueeRepeatWait(int i) throws jpos.JposException
      Specified by:
      setMarqueeRepeatWait in interface jpos.services.LineDisplayService12
      Throws:
      jpos.JposException
    • getMarqueeType

      public int getMarqueeType() throws jpos.JposException
      Specified by:
      getMarqueeType in interface jpos.services.LineDisplayService12
      Throws:
      jpos.JposException
    • setMarqueeType

      public void setMarqueeType(int i) throws jpos.JposException
      Specified by:
      setMarqueeType in interface jpos.services.LineDisplayService12
      Throws:
      jpos.JposException
    • getMarqueeUnitWait

      public int getMarqueeUnitWait() throws jpos.JposException
      Specified by:
      getMarqueeUnitWait in interface jpos.services.LineDisplayService12
      Throws:
      jpos.JposException
    • setMarqueeUnitWait

      public void setMarqueeUnitWait(int i) throws jpos.JposException
      Specified by:
      setMarqueeUnitWait in interface jpos.services.LineDisplayService12
      Throws:
      jpos.JposException
    • getRows

      public int getRows() throws jpos.JposException
      Specified by:
      getRows in interface jpos.services.LineDisplayService12
      Throws:
      jpos.JposException
    • displayBitmap

      public void displayBitmap(String fileName, int width, int alignmentX, int alignmentY) throws jpos.JposException
      Specified by:
      displayBitmap in interface jpos.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 interface jpos.services.LineDisplayService17
      Throws:
      jpos.JposException
    • defineGlyph

      public void defineGlyph(int glyphCode, byte[] glyph) throws jpos.JposException
      Specified by:
      defineGlyph in interface jpos.services.LineDisplayService16
      Throws:
      jpos.JposException
    • readCharacterAtCursor

      public void readCharacterAtCursor(int[] cursorData) throws jpos.JposException
      Specified by:
      readCharacterAtCursor in interface jpos.services.LineDisplayService16
      Throws:
      jpos.JposException
    • clearDescriptors

      public void clearDescriptors() throws jpos.JposException
      Specified by:
      clearDescriptors in interface jpos.services.LineDisplayService12
      Throws:
      jpos.JposException
    • clearText

      public void clearText() throws jpos.JposException
      Specified by:
      clearText in interface jpos.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 interface jpos.services.LineDisplayService12
      Throws:
      jpos.JposException
    • destroyWindow

      public void destroyWindow() throws jpos.JposException
      Specified by:
      destroyWindow in interface jpos.services.LineDisplayService12
      Throws:
      jpos.JposException
    • displayText

      public void displayText(String data, int attribute) throws jpos.JposException
      Specified by:
      displayText in interface jpos.services.LineDisplayService12
      Throws:
      jpos.JposException
    • displayTextAt

      public void displayTextAt(int row, int column, String data, int attribute) throws jpos.JposException
      Specified by:
      displayTextAt in interface jpos.services.LineDisplayService12
      Throws:
      jpos.JposException
    • refreshWindow

      public void refreshWindow(int window) throws jpos.JposException
      Specified by:
      refreshWindow in interface jpos.services.LineDisplayService12
      Throws:
      jpos.JposException
    • scrollText

      public void scrollText(int direction, int units) throws jpos.JposException
      Specified by:
      scrollText in interface jpos.services.LineDisplayService12
      Throws:
      jpos.JposException
    • setDescriptor

      public void setDescriptor(int descriptor, int attribute) throws jpos.JposException
      Specified by:
      setDescriptor in interface jpos.services.LineDisplayService12
      Throws:
      jpos.JposException