public class SlideshowApplication extends Slideshow
Modifier and Type | Field and Description |
---|---|
protected FullscreenUtility |
fsutil |
container, currentSlide, currentSlideComp, currentSlideIndex, slideHeight, slides, slideWidth
Constructor and Description |
---|
SlideshowApplication(List<Slide> slides,
int slideWidth,
int slideHeight,
BufferedImage background)
Default constructor.
|
SlideshowApplication(Slide slide,
int slideWidth,
int slideHeight)
Default constructor.
|
SlideshowApplication(Slide slide,
int slideWidth,
int slideHeight,
BufferedImage background)
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
isFullscreen() |
protected void |
pack() |
void |
setFullscreen(boolean fullscreen)
Method allows changing whether this window is displayed in fullscreen or
windowed mode.
|
displayNextSlide, displayPrevSlide, displaySlide, keyPressed, keyReleased, keyTyped
protected FullscreenUtility fsutil
public SlideshowApplication(List<Slide> slides, int slideWidth, int slideHeight, BufferedImage background) throws IOException
slides
- The slides to display.slideWidth
- The slide width.slideHeight
- The slide height.background
- The background image.IOException
public SlideshowApplication(Slide slide, int slideWidth, int slideHeight, BufferedImage background) throws IOException
slide
- The slide to display.slideWidth
- The slide width.slideHeight
- The slide height.background
- The background image.IOException
public SlideshowApplication(Slide slide, int slideWidth, int slideHeight) throws IOException
slide
- The slide to display.slideWidth
- The slide width.slideHeight
- The slide height.IOException
public void setFullscreen(boolean fullscreen)
Slideshow
setFullscreen
in class Slideshow
fullscreen
- true = change to fullscreen, false = change to windowedprotected boolean isFullscreen()
isFullscreen
in class Slideshow