HPS::AnnotationOperator::AnnotationInsertedEvent

class HPS.AnnotationOperator.AnnotationInsertedEvent : public HPS.Event

An event injected every time a new annotation is inserted. It contains the key of the segment containing the annotation and the view currently attached to this operator. This operator places each annotation in a separate segment.

Public Functions

AnnotationInsertedEvent ()

The default constructor creates an empty AnnotationInsertedEvent object.

AnnotationInsertedEvent (HPS.AnnotationOperator.AnnotationInsertedEvent in_that)
AnnotationInsertedEvent (HPS.Event in_event)

This constructor converts an Event Object to a MarkupInsertedEvent object.

Param in_event

The Event Object to be converted.

AnnotationInsertedEvent (HPS.SegmentKey in_text_key, HPS.View in_view)
override HPS.Event Clone ()

Allocates and returns a copy of this AnnotationInsertedEvent.

Return

A copy of this MarkupIAnnotationInsertedEventnsertedEvent.

override void Dispose ()

Properties

HPS.SegmentKey text_key { get; set; }
HPS.View view { get; set; }