Mateu defines a set of Java interfaces that your classes implement to plug into the framework’s rendering, routing, data-loading, and action-handling pipelines.
| Interface | Description |
|---|
MenuSupplier | Provides the application navigation menu |
Actionable | A navigable menu item or action link |
Submenu | Marker interface for submenu containers |
App | Marker interface for application root classes |
| Interface | Description |
|---|
ListingBackend | Provides paginated, searchable, filterable data for a grid |
ReactiveListingBackend | Reactive (Reactor) variant of ListingBackend |
DataSupplier | Provides arbitrary data to the component |
CommandSupplier | Provides UI commands to execute on the client side |
PostHydrationHandler | Called after the server re-hydrates component state |
Hydratable | Takes full control of hydration, bypassing automatic field injection from request state |
StateSupplier | Provides a custom object as the component state sent to the client, overriding the default (the ViewModel itself) |
| Interface | Description |
|---|
ActionHandler | Handles named actions triggered from the UI |
RouteHandler | Handles navigation requests for a route |
HttpRequest | Provides access to request context, parameters, and state |
ActionSupplier | Provides the list of named actions exposed by a component, controlling which actions are available |
ButtonsSupplier | Provides the full list of page buttons, replacing annotation-based button discovery |
ToolbarSupplier | Provides the full list of toolbar items, replacing annotation-based toolbar discovery |
| Interface | Description |
|---|
CrudRepository | Basic CRUD operations for an entity |
CrudAdapter | Full CRUD + listing adapter with separate view/editor forms |
| Interface | Description |
|---|
VisibilitySupplier | Controls server-side visibility of fields, columns, buttons, and toolbar items dynamically at request time |
DisabledSupplier | Controls server-side disabled state of fields, buttons, and toolbar items dynamically at request time |
ReadOnlySupplier | Controls server-side read-only state of fields dynamically at request time |
RequiredSupplier | Controls server-side required state of fields dynamically at request time |
StyleSupplier | Provides field-level CSS styles dynamically at request time, overriding @Style |
DescriptionSupplier | Provides field-level help/description text dynamically at request time, overriding @Help |
LabelSupplier | Provides field-level label text dynamically at request time, overriding @Label |
ColspanSupplier | Provides field-level colspan dynamically at request time, overriding @Colspan |
StereotypeSupplier | Provides field-level stereotype dynamically at request time, overriding @Stereotype |
OptionsSupplier | Provides the selectable options for a field dynamically at request time |