|
Media Authoring with Java API |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Event
Specifies a text comment, a trigger, or an area in the image that has an associated interactive action.
EventMobSlot
Method Summary | |
---|---|
String |
getComment()
Returns the comment that specifies the purpose of this event. |
long |
getPosition()
Returns the position of this event, which specifies the starting time of the event in an event mob slot. |
void |
setComment(String comment)
Set a comment that specifies the purpose of the event. |
void |
setPosition(long position)
Sets the position of this event, which specifies the starting time of the event in an event mob slot. |
Methods inherited from interface tv.amwa.maj.iface.Segment |
---|
segmentOffsetToTC, segmentTCToOffset |
Methods inherited from interface tv.amwa.maj.iface.Component |
---|
appendAttribute, appendAttribute, appendComment, appendComment, appendKLVData, countAttributes, countComments, countKLVData, getAttributes, getComments, getDataDefinition, getKLVData, getLength, removeAttribute, removeComment, removeKLVData, setDataDefinition, setLength |
Methods inherited from interface tv.amwa.maj.iface.InterchangeObject |
---|
countProperties, createOptionalPropertyValue, disableGenerationTracking, enableGenerationTracking, getDefinition, getGeneration, getGenerationAUID, getProperties, getPropertyValue, isGenerationTracked, isPropertyPresent, omitOpionalProperty, setPropertyValue |
Method Detail |
---|
@PositionType long getPosition() throws BadPropertyException
Returns the position of this event, which specifies the starting time of the event in an event mob slot.
BadPropertyException
- The position property is not present in the context of this event.void setPosition(@PositionType long position) throws BadPropertyException
Sets the position of this event, which specifies the starting time of the event in an event mob slot.
position
- The position for this event in an event mob slot.
BadPropertyException
- The position property is not present in the context of this event.void setComment(@AAFString String comment)
Set a comment that specifies the purpose of the event. Set this optional property
to null
to omit it.
comment
- Comment to set for this event.@AAFString String getComment() 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.
|
Media Authoring with Java API |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |