public void next ( final boolean skipSlideStep ) { synchronized ( this ) { // Try to display the next slide step first // If no slide step is remaining, display the next slide if ( skipSlideStep || this . selectedSlideModel . nextStep ( ) && this . slidePosition < getPresentationService ( ) . getPresentation ( ) . getSlides ( ) . getSlide ( ) . size ( ) - 1 ) { this . slidePosition = Math . min ( this . slidePosition + 1 , getPresentationService ( ) . getPresentation ( ) . getSlides ( ) . getSlide ( ) . size ( ) - 1 ) ; displaySlide ( getPresentationService ( ) . getPresentation ( ) . getSlides ( ) . getSlide ( ) . get ( this . slidePosition ) , false ) ; } } }
Got to next slide .