Record Class NavigationDisplayDescription
java.lang.Object
java.lang.Record
io.meeds.layout.model.NavigationDisplayDescription
public record NavigationDisplayDescription(TopbarDisplayOptions topbar, SidebarDisplayOptions sidebar)
extends Record
The display options of the topbar and the sidebar as stored after an
update, each topbar application named in the user's language.
-
Constructor Summary
ConstructorsConstructorDescriptionNavigationDisplayDescription(TopbarDisplayOptions topbar, SidebarDisplayOptions sidebar) Creates an instance of aNavigationDisplayDescriptionrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.sidebar()Returns the value of thesidebarrecord component.topbar()Returns the value of thetopbarrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
NavigationDisplayDescription
Creates an instance of aNavigationDisplayDescriptionrecord class.- Parameters:
topbar- the value for thetopbarrecord componentsidebar- the value for thesidebarrecord component
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
topbar
Returns the value of thetopbarrecord component.- Returns:
- the value of the
topbarrecord component
-
sidebar
Returns the value of thesidebarrecord component.- Returns:
- the value of the
sidebarrecord component
-