de.grogra.icon
Class ScaledIconTheme
java.lang.Object
de.grogra.util.ResourceConverterBase
de.grogra.icon.ScaledIconTheme
- All Implemented Interfaces:
- IconTheme, ResourceConverter
public class ScaledIconTheme
- extends ResourceConverterBase
- implements IconTheme
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
sizes
protected java.awt.Dimension[] sizes
themes
protected IconTheme[] themes
ScaledIconTheme
public ScaledIconTheme(java.lang.String name,
IconTheme[] themes)
ScaledIconTheme
public ScaledIconTheme(java.lang.String name,
IconTheme[] themes,
java.awt.Dimension[] dimensions)
convertImpl
protected java.lang.Object convertImpl(java.lang.String key,
I18NBundle bundle)
- Specified by:
convertImpl
in class ResourceConverterBase
create
public static ScaledIconTheme create(java.lang.String name,
java.net.URL[] roots,
java.awt.Dimension[] sizes,
java.lang.String suffix)
getSize
public java.awt.Dimension getSize()
- Specified by:
getSize
in interface IconTheme
getSource
public IconSource getSource(java.lang.String key)
- Specified by:
getSource
in interface IconTheme
readFromDirectory
public static ScaledIconTheme readFromDirectory(java.lang.String name,
java.io.File root,
java.lang.String suffix)
readFromDirectory
public static ScaledIconTheme readFromDirectory(java.lang.String name,
java.net.URL root,
java.lang.String suffix)