Package com.onec.ui
Class UiLayoutBuilder
java.lang.Object
com.onec.ui.UiLayoutBuilder
- Direct Known Subclasses:
UiLayoutBuilder.ProfileBuilder
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordstatic classTyped brand color overrides for one mode; unset slots staynull(renderer default).static classConfigures a named persona profile.static classstatic classBuilds theShellConfig— this layout's navigation presentation andBrandingConfig(app name, logo, favicon, brand palette).static classstatic final record -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()booleanLink authenticated accounts to a catalog record by matching the login tologinField, so persona UIs can resolve "the current person".Declare (or extend) a named persona profile.shell()Configure the app shell — chiefly the navigation presentation.
-
Constructor Details
-
UiLayoutBuilder
public UiLayoutBuilder()
-
-
Method Details
-
shell
Configure the app shell — chiefly the navigation presentation. Each layout is authored perViewport, so the shell has a single nav style:layout.shell().nav(NavStyle.SIDEBAR). -
buildShell
-
section
-
widget
-
profile
Declare (or extend) a named persona profile. Itssection(...)andwidget(...)calls are scoped to the profile and do not affect the default layout. SeeUiLayout.Profile. -
buildProfiles
-
identity
Link authenticated accounts to a catalog record by matching the login tologinField, so persona UIs can resolve "the current person". SeeUiIdentityLink. -
buildIdentity
-
build
-
buildWidgets
-
hasWidgets
public boolean hasWidgets()
-