com.retek.commons.gui.table
Class RTableIcon

java.lang.Object
  extended bycom.retek.commons.gui.table.RTableIcon

public class RTableIcon
extends java.lang.Object

ICON CACHE


Constructor Summary
RTableIcon()
           
 
Method Summary
static javax.swing.Icon getIcon(java.lang.String filename)
          Retrieves an icon for the filename.
 java.lang.String toString()
          Returns string describing this entry row.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RTableIcon

public RTableIcon()
Method Detail

getIcon

public static javax.swing.Icon getIcon(java.lang.String filename)
Retrieves an icon for the filename. This method caches icons, so it will attempt to return a cached icon. After failing to find one in cache, it will attempt to create an icon from the local classpath using the filename. It will place the new icon in the cache.

Parameters:
filename - The file name of the icon in the local classpath.
Returns:
An Icon object containing the image stored in the file specified by filename.

toString

public java.lang.String toString()
Returns string describing this entry row.



Copyright © 2005 Retek Inc. All Rights Reserved. - Generated at Fri, 01/21/2005 14:25