lexx.images
Class Icons

java.lang.Object
  |
  +--lexx.images.Icons

public final class Icons
extends java.lang.Object

Loads image files found in the lexx.images packages and returns either an image or imageicon

Copyright (c) 2002-2003

Since:
02/12/2002
Version:
1.0
Author:
Mohammed Imran

Field Summary
static int iconSize
           
 
Constructor Summary
Icons()
           
 
Method Summary
static java.awt.Image getImage(java.lang.String name)
           
static javax.swing.ImageIcon getImageIcon(java.lang.String name)
           
static java.awt.Image getUnscalesImage(java.lang.String name)
           
static javax.swing.ImageIcon getUnscalesImageIcon(java.lang.String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

iconSize

public static final int iconSize
See Also:
Constant Field Values
Constructor Detail

Icons

public Icons()
Method Detail

getImageIcon

public static javax.swing.ImageIcon getImageIcon(java.lang.String name)
Parameters:
name - name of the image found in lexx.images package for example cut.gif
Returns:
image icon that has been scaled down

getImage

public static java.awt.Image getImage(java.lang.String name)
Parameters:
name - name of the image found in lexx.images package for example cut.gif
Returns:
image that has been scaled down

getUnscalesImage

public static java.awt.Image getUnscalesImage(java.lang.String name)
Parameters:
name - name of the image found in lexx.images package for example cut.gif
Returns:
image that is unscaled

getUnscalesImageIcon

public static javax.swing.ImageIcon getUnscalesImageIcon(java.lang.String name)
Parameters:
name - name of the image found in lexx.images package for example cut.gif
Returns:
image icon that is unscaled