Package su.onno.ui
Class UiLayoutResolver
java.lang.Object
su.onno.ui.UiLayoutResolver
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionresolve(UiLayout.Profile profile) resolveFieldHints(UiLayout.Profile profile, String entityType, String entityName) resolveFieldHints(UiLayout layout, String entityType, String entityName) Look up field hints for an entity declared in the layout.Resolve explicit widget configs (e.g.resolveWidgets(UiLayout layout) Resolve widget configs to page-widget descriptors.resolveWidgets(UiLayout.Profile profile)
-
Constructor Details
-
UiLayoutResolver
-
-
Method Details
-
resolveFieldHints
public Map<String,FieldHint> resolveFieldHints(UiLayout layout, String entityType, String entityName) Look up field hints for an entity declared in the layout.Returns an empty map if the entity is not referenced by any section or was added via the no-lambda overload. Multiple sections referencing the same entity are not expected; the first match wins.
-
resolveFieldHints
-
resolve
-
resolve
-
resolveWidgets
Resolve widget configs to page-widget descriptors. -
resolveWidgets
-
resolveWidgetConfigs
Resolve explicit widget configs (e.g. composed by aPage) to descriptors. UnlikeresolveWidgets(su.onno.ui.UiLayout), an empty list yields an empty result — no annotation fallback — so a page renders exactly what it composes.
-