org.relayirc.swingutil
Class IconManager

java.lang.Object
  |
  +--org.relayirc.swingutil.IconManager

public class IconManager
extends java.lang.Object

Loads icons in ./images and hashes them by file name. Assumes that images are in images sub-directory.

Version:
$Revision: 1.4.2.4 $

The contents of this file are subject to the Mozilla Public License Version 1.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.mozilla.org/MPL/

Original Code: Relay IRC Chat Engine
Initial Developer: David M. Johnson
Contributor(s): No contributors to this file
Copyright (C) 1997-2000 by David M. Johnson
All Rights Reserved.
Author:
David M. Johnson

Field Summary
static java.lang.String[] iconNames
          Array of available icon names.
 
Constructor Summary
IconManager()
           
 
Method Summary
static javax.swing.ImageIcon getIcon(java.lang.String name)
          Fetch icon by name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

iconNames

public static java.lang.String[] iconNames
Array of available icon names.
Constructor Detail

IconManager

public IconManager()
Method Detail

getIcon

public static javax.swing.ImageIcon getIcon(java.lang.String name)
Fetch icon by name.