com.meapsoft
Class EDLChunk

java.lang.Object
  extended bycom.meapsoft.Chunk
      extended bycom.meapsoft.FeatChunk
          extended bycom.meapsoft.EDLChunk
All Implemented Interfaces:
java.lang.Cloneable, java.lang.Comparable
Direct Known Subclasses:
ChunkVisInfo

public class EDLChunk
extends FeatChunk

Representation of an EDLFile Chunk Note that EDLChunk extends FeatChunk so that it can inherit the feature stuff from FeatChunk. This is really only to associate each EDL chunk with a set of features for visualization purposes (i.e. with ImagePanel, to see how the composers rearrange things) since the features associated with chunks in EDLs are basically irrelevant.


Field Summary
 java.util.Vector commands
           
 double dstTime
           
 
Fields inherited from class com.meapsoft.FeatChunk
features
 
Fields inherited from class com.meapsoft.Chunk
comment, length, srcFile, startTime
 
Constructor Summary
EDLChunk(Chunk c, double dt)
           
EDLChunk(FeatChunk c, double dt)
           
EDLChunk(java.lang.String sf, double st, double l, double dt)
          EDLFile Chunk constructor
 
Method Summary
 int compareTo(java.lang.Object o)
          Compare one EDLChunk to another - comparisons are performed based on dstTime field
 java.lang.String toString()
          Write a description of this Chunk as a String in the format expected in an EDLFile
 
Methods inherited from class com.meapsoft.FeatChunk
addFeature, addFeature, addFeature, addFeature, addFeature, clearFeatures, clone, getFeatures, getFeatures, numFeatures, setFeature, setFeatures
 
Methods inherited from class com.meapsoft.Chunk
getSamples
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

dstTime

public double dstTime

commands

public java.util.Vector commands
Constructor Detail

EDLChunk

public EDLChunk(java.lang.String sf,
                double st,
                double l,
                double dt)
EDLFile Chunk constructor


EDLChunk

public EDLChunk(Chunk c,
                double dt)

EDLChunk

public EDLChunk(FeatChunk c,
                double dt)
Method Detail

compareTo

public int compareTo(java.lang.Object o)
              throws java.lang.ClassCastException
Compare one EDLChunk to another - comparisons are performed based on dstTime field

Specified by:
compareTo in interface java.lang.Comparable
Overrides:
compareTo in class Chunk
Throws:
java.lang.ClassCastException

toString

public java.lang.String toString()
Write a description of this Chunk as a String in the format expected in an EDLFile

Overrides:
toString in class FeatChunk