|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectlhmc.plugins.Plugin
lhmc.plugins.ImagePlugin
public class ImagePlugin
ImagePlugin executes a single image file and shows it in fullscreen and executes a directory and make a slideshow from all the images in that directory.
Field Summary | |
---|---|
protected java.awt.GraphicsDevice |
device
|
protected java.awt.Window |
mainWindow
|
protected SlideShow |
ss
|
Fields inherited from class lhmc.plugins.Plugin |
---|
backupFrame, mainFrame |
Method Summary | |
---|---|
void |
keyPressed(java.awt.event.KeyEvent e)
Handles the keyPressed event by invoking the keyPressed methods on listener-a and listener-b. |
void |
keyReleased(java.awt.event.KeyEvent e)
Handles the keyReleased event by invoking the keyReleased methods on listener-a and listener-b. |
void |
keyTyped(java.awt.event.KeyEvent e)
Handles the keyTyped event by invoking the keyTyped methods on listener-a and listener-b. |
void |
play(java.net.URL file)
Shows the scaled image in fullscreen. |
void |
playAll(java.net.URL file)
Shows a slideshow of a directory in fullscreen. |
Methods inherited from class lhmc.plugins.Plugin |
---|
setMainFrame |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.awt.GraphicsDevice device
protected java.awt.Window mainWindow
protected SlideShow ss
Method Detail |
---|
public void play(java.net.URL file)
play
in class Plugin
file
- the image URL to show.public void playAll(java.net.URL file)
playAll
in class Plugin
file
- the URL directory to make the slideshow.public void keyPressed(java.awt.event.KeyEvent e)
keyPressed
in interface java.awt.event.KeyListener
e
- the key event.public void keyReleased(java.awt.event.KeyEvent e)
keyReleased
in interface java.awt.event.KeyListener
e
- the key event.public void keyTyped(java.awt.event.KeyEvent e)
keyTyped
in interface java.awt.event.KeyListener
e
- the key event.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |