Oorian's event system is central to building interactive applications. Understanding how events flow helps you build better architectures.
Event Flow
- User action in browser (click, type, etc.)
- Oorian client captures event
- Event sent to server via configured transport
- Server-side listener invoked
- UI updates sent back to browser
Event Types
- MouseClickedEvent: Button and element clicks
- InputChangeEvent: Text input changes (debounced)
- InputCompleteEvent: Input loses focus or Enter pressed
- FormEvent: Form submission
- KeyPressedEvent: Key presses on elements
Custom Events
Wrapper libraries define their own events (RowSelectedEvent, ChartClickEvent, etc.) following the same patterns.
Conclusion
Oorian's event system is familiar to Java developers—implement listener interfaces and register for events. The framework handles all browser-to-server communication transparently.