Record Class ElementStyling
java.lang.Object
java.lang.Record
io.meeds.layout.model.ElementStyling
public record ElementStyling(String elementId, StylingDescription styling, DisplayMode display)
extends Record
An element of set_layout_styles: the id the read answers for a section, an
application, a topbar, a bottom bar or a sidebar, with the styling blocks
that change, in the shape the read answers them. The display the read
answers beside the styling is bound only to be refused, since an argument
the binder does not know is dropped without a word
-
Constructor Summary
ConstructorsConstructorDescriptionElementStyling(String elementId, StylingDescription styling, DisplayMode display) Creates an instance of aElementStylingrecord class. -
Method Summary
Modifier and TypeMethodDescriptiondisplay()Returns the value of thedisplayrecord component.Returns the value of theelementIdrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.styling()Returns the value of thestylingrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ElementStyling
Creates an instance of aElementStylingrecord class.- Parameters:
elementId- the value for theelementIdrecord componentstyling- the value for thestylingrecord componentdisplay- the value for thedisplayrecord 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). -
elementId
Returns the value of theelementIdrecord component.- Returns:
- the value of the
elementIdrecord component
-
styling
Returns the value of thestylingrecord component.- Returns:
- the value of the
stylingrecord component
-
display
Returns the value of thedisplayrecord component.- Returns:
- the value of the
displayrecord component
-