Record Class ClickDecision.Report
java.lang.Object
java.lang.Record
com.ultikits.ultitools.ui.chest.ClickDecision.Report
- All Implemented Interfaces:
ClickDecision
- Enclosing interface:
ClickDecision
public static record ClickDecision.Report(GridSlot slot, ClickKind kind)
extends Record
implements ClickDecision
Cancels and records an icon click; never runs module code here.
-
Nested Class Summary
Nested classes/interfaces inherited from interface ClickDecision
ClickDecision.Allow, ClickDecision.Apply, ClickDecision.Cancel, ClickDecision.Report -
Field Summary
Fields -
Constructor Summary
Constructors -
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.kind()Returns the value of thekindrecord component.slot()Returns the value of theslotrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
slot
The field for theslotrecord component. -
kind
The field for thekindrecord component.
-
-
Constructor Details
-
Report
-
-
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). -
slot
Returns the value of theslotrecord component.- Returns:
- the value of the
slotrecord component
-
kind
Returns the value of thekindrecord component.- Returns:
- the value of the
kindrecord component
-