Problem: How do you implement invalidation in a non-visual class?
Solution: Use an instance of UIComponent to proxy the invalidation.
Scenario: You need to validate user input in a TextInput component for legal values.
Solution : Use the 'textInput' event to intercept the characters a users types before they are committed and cancel the committing of the character if it is illegal.