Interface POSKeyboardInterface

All Superinterfaces:
JposBaseInterface
All Known Implementing Classes:
POSKeyboard, POSKeyboardProperties

public interface POSKeyboardInterface extends JposBaseInterface
Interface for methods that implement property setter and method calls for the POSKeyboard device category. For details about properties, methods and method parameters, see UPOS specification, chapter POS Keyboard. Further details about error handling can be found in introduction - Device Behavior Models - Errors.
  • Method Details

    • eventTypes

      void eventTypes(int type) throws jpos.JposException
      Final part of setting EventTypes. Can be overwritten within derived classes, if necessary. This method will be called only if the following plausibility checks lead to a positive result:
      • Device has not been closed,
      • CapKeyUp is true: type is KBD_ET_DOWN or KBD_ET_DOWN_UP,
      • CapKeyUp is false: type is KBD_ET_DOWN,
      • internal property AllowAlwaysSetProperties is true or type equals the previous value of EventTypes.
      Parameters:
      type - New EventTypes value
      Throws:
      jpos.JposException - If an error occurs during enable or disable