Class DrawBox
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
de.gmxhome.conrad.jpos.jpos_base.remoteorderdisplay.ClearVideoRegion
de.gmxhome.conrad.jpos.jpos_base.remoteorderdisplay.DrawBox
- All Implemented Interfaces:
Runnable
Output request executor for RemoteOrderDisplay method DrawBox.
-
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
ConstructorsConstructorDescriptionDrawBox(RemoteOrderDisplayProperties data, int units, int row, int column, int height, int width, int attribute, int bordertype)
Constructor. -
Method Summary
Modifier and TypeMethodDescriptionint
Retrieves parameter bordertype of method DrawBox.void
invoke()
Invokes the command.Methods inherited from class de.gmxhome.conrad.jpos.jpos_base.remoteorderdisplay.ClearVideoRegion
getAttributes
Methods inherited from class de.gmxhome.conrad.jpos.jpos_base.remoteorderdisplay.AreaBase
checkAreaValid, getHeight, getWidth
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, reactivate, reactivate, reset, run
-
Constructor Details
-
DrawBox
public DrawBox(RemoteOrderDisplayProperties data, int units, int row, int column, int height, int width, int attribute, int bordertype)Constructor. Stores given parameters for later use.- Parameters:
data
- Property set of device service.units
- Bitwise mask indicating which video unit(s) to operate on.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.attribute
- VGA-like attribute parameter, see UPOS specification, chapter Remote Order Display - General Information - Model.bordertype
- The border type to be drawn.
-
-
Method Details
-
getBordertype
public int getBordertype()Retrieves parameter bordertype of method DrawBox. See UPOS specification for further information.- Returns:
- Value of method parameter bordertype.
-
invoke
public void invoke() throws jpos.JposExceptionDescription copied from class:JposOutputRequest
Invokes the command. Must be implemented in derived class. Calls finished() to wake up potentially waiting threads.- Overrides:
invoke
in classClearVideoRegion
- Throws:
jpos.JposException
- JposException thrown by the command to be executed.
-