public class AudioVideoSlide extends Object implements Slide
Constructor and Description |
---|
AudioVideoSlide(URL url,
VideoDisplay.EndAction endAction)
Construct with the given video and
VideoDisplay.EndAction |
Modifier and Type | Method and Description |
---|---|
void |
close()
Close the current slide.
|
Component |
getComponent(int width,
int height)
Get the component to draw.
|
public AudioVideoSlide(URL url, VideoDisplay.EndAction endAction) throws IOException
VideoDisplay.EndAction
url
- endAction
- IOException
public Component getComponent(int width, int height) throws IOException
Slide
getComponent
in interface Slide
width
- the slide widthheight
- the slide heightIOException