Base Classes for Custom Components
Custom component classes usually subclass one of:
- UIOutput
- If your component displays an uneditable value
- Implements ValueHolder interface for managing a component
value and converter
- UIInput
- If your component (like a spinner) reads a value from the user
- Implements EditableValueHolder interface to add validators
and value change listeners
- UICommand
- If your component produces actions similar to a command button or
link
- Implements ActionSource interface for managing action
listeners
- Implements ActionSource2 interface for managing actions