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 aTranscriptLocationChangeData
record class. -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.newLoc()
Returns the value of thenewLoc
record component.oldLoc()
Returns the value of theoldLoc
record component.toString()
Returns a string representation of this record class.
-
Constructor Details
-
TranscriptLocationChangeData
public TranscriptLocationChangeData(TranscriptElementLocation oldLoc, TranscriptElementLocation newLoc) Creates an instance of aTranscriptLocationChangeData
record 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
-