|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.dt.iTunesController.ITSourceCollection
public class ITSourceCollection
Represents a collection of source objects.
Note that collection indices are always 1-based.
You can retrieve all the sources using ITSource.getSources().
| Field Summary | |
|---|---|
protected com.jacob.com.Dispatch |
object
|
| Constructor Summary | |
|---|---|
ITSourceCollection(com.jacob.com.Dispatch d)
|
|
| Method Summary | |
|---|---|
int |
getCount()
Returns the number of sources in the collection. |
ITSource |
getItem(int index)
Returns an ITSource object corresponding to the given index (1-based). |
ITSource |
getItemByName(java.lang.String name)
Returns an ITSource object withthe specified name. |
ITSource |
getItemByPersistentID(int highID,
int lowID)
Returns an ITSource object with the specified persistent ID. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected com.jacob.com.Dispatch object
| Constructor Detail |
|---|
public ITSourceCollection(com.jacob.com.Dispatch d)
| Method Detail |
|---|
public int getCount()
public ITSource getItem(int index)
index - Index of the source to retrieve, must be less than or
equal to ITSourceCollection.getCount().
public ITSource getItemByName(java.lang.String name)
name - The name of the source to retrieve.
public ITSource getItemByPersistentID(int highID,
int lowID)
highID - The high 32 bits of the 64-bit persistent ID.lowID - The low 32 bits of the 64-bit persistent ID.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||