All Implemented Interfaces:
Runnable
Direct Known Subclasses:
AreaBase, DisplayData

public class PositionBase extends UnitOutputRequest
Output request class for remote order display methods using starting row and column parameters.
  • Constructor Details

    • PositionBase

      public PositionBase(JposCommonProperties props, int units, int row, int column)
      Constructor. Stores given parameters for later use.
      Parameters:
      props - Property set of device service.
      units - Units where status has been changed.
      row - (Upper) Row where operation shall start.
      column - (Left) Column where operation shall start.
  • Method Details

    • getRow

      public int getRow()
      Retrieves parameter row of remote order display method. See UPOS specification of the specific method for further information.
      Returns:
      Value of method parameter row.
    • getColumn

      public int getColumn()
      Retrieves parameter column of remote order display method. See UPOS specification of the specific method for further information.
      Returns:
      Value of method parameter column.
    • checkPositionValid

      protected void checkPositionValid() throws jpos.JposException
      Checks whether the current position is valid for all selected units.
      Throws:
      jpos.JposException - if the position is invalid for at least one of the specified units.