bibliothek.gui.dock.support.util
Class Resources

java.lang.Object
  extended by bibliothek.gui.dock.support.util.Resources

public class Resources
extends Object

A set of resources available through the whole framework

Author:
Benjamin Sigg

Constructor Summary
Resources()
           
 
Method Summary
static ResourceBundle getBundle()
          Gets localized text snippets.
static Icon getIcon(String key)
          Searches an icon that was stored with the given key.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Resources

public Resources()
Method Detail

getBundle

public static ResourceBundle getBundle()
Gets localized text snippets.

Returns:
the text

getIcon

public static Icon getIcon(String key)
Searches an icon that was stored with the given key. The keys can be found in the file bibliothek/gui/dock/icons/icons.ini.

Parameters:
key - the name of an icon
Returns:
the icon or null