Record Class ButtonView.ButtonViewSelectEvent
java.lang.Object
java.lang.Record
org.springframework.shell.component.view.control.ButtonView.ButtonViewSelectEvent
- All Implemented Interfaces:
- ViewEvent
- Enclosing class:
- ButtonView
public static record ButtonView.ButtonViewSelectEvent(View view, ButtonView.ButtonViewItemEventArgs args)
extends Record
implements ViewEvent
- 
Constructor SummaryConstructorsConstructorDescriptionCreates an instance of aButtonViewSelectEventrecord class.
- 
Method SummaryModifier and TypeMethodDescriptionargs()Returns the value of theargsrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.view()Returns the value of theviewrecord component.
- 
Constructor Details- 
ButtonViewSelectEventCreates an instance of aButtonViewSelectEventrecord class.- Parameters:
- view- the value for the- viewrecord component
- args- the value for the- argsrecord component
 
 
- 
- 
Method Details- 
of
- 
toStringReturns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
- 
hashCodepublic final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
- 
equalsIndicates 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).
- 
viewReturns the value of theviewrecord component.
- 
argsReturns the value of theargsrecord component.
 
-