net.sf.doolin.gui.service
Interface IconService

All Known Implementing Classes:
AbstractIconService, DefaultIconService, PropertyIconService, SimpleIconService

public interface IconService

Service for getting icons.

Author:
Damien Coraboeuf

Method Summary
 Icon getIcon(String id, IconSize size)
          Fetch an icon
 URL getIconURL(String iconId, IconSize size)
          Returns the URL to an icon.
 

Method Detail

getIcon

Icon getIcon(String id,
             IconSize size)
Fetch an icon

Parameters:
id - Icon id
size - Required icon size
Returns:
Icon

getIconURL

URL getIconURL(String iconId,
               IconSize size)
Returns the URL to an icon.

Parameters:
iconId - Icon id
size - Required icon size
Returns:
URL to the icon


Copyright © 2011. All Rights Reserved.