org.dillenburg.pictureframe
Class SlideshowEvent

java.lang.Object
  extended by org.dillenburg.pictureframe.SlideshowEvent

public class SlideshowEvent
extends java.lang.Object

Information about an event from a Slideshow.


Constructor Summary
SlideshowEvent(Slideshow slideshow, java.io.File file, SlideshowEventType eventType)
          Initialize with slide show, file displayed and event type.
 
Method Summary
 SlideshowEventType getEventType()
           
 java.io.File getFile()
           
 Slideshow getSlideshow()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SlideshowEvent

public SlideshowEvent(Slideshow slideshow,
                      java.io.File file,
                      SlideshowEventType eventType)
Initialize with slide show, file displayed and event type.

Parameters:
slideshow - slide show event took place on
file - that was displayed (or null)
eventType - event type
Method Detail

getSlideshow

public Slideshow getSlideshow()
Returns:
slide show evetn took place on

getFile

public java.io.File getFile()
Returns:
file that was displayed or null if this is a shutdown event

getEventType

public SlideshowEventType getEventType()
Returns:
event type (shutdown or slide displayed)


JPictureFrame hosted by SourceForge.net - John Dillenburg - john_sourceforge@dillenburg.org