Events
In Javra IDE an event is an action or occurrence detected by the program that may be handled by the program. Events can be user actions, such as mouse click, key press, or system occurences. Javra IDE framework provides a set of pre-defined events that developers can use in their maintenance programs. This facilitates different programming logic to be implemented on occurrence of these events. The events are mainly synchronous events, where the event runs in the same process/thread and the user gets control of the application only after the event has been handled completely.
Event types:
--Based on how the events are triggered,events can be classified into:
- UI events - events triggered in Javra IDE because of user interaction
- Non-UI events – this includes events like BEFORE-DISPLAY, triggered right before the display of the data or BEFORE-COMMIT, triggered before the record is committed
--Based on the level for which the events are triggered, events are classified into:
- Program level events: These events are triggered at the program level.
- Widget level events: These events are triggered for the widgets.
Related Topics