Zebra API Doc

zebra.ui.InputEvent Class

Input event class. Input event is everything what is bound to user inputing like keyboard, mouse, touch screen etc. This class often is used as basis for more specialized input event classes.

Constructor

zebra.ui.InputEvent

(
  • target
  • id
  • uid
)

Parameters:

  • target zebra.ui.Panel

    a source of the input event

  • id Integer

    an unique ID of the input event, for instance zebra.ui.KeyEvent.PRESSED

  • uid Integer

    an unique class id of the input event, for instance zebra.ui.InputEvent.MOUSE_UID

Item Index

Attributes

Attributes

ID

Integer readonly

Unique id of the input event

source

zebra.ui.Panel readonly

Source of the input event

UID

Integer readonly

Class id of the input event. It helps to differentiates input events by a device it has been generated