@MediaClass(uuid1=218169601, uuid2=257, uuid3=1536, uuid4={6,14,43,52,2,6,1,1}, definedName="Event", description="The Event class defines a text comment, a trigger, or an area in the image that has an associated interactive action.", symbol="Event", isConcrete=false) public class EventImpl extends SegmentImpl implements Event, Serializable, Cloneable
Implements a text comment, a trigger, or an area in the image that has an associated interactive action.
ObjectClassPropertyID| Constructor and Description |
|---|
EventImpl() |
| Modifier and Type | Method and Description |
|---|---|
Event |
clone()
Create a cloned copy of this interchange object.
|
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.
|
boolean |
getPositionPresent()
Determine whether this event is in a context where the position property is present or not.
|
static long |
initializeEventPosition() |
void |
setEventComment(String eventComment)
Set a comment that specifies the purpose of the event.
|
void |
setEventPosition(long position)
Sets the position of this event, which specifies the starting time of the
event in an event track.
|
void |
setPositionPresent(boolean positionPresent)
Sets whether this event is in a context where the position property is present or not.
|
generateSequence, getCutPoint, getKeyOffset, getPackLayerKeyIndicator, getSegmentBlob, getTrackBlob, getTrackKeyRenderSequence, getTrackName, getTrackRenderSequence, segmentOffsetToTC, segmentTCToOffset, setCutPoint, setKeyOffset, setPackLayerKeyIndicator, setSegmentBlob, setTrackBlob, setTrackKeyRenderSequence, setTrackName, setTrackRenderSequenceappendComponentAttribute, appendComponentAttribute, appendComponentKLVData, appendComponentUserComment, appendComponentUserComment, clearComponentAttributes, clearComponentKLVData, clearComponentUserComments, countComponentAttributes, countComponentKLVData, countComponentUserComments, getComment, getComponentAttributes, getComponentDataDefinition, getComponentKLVData, getComponentLength, getComponentUserComments, getEditName, getJupiterClipOffset, getJupiterID, getLengthPresent, initializeComponentDataDefinition, prependComponentAttribute, prependComponentKLVData, prependComponentUserComment, removeComponentAttribute, removeComponentKLVData, removeComponentUserComment, setComponentDataDefinition, setComponentLength, setComponentLengthFromStream, setEditName, setJupiterClipOffset, setJupiterID, setLengthPresentaddApplicationPlugin, appendXMLChildren, clearApplicationPlugins, containsApplicationPlugin, containsApplicationPlugin, countApplicationPlugins, deepEquals, disableGenerationTracking, enableGenerationTracking, equals, getApplicationPlugins, getGeneration, getLinkedGenerationID, getLinkedGenerationIDString, getObjectClass, getPersistentID, getPersistentIndex, hashCode, isGenerationTracked, removeApplicationPlugin, removeApplicationPlugin, setLinkedGenerationID, setLinkedGenerationIDString, setObjectClass, setPersistentID, setPersistentIndex, toStringgenerateSequence, 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@MediaProperty(uuid1=87032836, uuid2=256, uuid3=0, uuid4={6,14,43,52,1,1,1,2}, definedName="EventComment", aliases="Comment", typeName="UTF16String", optional=true, uniqueIdentifier=false, pid=1538, symbol="EventComment") public String getEventComment() throws PropertyNotPresentException
EventReturns the comment that specifies the purpose of this event. This is an optional property.
getEventComment in interface EventPropertyNotPresentException - The optional comment property is not present in this event.@MediaPropertySetter(value="EventComment") public void setEventComment(String eventComment)
EventSet a comment that specifies the purpose of the event. Set this optional property
to null to omit it.
setEventComment in interface EventeventComment - Comment to set for this event.@MediaProperty(uuid1=117571843, uuid2=771, uuid3=0, uuid4={6,14,43,52,1,1,1,2}, definedName="EventPosition", aliases="Position", typeName="PositionType", optional=false, uniqueIdentifier=false, pid=1537, symbol="EventPosition") public long getEventPosition() throws BadPropertyException
EventReturns the position of this event, which specifies the starting time of the event in an event track.
getEventPosition in interface EventBadPropertyException - The position property is not present in the context of this event.@MediaPropertySetter(value="EventPosition") public void setEventPosition(long position) throws BadPropertyException
EventSets the position of this event, which specifies the starting time of the event in an event track.
setEventPosition in interface Eventposition - The position for this event in an event track.BadPropertyException - The position property is not present in the context of this event.public static final long initializeEventPosition()
public boolean getPositionPresent()
Determine whether this event is in a context where the position property is present or not.
If an Event is in a timeline track or a static track,
it shall not have a position property. If an event is in an event track, it
shall have a position property.
public void setPositionPresent(boolean positionPresent)
Sets whether this event is in a context where the position property is present or not.
If an Event is in a timeline track or a static track,
it shall not have a position property. If an event is in an event track, it
shall have a position property.
positionPresent - Is this event in a context where the position property is present?public Event clone()
InterchangeObjectCreate a cloned copy of this interchange object.
clone in interface MediaEntityclone in interface Componentclone in interface Eventclone in interface InterchangeObjectclone in interface Segmentclone in class SegmentImpl(c)2007-2016 Richard Cartwright, all rights reserved. Licensed under Apache 2 license and subject to the AMWA IPR policy.