Record Class TextPage.Item
java.lang.Object
java.lang.Record
net.ixdarklord.folios.internal.client.page.TextPage.Item
- Enclosing class:
TextPage
public static record TextPage.Item(FoliosPageElement element, ElementLayout settings, @Nullable Observed observed, @Nullable String marker, FoliosLock lock)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionItem(FoliosPageElement element, ElementLayout settings, @Nullable Observed observed) Item(FoliosPageElement element, ElementLayout settings, @Nullable Observed observed, @Nullable String marker, FoliosLock lock) Creates an instance of aItemrecord class. -
Method Summary
Modifier and TypeMethodDescriptionelement()Returns the value of theelementrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.lock()Returns the value of thelockrecord component.@Nullable Stringmarker()Returns the value of themarkerrecord component.@Nullable Observedobserved()Returns the value of theobservedrecord component.settings()Returns the value of thesettingsrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Item
-
Item
public Item(FoliosPageElement element, ElementLayout settings, @Nullable Observed observed, @Nullable String marker, FoliosLock lock) Creates an instance of aItemrecord class.- Parameters:
element- the value for theelementrecord componentsettings- the value for thesettingsrecord componentobserved- the value for theobservedrecord componentmarker- the value for themarkerrecord componentlock- the value for thelockrecord 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). -
element
Returns the value of theelementrecord component.- Returns:
- the value of the
elementrecord component
-
settings
Returns the value of thesettingsrecord component.- Returns:
- the value of the
settingsrecord component
-
observed
Returns the value of theobservedrecord component.- Returns:
- the value of the
observedrecord component
-
marker
Returns the value of themarkerrecord component.- Returns:
- the value of the
markerrecord component
-
lock
Returns the value of thelockrecord component.- Returns:
- the value of the
lockrecord component
-