KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > iTunes > def > IITTrackCollection


1 // GENERATED. DO NOT MODIFY
2
package iTunes.def;
3
4 import com4j.*;
5
6 /**
7  * IITTrackCollection Interface
8  */

9 @IID("{755D76F1-6B85-4CE4-8F5F-F88D9743DCD8}")
10 public interface IITTrackCollection extends Com4jObject,Iterable JavaDoc<Com4jObject> {
11     /**
12      * Returns the number of tracks in the collection.
13      */

14     @VTID(7)
15     int count();
16
17     /**
18      * Returns an IITTrack object corresponding to the given fixed index, where the index is independent of the play order (1-based).
19      */

20     @VTID(8)
21     IITTrack item(
22         int index);
23
24     /**
25      * Returns an IITTrack object corresponding to the given index, where the index is defined by the play order of the playlist containing the track collection (1-based).
26      */

27     @VTID(9)
28     IITTrack itemByPlayOrder(
29         int index);
30
31     /**
32      * Returns an IITTrack object with the specified name.
33      */

34     @VTID(10)
35     IITTrack itemByName(
36         java.lang.String JavaDoc name);
37
38     /**
39      * Returns an IEnumVARIANT object which can enumerate the collection.
40      */

41     @VTID(11)
42     java.util.Iterator JavaDoc<Com4jObject> iterator();
43
44 }
45
Popular Tags