Media Authoring
with Java API

tv.amwa.maj.iface
Interface Transition

All Superinterfaces:
Component, InterchangeObject
All Known Implementing Classes:
Transition

public interface Transition
extends Component

Specifies that the two adjacent Segments should be overlapped when they are played and that the overlapped sections should be combined using the specified effect. Transitions are used to specify sequences according to the specified rules for a sequence. The operation that they specify must be appropriate for use in a transition, which means that it has two inputs and a level parameter.

Author:
Richard Cartwright
See Also:
makeTransition(), Sequence, OperationDefinition, OperationConstant

Method Summary
 long getCutPoint()
          Returns the point at which a cut would be inserted if this transition were removed.
 OperationGroup getOperationGroup()
          Returns the operation group defining the operation of this transition, which specifies the effect to be applied during the transition.
 void setCutPoint(long cutPoint)
          Sets the point at which a cut would be inserted if this transition were removed.
 void setOperationGroup(OperationGroup operationGroup)
          Sets the operation group defining the operation of this transition, which specifies the effect to be applied during the transition.
 
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

getCutPoint

@PositionType
long getCutPoint()

Returns the point at which a cut would be inserted if this transition were removed.

Returns:
Point at which a cut would be inserted if the transition were removed.

setCutPoint

void setCutPoint(@PositionType
                 long cutPoint)

Sets the point at which a cut would be inserted if this transition were removed.

Parameters:
cutPoint - Point at which a cut would be inserted if the transition were removed.

getOperationGroup

OperationGroup getOperationGroup()

Returns the operation group defining the operation of this transition, which specifies the effect to be applied during the transition.

Returns:
Operation group associated with the transition.
See Also:
OperationGroup.isValidTransitionOperation()

setOperationGroup

void setOperationGroup(OperationGroup operationGroup)
                       throws NullPointerException

Sets the operation group defining the operation of this transition, which specifies the effect to be applied during the transition.

Parameters:
operationGroup - Operation group associated with the transition.
Throws:
NullPointerException - The given operation group is null.
See Also:
OperationGroup.isValidTransitionOperation()

Media Authoring
with Java API

(c) 2007-2008 Richard Cartwright, all rights reserved. Subject to the terms of the AAF SDK Public Source License.