Record Class EditorEvent<T>
java.lang.Object
java.lang.Record
ca.phon.app.session.editor.EditorEvent<T>
- Record Components:
eventType
-source
-data
-
Entity class for editor events.
-
Constructor Summary
ConstructorsConstructorDescriptionEditorEvent
(EditorEventType<T> eventType, Component source, T data) Creates an instance of aEditorEvent
record class. -
Method Summary
Modifier and TypeMethodDescriptiondata()
Returns the value of thedata
record component.final boolean
Indicates whether some other object is "equal to" this one.Returns the value of theeventType
record component.getData()
final int
hashCode()
Returns a hash code value for this object.source()
Returns the value of thesource
record component.final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
EditorEvent
-
-
Method Details
-
getData
-
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)
. -
eventType
-
source
-
data
-