Class PositionBase
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
- All Implemented Interfaces:
Runnable
- Direct Known Subclasses:
AreaBase
,DisplayData
Output request class for remote order display methods using starting row and column parameters.
-
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
ConstructorsConstructorDescriptionPositionBase(JposCommonProperties props, int units, int row, int column)
Constructor. -
Method Summary
Modifier and TypeMethodDescriptionprotected void
Checks whether the current position is valid for all selected units.int
Retrieves parameter column of remote order display method.int
getRow()
Retrieves parameter row of remote order display method.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
-
PositionBase
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.JposExceptionChecks 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.
-