Record Class ClickResult.ChangeMenu
java.lang.Object
java.lang.Record
net.okocraft.box.feature.gui.api.button.ClickResult.ChangeMenu
- All Implemented Interfaces:
ClickResult
- Enclosing interface:
ClickResult
public static record ClickResult.ChangeMenu(@NotNull Menu menu)
extends Record
implements ClickResult
-
Nested Class Summary
Nested classes/interfaces inherited from interface ClickResult
ClickResult.ChangeMenu, ClickResult.WaitingTask -
Field Summary
Fields inherited from interface ClickResult
BACK_MENU, NO_UPDATE_NEEDED, UPDATE_BUTTON, UPDATE_ICONS -
Constructor Summary
ConstructorsConstructorDescriptionChangeMenu(@NotNull Menu menu) Creates an instance of aChangeMenurecord 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.@NotNull Menumenu()Returns the value of themenurecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
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).
-