All Implemented Interfaces:
Runnable
Direct Known Subclasses:
ClearVideoRegion, CopyVideoRegion, SaveVideoRegion

public class AreaBase extends PositionBase
Output request class for remote order display methods using row, column, height and width parameters to specify a video region.
  • Constructor Details

    • AreaBase

      public AreaBase(JposCommonProperties props, int units, int row, int column, int height, int width)
      Constructor. Stores given parameters for later use.
      Parameters:
      props - Property set of device service.
      units - Units where status has been changed.
      row - Upper row of the specified region.
      column - Left column of the specified region.
      height - Height of the specified region.
      width - Width of the specified region.
  • Method Details

    • getHeight

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

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

      protected void checkAreaValid() throws jpos.JposException
      Checks whether a region specification is valid
      Throws:
      jpos.JposException - if the region specified by Row, Column, Height and Width is invalid for one of the units specified by Units.