public interface Event extends Segment
Specifies a text comment, a trigger, or an area in the image that has an associated interactive action.
EventTrack| Modifier and Type | Method and Description |
|---|---|
Event |
clone()
Create a cloned copy of this event.
|
String |
getEventComment()
Returns the comment that specifies the purpose of this event.
|
long |
getEventPosition()
Returns the position of this event, which specifies the starting time of the
event in an event track.
|
void |
setEventComment(String eventComment)
Set a comment that specifies the purpose of the event.
|
void |
setEventPosition(long eventPosition)
Sets the position of this event, which specifies the starting time of the
event in an event track.
|
generateSequence, segmentOffsetToTC, segmentTCToOffsetappendComponentAttribute, appendComponentAttribute, appendComponentKLVData, appendComponentUserComment, appendComponentUserComment, clearComponentAttributes, clearComponentKLVData, clearComponentUserComments, countComponentAttributes, countComponentKLVData, countComponentUserComments, getComponentAttributes, getComponentDataDefinition, getComponentKLVData, getComponentLength, getComponentUserComments, getLengthPresent, removeComponentAttribute, removeComponentKLVData, removeComponentUserComment, setComponentDataDefinition, setComponentLength, setLengthPresentaddApplicationPlugin, clearApplicationPlugins, containsApplicationPlugin, containsApplicationPlugin, countApplicationPlugins, deepEquals, disableGenerationTracking, enableGenerationTracking, equals, getApplicationPlugins, getGeneration, getLinkedGenerationID, getObjectClass, isGenerationTracked, removeApplicationPlugin, removeApplicationPlugin, setLinkedGenerationID, setObjectClass, toStringgetPersistentID, setPersistentIndex@PositionType long getEventPosition() throws BadPropertyException
Returns the position of this event, which specifies the starting time of the event in an event track.
BadPropertyException - The position property is not present in the context of this event.void setEventPosition(@PositionType long eventPosition) throws BadPropertyException
Sets the position of this event, which specifies the starting time of the event in an event track.
eventPosition - The position for this event in an event track.BadPropertyException - The position property is not present in the context of this event.void setEventComment(@AAFString String eventComment)
Set a comment that specifies the purpose of the event. Set this optional property
to null to omit it.
eventComment - Comment to set for this event.@AAFString String getEventComment() throws PropertyNotPresentException
Returns the comment that specifies the purpose of this event. This is an optional property.
PropertyNotPresentException - The optional comment property is not present in this event.Event clone()
Create a cloned copy of this event.
clone in interface Componentclone in interface InterchangeObjectclone in interface MediaEntityclone in interface Segment(c)2007-2016 Richard Cartwright, all rights reserved. Licensed under Apache 2 license and subject to the AMWA IPR policy.