How does event handling work for an UI Component

See also: