de.humatic.dsj.edit
Class TrackEffect

java.lang.Object
  extended by de.humatic.dsj.edit.TrackEffect

public class TrackEffect
extends java.lang.Object

TrackEffect represents a one or two source effect, that has been assigned to a MovieTrack.
Use MovieTrack methods to create, access and manipulate TrackEffects.


Field Summary
static int EFFECT
           
static int JUMP
          Curve characteristics
static int LINEAR
          Curve characteristics
static int TRANSITION
           
 
Method Summary
 void clearCuePoints(int from, int to, int parameterID)
          Removes automation cue points for the given parameter between the given times.
 java.lang.String getCLSID()
           
 CuePoint getCuePointAtTime(int t, int parameterID)
          Returns the CuePoint in effect at the given time (which means that the returned cue's time will be <= %t).
If %parameterID is != -1, only cuepoints for the given parameter will be searched.
 CuePoint getCuePointAtTime(int t, java.lang.String parameterName)
           
 java.util.Vector getCuePoints()
          Returns assigned automation points.
 int getDuration()
           
 int getMajorType()
          Returns the major type of the effect, i.e.
 java.lang.String getName()
           
 int getOffset()
           
 int getPriority()
          Returns the place in the rendering queue this effect will be rendered at
 int getSubType()
          Returns the type of the effect, for example SMPTE_WIPE or VOLUME
 void insertCuePoint(CuePoint cp)
          Adds a new CuePoint into this effect's vector of automation points at the cuepoint's time
static int parameterIdForName(java.lang.String name)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

EFFECT

public static final int EFFECT
See Also:
Constant Field Values

TRANSITION

public static final int TRANSITION
See Also:
Constant Field Values

JUMP

public static final int JUMP
Curve characteristics

See Also:
Constant Field Values

LINEAR

public static final int LINEAR
Curve characteristics

See Also:
Constant Field Values
Method Detail

insertCuePoint

public void insertCuePoint(CuePoint cp)
                    throws DSJException
Adds a new CuePoint into this effect's vector of automation points at the cuepoint's time

Throws:
DSJException

getCuePointAtTime

public CuePoint getCuePointAtTime(int t,
                                  int parameterID)
Returns the CuePoint in effect at the given time (which means that the returned cue's time will be <= %t).
If %parameterID is != -1, only cuepoints for the given parameter will be searched.


getCuePointAtTime

public CuePoint getCuePointAtTime(int t,
                                  java.lang.String parameterName)

clearCuePoints

public void clearCuePoints(int from,
                           int to,
                           int parameterID)
Removes automation cue points for the given parameter between the given times. If %parameterID is -1, all cuepoints in that timespan will be removed.


getName

public java.lang.String getName()

getCLSID

public java.lang.String getCLSID()

getOffset

public int getOffset()

getDuration

public int getDuration()

getMajorType

public int getMajorType()
Returns the major type of the effect, i.e. EFFECT or TRANSITION


getSubType

public int getSubType()
Returns the type of the effect, for example SMPTE_WIPE or VOLUME


getPriority

public int getPriority()
Returns the place in the rendering queue this effect will be rendered at


getCuePoints

public java.util.Vector getCuePoints()
Returns assigned automation points.


parameterIdForName

public static int parameterIdForName(java.lang.String name)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object