RichFaces Photoalbum 4.3.1.CR1

org.richfaces.photoalbum.manager
Class SlideshowManager

java.lang.Object
  extended by org.richfaces.photoalbum.manager.SlideshowManager
All Implemented Interfaces:
Serializable

@ApplicationScoped
@Named(value="slideshow")
public class SlideshowManager
extends Object
implements Serializable

See Also:
Serialized Form

Constructor Summary
SlideshowManager()
           
 
Method Summary
 int getInterval()
           
 Image getSelectedImage()
           
 Integer getSlideshowIndex()
           
 Integer getStartSlideshowIndex()
           
 boolean isActive()
           
 boolean isErrorDetected()
           
 void setActive(boolean active)
           
 void setErrorDetected(boolean errorDetected)
           
 void setInterval(int interval)
           
 void setSelectedImage(Image selectedImage)
           
 void setSlideshowIndex(Integer slideshowIndex)
           
 void setStartSlideshowIndex(Integer startSlideshowIndex)
           
 void showNextImage()
          This method used to prepare next image to show during slideshow
 void startSlideshow()
          This method invoked after user click on 'Start slideshow' button and no image is selected.
 void startSlideshow(Image selectedImage)
          This method invoked after user click on 'Start slideshow' button.
 void stopSlideshow()
           
 void stopSlideshow(SimpleEvent se)
          This method invoked after user click on 'Stop slideshow' button.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SlideshowManager

public SlideshowManager()
Method Detail

getInterval

public int getInterval()

setInterval

public void setInterval(int interval)

isActive

public boolean isActive()

setActive

public void setActive(boolean active)

startSlideshow

public void startSlideshow()
This method invoked after user click on 'Start slideshow' button and no image is selected. After execution of this method slideshow will be activated.


startSlideshow

public void startSlideshow(Image selectedImage)
This method invoked after user click on 'Start slideshow' button. After execution of this method slideshow will be activated starting from selected image.

Parameters:
selectedImage - - first image to show during slideshow

stopSlideshow

public void stopSlideshow(@Observes
                          SimpleEvent se)
This method invoked after user click on 'Stop slideshow' button. After execution of this method slideshow will be de-activated.


stopSlideshow

public void stopSlideshow()

getSlideshowIndex

public Integer getSlideshowIndex()

setSlideshowIndex

public void setSlideshowIndex(Integer slideshowIndex)

getSelectedImage

public Image getSelectedImage()

setSelectedImage

public void setSelectedImage(Image selectedImage)

showNextImage

public void showNextImage()
This method used to prepare next image to show during slideshow


getStartSlideshowIndex

public Integer getStartSlideshowIndex()

setStartSlideshowIndex

public void setStartSlideshowIndex(Integer startSlideshowIndex)

isErrorDetected

public boolean isErrorDetected()

setErrorDetected

public void setErrorDetected(boolean errorDetected)

RichFaces Photoalbum 4.3.1.CR1

Copyright © 2013 JBoss by Red Hat. All Rights Reserved.