Class LineDisplayService.EscUnknown

java.lang.Object
de.gmxhome.conrad.jpos.jpos_base.linedisplay.LineDisplayService.DisplayDataPart
de.gmxhome.conrad.jpos.jpos_base.linedisplay.LineDisplayService.EscUnknown
Enclosing class:
LineDisplayService

public static class LineDisplayService.EscUnknown extends LineDisplayService.DisplayDataPart
Class describing unknown escape sequence.
  • Constructor Summary

    Constructors
    Constructor
    Description
    EscUnknown​(int type, int subtype, int value)
    Constructor.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Returns capital character that marks the end of the escape sequence.
    int
    Returns value that contains the lower-case characters between value and upper-case character that marks the end of the sequence.
    int
    Returns value in ESC sequence, in any.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • EscUnknown

      public EscUnknown(int type, int subtype, int value)
      Constructor.
      Parameters:
      type - Initial value for Esc.
      subtype - Initial value for Subtype.
      value - Initial value for Value.
  • Method Details

    • getEsc

      public int getEsc()
      Returns capital character that marks the end of the escape sequence.
      Returns:
      Character between A and Z.
    • getSubtype

      public int getSubtype()
      Returns value that contains the lower-case characters between value and upper-case character that marks the end of the sequence. The codes of the lower-case characters are the digits of Subtype in base1000 representation, e.g. if the lower-case characters between value and upper-case character are "abc", Subtype will be (('a' * 1000) + 'b') * 1000 + 'c'.
      Returns:
      Lowe-case character sequence before end character as described above.
    • getValue

      public int getValue()
      Returns value in ESC sequence, in any. -1 if no value is present.
      Returns:
      Value.