com.l2fprod.common.swing
Class IconPool

java.lang.Object
  extended by com.l2fprod.common.swing.IconPool

public class IconPool
extends java.lang.Object

IconPool.


Constructor Summary
IconPool()
           
 
Method Summary
 void clear()
           
 javax.swing.Icon get(java.lang.String url)
          Gets the icon denoted by url.
 javax.swing.Icon get(java.net.URL url)
           
static IconPool shared()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IconPool

public IconPool()
Method Detail

shared

public static IconPool shared()

get

public javax.swing.Icon get(java.lang.String url)
Gets the icon denoted by url. If url is relative, it is relative to the caller.

Parameters:
url -
Returns:
an icon

get

public javax.swing.Icon get(java.net.URL url)

clear

public void clear()