Contents
Record Class ConfirmationPage.Text
java.lang.Object
java.lang.Record
com.hypixel.hytale.server.core.entity.entities.player.pages.ConfirmationPage.Text
- Enclosing class:
ConfirmationPage
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecancelLabelrecord component.Returns the value of theconfirmLabelrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.message()Returns the value of themessagerecord component.title()Returns the value of thetitlerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Text
public Text(@Nonnull Message title, @Nonnull Message message, @Nonnull Message confirmLabel, @Nonnull Message cancelLabel) Creates an instance of aTextrecord class.- Parameters:
title- the value for thetitlerecord componentmessage- the value for themessagerecord componentconfirmLabel- the value for theconfirmLabelrecord componentcancelLabel- the value for thecancelLabelrecord 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). -
title
Returns the value of thetitlerecord component.- Returns:
- the value of the
titlerecord component
-
message
Returns the value of themessagerecord component.- Returns:
- the value of the
messagerecord component
-
confirmLabel
Returns the value of theconfirmLabelrecord component.- Returns:
- the value of the
confirmLabelrecord component
-
cancelLabel
Returns the value of thecancelLabelrecord component.- Returns:
- the value of the
cancelLabelrecord component
-