Skip to content

Presentation Model Component

Michael Karneim edited this page May 9, 2018 · 2 revisions

A presentation model component is a JavaBean that encapsulates a specific detail of the application state. This includes application data, a validation state and - depending on the type - other typical attributes like "editable" and "mandatory". It provides methods for accessing, converting, formatting, and validating it's content. It informs it's listeners about state changes by firing events like the PropertyChangeEvents or other. By implementing the PresentationModel interface it can be combined with others to form a presentation model.

Examples are: TextPM, IntegerPM, DatePM, IListPM, and MapPM.