|
Media Authoring with Java API |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TimelineMobSlot
Specifies a track that describes time-varying timeline essence.
If a component is in a timeline mob slot, then it shall have a length property. The timeline mob slot specifies the edit rate for the segment it has. The segment specifies its length in the edit rate set by the timeline mob slot. The segment also specifies its own data kind.
makeTimelineMobSlot()
,
MasterMob.createEssence()
,
MasterMob.createMultiEssence()
,
TimecodeSegment
,
EdgecodeSegment
,
TimecodeStream
Method Summary | |
---|---|
Rational |
getEditRate()
Returns the edit rate for this timeline mob slot, which specifies the units of time of the slot. |
long |
getMarkIn()
Returns the mark in property of the timeline mob slot. |
long |
getMarkOut()
Returns the mark out property of this timeline mob slot, which specifies the position of the marked out point as a count of edit units from the zero position of this timeline mob slot. |
long |
getOrigin()
Returns the origin of this timeline mob slot, which specifies the offset used to resolve source clip references in this timeline mob slot. |
long |
getUserPos()
Returns the user position property of the timeline mob slot, which specifies a user position as a count of edit units from the zero position of the timeline mob slot. |
void |
setEditRate(Rational editRate)
Sets the edit rate for this timeline mob slot, which specifies the units of time of the slot. |
void |
setMarkIn(Long markIn)
Sets the mark in property for this timeline mob slot, which specifies the position of the marked in point as a count of edit units from the zero position of this timeline mob slot. |
void |
setMarkOut(Long markOut)
Sets the mark out property of this timeline mob slot, which specifies the position of the marked out point as a count of edit units from the zero position of this timeline mob slot. |
void |
setOrigin(long origin)
Sets the origin of this timeline mob slot, which specifies the offset used to resolve source clip references in this timeline mob slot. |
void |
setUserPos(Long userPos)
Sets the user position property of the timeline mob slot, which specifies a user position as a count of edit units from the zero position of the timeline mob slot. |
Methods inherited from interface tv.amwa.maj.iface.MobSlot |
---|
getDataDefinition, getName, getPhysicalNumber, getSegment, getSlotID, setName, setPhysicalNumber, setSegment, setSlotID |
Methods inherited from interface tv.amwa.maj.iface.InterchangeObject |
---|
countProperties, createOptionalPropertyValue, disableGenerationTracking, enableGenerationTracking, getDefinition, getGeneration, getGenerationAUID, getProperties, getPropertyValue, isGenerationTracked, isPropertyPresent, omitOpionalProperty, setPropertyValue |
Method Detail |
---|
Rational getEditRate()
Returns the edit rate for this timeline mob slot, which specifies the units of time of the slot.
void setEditRate(Rational editRate) throws NullPointerException
Sets the edit rate for this timeline mob slot, which specifies the units of time of the slot.
editRate
- Edit rate for this timeline mob slot.
NullPointerException
- The given edit rate is null
.@PositionType long getOrigin()
Returns the origin of this timeline mob slot, which specifies the offset used to resolve source clip references in this timeline mob slot. A positive value of origin means that the first sample of the essence is earlier than the zero position. A negative value of origin means that the zero position is earlier than the first sample of the essence.
void setOrigin(@PositionType long origin)
Sets the origin of this timeline mob slot, which specifies the offset used to resolve source clip references in this timeline mob slot. A positive value of origin means that the first sample of the essence is earlier than the zero position. A negative value of origin means that the zero position is earlier than the first sample of the essence.
origin
- Origin of this timeline mob slot.@PositionType long getMarkIn() throws PropertyNotPresentException
Returns the mark in property of the timeline mob slot. This property specifies the position of the marked in point as a count of edit units from the zero position of the timeline mob slot. This is an optional property.
Note that this property shall not be present for a source mob.
PropertyNotPresentException
- The optional mark in property is not
present in this timeline mob slot.void setMarkIn(@PositionType Long markIn)
Sets the mark in property for this timeline mob slot, which
specifies the position of the marked in point as a count
of edit units from the zero position of this timeline mob slot.
Set this optional property to null
to omit it.
Note that this property shall not be present for a source mob.
markIn
- Mark in property for this timeline mob slot.@PositionType long getMarkOut() throws PropertyNotPresentException
Returns the mark out property of this timeline mob slot, which specifies the position of the marked out point as a count of edit units from the zero position of this timeline mob slot. This is an optional property.
Note that this property shall not be present for a source mob.
PropertyNotPresentException
- The optional mark out property is not
present in this timeline mob slot.void setMarkOut(@PositionType Long markOut)
Sets the mark out property of this timeline mob slot, which
specifies the position of the marked out point as a
count of edit units from the zero position of this timeline mob
slot. Set this optional property to null
to omit it.
Note that this property shall not be present for a source mob.
markOut
- Mark out property of this timeline mob slot.@PositionType long getUserPos() throws PropertyNotPresentException
Returns the user position property of the timeline mob slot, which specifies a user position as a count of edit units from the zero position of the timeline mob slot. This is an optional property.
Note that this property shall not be present for a source mob.
PropertyNotPresentException
- The optional user position property is not
present in this timeline mob slot.void setUserPos(@PositionType Long userPos)
Sets the user position property of the timeline mob slot, which
specifies a user position as a count of edit units from
the zero position of the timeline mob slot. Set this optional property
to null
to omit it.
Note that this property shall not be present for a source mob.
userPos
- User position property of this timeline mob slot.
|
Media Authoring with Java API |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |