com.dt.iTunesController
Class ITWindowCollection

java.lang.Object
  extended by com.dt.iTunesController.ITWindowCollection

public class ITWindowCollection
extends java.lang.Object

Represents a collection of window objects. Note that collection indices are always 1-based. You can retrieve all the windows using iTunes.getWindows().


Field Summary
protected  com.jacob.com.Dispatch object
           
 
Constructor Summary
ITWindowCollection(com.jacob.com.Dispatch d)
           
 
Method Summary
 int getCount()
          Returns the number of playlists in the collection.
 ITWindow getItem(int index)
          Returns an ITWindow object corresponding to the given index (1-based).
 ITWindow ItemByName(java.lang.String name)
          Returns an ITWindow object with the specified name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

object

protected com.jacob.com.Dispatch object
Constructor Detail

ITWindowCollection

public ITWindowCollection(com.jacob.com.Dispatch d)
Method Detail

getCount

public int getCount()
Returns the number of playlists in the collection.

Returns:
Returns the number of playlists in the collection.

getItem

public ITWindow getItem(int index)
Returns an ITWindow object corresponding to the given index (1-based).

Parameters:
index - Index of the playlist to retrieve, must be less than or equal to ITWindowCollection.getCount().
Returns:
Returns an ITWindow object corresponding to the given index. Will be set to NULL if no playlist could be retrieved.

ItemByName

public ITWindow ItemByName(java.lang.String name)
Returns an ITWindow object with the specified name.

Parameters:
name - The name of the window to retrieve.
Returns:
Returns an ITWindow object corresponding to the given index. Will be set to NULL if no ITWindow could be retrieved.