public class SIFTAltSIFTSlide extends Object implements Slide, VideoDisplayListener<MBFImage>, KeyListener
Constructor and Description |
---|
SIFTAltSIFTSlide() |
Modifier and Type | Method and Description |
---|---|
void |
afterUpdate(VideoDisplay<MBFImage> display)
Called when the video display is updated and the next frame
is displayed
|
void |
beforeUpdate(MBFImage frame)
Called when the video is about to update
|
void |
close()
Close the current slide.
|
Component |
getComponent(int width,
int height)
Get the component to draw.
|
void |
keyPressed(KeyEvent key) |
void |
keyReleased(KeyEvent arg0) |
void |
keyTyped(KeyEvent arg0) |
public SIFTAltSIFTSlide()
public Component getComponent(int width, int height) throws IOException
Slide
getComponent
in interface Slide
width
- the slide widthheight
- the slide heightIOException
public void close()
Slide
Slideshow
when the
slide is removed from display.public void afterUpdate(VideoDisplay<MBFImage> display)
VideoDisplayListener
afterUpdate
in interface VideoDisplayListener<MBFImage>
display
- the video displaypublic void beforeUpdate(MBFImage frame)
VideoDisplayListener
beforeUpdate
in interface VideoDisplayListener<MBFImage>
frame
- the frame about to be displayedpublic void keyPressed(KeyEvent key)
keyPressed
in interface KeyListener
public void keyReleased(KeyEvent arg0)
keyReleased
in interface KeyListener
public void keyTyped(KeyEvent arg0)
keyTyped
in interface KeyListener