extra.inpro.training
Class SlideShowPanel.SlideIcon

java.lang.Object
  extended by javax.swing.ImageIcon
      extended by extra.inpro.training.SlideShowPanel.SlideIcon
All Implemented Interfaces:
java.io.Serializable, javax.accessibility.Accessible, javax.swing.Icon
Enclosing class:
SlideShowPanel

private class SlideShowPanel.SlideIcon
extends javax.swing.ImageIcon

Simple extension to ImageIcon with an additional infoString field. TODO: it would be much nicer if lazy image loading were implemented so that the initial delay would be lower. All images that are not needed immediately could be loaded in the background from a swing worker thread.

Author:
timo

Nested Class Summary
 
Nested classes/interfaces inherited from class javax.swing.ImageIcon
javax.swing.ImageIcon.AccessibleImageIcon
 
Field Summary
(package private)  java.lang.String infoString
          url and description for this slide
 
Fields inherited from class javax.swing.ImageIcon
component, tracker
 
Constructor Summary
SlideShowPanel.SlideIcon()
           
SlideShowPanel.SlideIcon(java.lang.String url, java.lang.String description)
           
 
Method Summary
(package private)  java.lang.String getInfoString()
           
 
Methods inherited from class javax.swing.ImageIcon
getAccessibleContext, getDescription, getIconHeight, getIconWidth, getImage, getImageLoadStatus, getImageObserver, loadImage, paintIcon, setDescription, setImage, setImageObserver, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

infoString

java.lang.String infoString
url and description for this slide

Constructor Detail

SlideShowPanel.SlideIcon

SlideShowPanel.SlideIcon()

SlideShowPanel.SlideIcon

SlideShowPanel.SlideIcon(java.lang.String url,
                         java.lang.String description)
                   throws java.net.MalformedURLException
Throws:
java.net.MalformedURLException
Method Detail

getInfoString

java.lang.String getInfoString()