Class SlideShow

java.lang.Object
  extended by SlideShow

public class SlideShow
extends java.lang.Object


Constructor Summary
SlideShow(Picture[] pictArray)
           
 
Method Summary
 Picture getPicture(int index)
           
 int getWaitTime()
          method to return the time to wait
static void main(java.lang.String[] args)
           
 void setPicture(Picture apict, int index)
           
 void setWaitTime(int theWaitTime)
           
 void show()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SlideShow

public SlideShow(Picture[] pictArray)
Method Detail

getWaitTime

public int getWaitTime()
method to return the time to wait

Returns:
is returning the wait time in milliseconds

setWaitTime

public void setWaitTime(int theWaitTime)

getPicture

public Picture getPicture(int index)

setPicture

public void setPicture(Picture apict,
                       int index)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

show

public void show()
          throws java.lang.Exception
Throws:
java.lang.Exception

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
Throws:
java.lang.Exception