org.game.Juzzle
Class ImageDescription

java.lang.Object
  |
  +--org.game.Juzzle.ImageDescription

public class ImageDescription
extends java.lang.Object

this class contains the image, the scaled version of this image and the name for the image

See Also:
JuzzleImages

Field Summary
 javax.swing.ImageIcon imageIcon
          the image itself
 javax.swing.ImageIcon imageIcon_scaled
          the scaled image
 java.lang.String name
          the name of the image
 
Constructor Summary
ImageDescription(javax.swing.ImageIcon imageIcon, javax.swing.ImageIcon imageIcon_scaled, java.lang.String name)
          simply constructor
 
Method Summary
 java.lang.String toString()
          return the image name
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

imageIcon

public javax.swing.ImageIcon imageIcon
the image itself

imageIcon_scaled

public javax.swing.ImageIcon imageIcon_scaled
the scaled image

name

public java.lang.String name
the name of the image
Constructor Detail

ImageDescription

public ImageDescription(javax.swing.ImageIcon imageIcon,
                        javax.swing.ImageIcon imageIcon_scaled,
                        java.lang.String name)
simply constructor
Parameters:
imageIcon - image itself
imageIcon_scaled - scaled image version
name - image name
Method Detail

toString

public java.lang.String toString()
return the image name
Overrides:
toString in class java.lang.Object
Returns:
the name of the image