Record Class DialogView.DialogViewCloseEvent
java.lang.Object
java.lang.Record
org.springframework.shell.component.view.control.DialogView.DialogViewCloseEvent
- All Implemented Interfaces:
- ViewEvent
- Enclosing class:
- DialogView
public static record DialogView.DialogViewCloseEvent(View view, DialogView.DialogViewItemEventArgs args)
extends Record
implements ViewEvent
- 
Constructor SummaryConstructorsConstructorDescriptionCreates an instance of aDialogViewCloseEventrecord 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- 
DialogViewCloseEventCreates an instance of aDialogViewCloseEventrecord 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.
 
-