FileDocCategorySizeDatePackage
SampleListModel.javaAPI Docmp4parser 1.0-RC-171537Wed Dec 19 20:10:21 GMT 2012com.coremedia.iso.gui

SampleListModel

public class SampleListModel extends AbstractListModel

Fields Summary
com.coremedia.iso.boxes.mdat.SampleList
list
long
trackId
com.coremedia.iso.boxes.sampleentry.SampleEntry
se
private AvcConfigurationBox.AVCDecoderConfigurationRecord
avcD
Constructors Summary
public SampleListModel(com.coremedia.iso.boxes.mdat.SampleList list, long trackId, com.coremedia.iso.boxes.sampleentry.SampleEntry se, AvcConfigurationBox.AVCDecoderConfigurationRecord avcD)

        this.list = list;
        this.trackId = trackId;
        this.se = se;
        this.avcD = avcD;
    
Methods Summary
public java.lang.ObjectgetElementAt(int index)

        ByteBuffer bb  = list.get(index);
        long offset = list.getOffsetKeys()[index];
        return new Entry(bb, offset, trackId, se, avcD);
    
public intgetSize()

        return list.size();
    
public longgetTrackId()

        return trackId;