Record Class TranscriptEditor.TranscriptLocationChangeData
java.lang.Object
java.lang.Record
ca.phon.app.session.editor.view.transcript.TranscriptEditor.TranscriptLocationChangeData
- Record Components:
oldLoc- the previous session locationnewLoc- the new session location
- Enclosing class:
TranscriptEditor
public static record TranscriptEditor.TranscriptLocationChangeData(TranscriptElementLocation oldLoc, TranscriptElementLocation newLoc)
extends Record
A record that contains the data for session location change events
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of aTranscriptLocationChangeDatarecord 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.newLoc()Returns the value of thenewLocrecord component.oldLoc()Returns the value of theoldLocrecord component.toString()Returns a string representation of this record class.
-
Constructor Details
-
TranscriptLocationChangeData
public TranscriptLocationChangeData(TranscriptElementLocation oldLoc, TranscriptElementLocation newLoc) Creates an instance of aTranscriptLocationChangeDatarecord class.
-
-
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). -
oldLoc
-
newLoc
-