Skip to content

Interfaces

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.

InterfaceDescription
ComponentTreeSupplierImplement to provide a custom component tree for a route
TitleSupplierProvides the page title dynamically
SubtitleSupplierProvides the page subtitle dynamically
PageTitleSupplierProvides the browser tab title dynamically
InterfaceDescription
MenuSupplierProvides the application navigation menu
ActionableA navigable menu item or action link
SubmenuMarker interface for submenu containers
AppMarker interface for application root classes
InterfaceDescription
ListingBackendProvides paginated, searchable, filterable data for a grid
ReactiveListingBackendReactive (Reactor) variant of ListingBackend
DataSupplierProvides arbitrary data to the component
CommandSupplierProvides UI commands to execute on the client side
PostHydrationHandlerCalled after the server re-hydrates component state
InterfaceDescription
ActionHandlerHandles named actions triggered from the UI
RouteHandlerHandles navigation requests for a route
HttpRequestProvides access to request context, parameters, and state
InterfaceDescription
CrudRepositoryBasic CRUD operations for an entity
CrudAdapterFull CRUD + listing adapter with separate view/editor forms
InterfaceDescription
ValidationSupplierProvides cross-field validations programmatically
RuleSupplierProvides conditional UI rules programmatically