Class AreaBase
java.lang.Object
de.gmxhome.conrad.jpos.jpos_base.JposOutputRequest
de.gmxhome.conrad.jpos.jpos_base.UnitOutputRequest
de.gmxhome.conrad.jpos.jpos_base.remoteorderdisplay.PositionBase
de.gmxhome.conrad.jpos.jpos_base.remoteorderdisplay.AreaBase
- All Implemented Interfaces:
Runnable
- Direct Known Subclasses:
ClearVideoRegion
,CopyVideoRegion
,SaveVideoRegion
Output request class for remote order display methods using row, column, height and width parameters to specify a
video region.
-
Nested Class Summary
Nested classes/interfaces inherited from class de.gmxhome.conrad.jpos.jpos_base.JposOutputRequest
JposOutputRequest.JposRequestThread
-
Field Summary
Fields inherited from class de.gmxhome.conrad.jpos.jpos_base.JposOutputRequest
Abort, AdditionalData, Device, EndSync, Exception, Finished, OutputID, Props, Waiting
-
Constructor Summary
ConstructorsConstructorDescriptionAreaBase(JposCommonProperties props, int units, int row, int column, int height, int width)
Constructor. -
Method Summary
Modifier and TypeMethodDescriptionprotected void
Checks whether a region specification is validint
Retrieves parameter height of remote order display method.int
getWidth()
Retrieves parameter width of remote order display method.Methods inherited from class de.gmxhome.conrad.jpos.jpos_base.remoteorderdisplay.PositionBase
checkPositionValid, getColumn, getRow
Methods inherited from class de.gmxhome.conrad.jpos.jpos_base.UnitOutputRequest
checkUnitsOnline, clearOutput, createErrorEvent, getUnits
Methods inherited from class de.gmxhome.conrad.jpos.jpos_base.JposOutputRequest
abortCommand, abortCommand, catchedInvocation, clearAll, clearInput, countCommands, createIdleEvent, createOutputEvent, dequeue, enqueue, enqueueSynchronous, finishAsyncProcessing, finished, invoke, reactivate, reactivate, reset, run
-
Constructor Details
-
AreaBase
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.JposExceptionChecks 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.
-