org.rr0.is.presentation
Class SlideShowApplet

java.lang.Object
  |
  +--java.awt.Component
        |
        +--java.awt.Container
              |
              +--java.awt.Panel
                    |
                    +--java.applet.Applet
                          |
                          +--org.rr0.is.presentation.SlideShowApplet

public class SlideShowApplet
extends Applet
implements Runnable

Author:
Jérôme Beau
Version: 22 avr. 2003 19:42:32

Field Summary
 private intappletHeight
           
 private intappletWidth
           
 private ImagecurrentImage
           
 private intcurrentImageIndex
           
 private longdisplayTime
           
 private StringimageDirectory
           
 private VectorimageFiles
           
 private MediaTrackermediaTracker
           
 private booleanrunning
           
 private ThreadslideThread
           

Fields inherited from class java.awt.Component
TOP_ALIGNMENT, CENTER_ALIGNMENT, BOTTOM_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT

Method Summary
 StringgetCodeBaseString()
           
 private voidgetFileList()
           
 voidinit()
           
 voidpaint(Graphics someGraphics)
           
 voidrepaint()
          Avoid update to avoid flicking
 voidrun()
           
 voidstart()
           
 voidstop()
           

Methods inherited from class java.applet.Applet
setStub, isActive, getDocumentBase, getCodeBase, getParameter, getAppletContext, resize, resize, showStatus, getImage, getImage, newAudioClip, getAudioClip, getAudioClip, getAppletInfo, getLocale, getParameterInfo, play, play, destroy, getAccessibleContext

Methods inherited from class java.awt.Panel
addNotify

Methods inherited from class java.awt.Container
getComponentCount, countComponents, getComponent, getComponents, getInsets, insets, add, add, add, add, add, addImpl, remove, remove, removeAll, getLayout, setLayout, doLayout, layout, invalidate, validate, validateTree, setFont, getPreferredSize, preferredSize, getMinimumSize, minimumSize, getMaximumSize, getAlignmentX, getAlignmentY, update, print, paintComponents, printComponents, addContainerListener, removeContainerListener, getListeners, processEvent, processContainerEvent, deliverEvent, getComponentAt, locate, getComponentAt, findComponentAt, findComponentAt, removeNotify, isAncestorOf, paramString, list, list

Methods inherited from class java.awt.Component
getName, setName, getParent, getPeer, setDropTarget, getDropTarget, getGraphicsConfiguration, getTreeLock, getToolkit, isValid, isDisplayable, isVisible, isShowing, isEnabled, setEnabled, enable, enable, disable, isDoubleBuffered, enableInputMethods, setVisible, show, show, hide, getForeground, setForeground, getBackground, setBackground, getFont, setLocale, getColorModel, getLocation, getLocationOnScreen, location, setLocation, move, setLocation, getSize, size, setSize, setSize, getBounds, bounds, setBounds, reshape, setBounds, getX, getY, getWidth, getHeight, getBounds, getSize, getLocation, isOpaque, isLightweight, getGraphics, getFontMetrics, setCursor, getCursor, paintAll, repaint, repaint, repaint, printAll, imageUpdate, createImage, createImage, prepareImage, prepareImage, checkImage, checkImage, contains, inside, contains, dispatchEvent, postEvent, addComponentListener, removeComponentListener, addFocusListener, removeFocusListener, addHierarchyListener, removeHierarchyListener, addHierarchyBoundsListener, removeHierarchyBoundsListener, addKeyListener, removeKeyListener, addMouseListener, removeMouseListener, addMouseMotionListener, removeMouseMotionListener, addInputMethodListener, removeInputMethodListener, getInputMethodRequests, getInputContext, enableEvents, disableEvents, coalesceEvents, processComponentEvent, processFocusEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processInputMethodEvent, processHierarchyEvent, processHierarchyBoundsEvent, handleEvent, mouseDown, mouseDrag, mouseUp, mouseMove, mouseEnter, mouseExit, keyDown, keyUp, action, gotFocus, lostFocus, isFocusTraversable, requestFocus, transferFocus, nextFocus, hasFocus, add, remove, toString, list, list, list, addPropertyChangeListener, removePropertyChangeListener, addPropertyChangeListener, removePropertyChangeListener, firePropertyChange, setComponentOrientation, getComponentOrientation

Methods inherited from class java.lang.Object
getClass, hashCode, equals, clone, notify, notifyAll, wait, wait, wait, finalize

Field Detail

appletHeight

private int appletHeight

appletWidth

private int appletWidth

currentImage

private Image currentImage

currentImageIndex

private int currentImageIndex

displayTime

private long displayTime

imageDirectory

private String imageDirectory

imageFiles

private Vector imageFiles

mediaTracker

private MediaTracker mediaTracker

running

private boolean running

slideThread

private Thread slideThread
Method Detail

getCodeBaseString

public String getCodeBaseString()

getFileList

private void getFileList()

init

public void init()

paint

public void paint(Graphics someGraphics)

repaint

public void repaint()
Avoid update to avoid flicking

run

public void run()

start

public void start()

stop

public void stop()

Association Links

to Class java.util.Vector

to Class java.lang.Thread

to Class java.awt.MediaTracker

to Class java.awt.Image

to Class java.lang.String