de.grogra.icon
Class ImageIconTheme

java.lang.Object
  extended by de.grogra.util.ResourceConverterBase
      extended by de.grogra.icon.ImageIconTheme
All Implemented Interfaces:
IconTheme, ResourceConverter

public class ImageIconTheme
extends ResourceConverterBase
implements IconTheme


Field Summary
protected  java.awt.Image disabledImage
           
protected  int dx
           
protected  int dy
           
protected  java.awt.Image image
           
protected  StringMap positions
           
protected  java.awt.Dimension size
           
protected  java.net.URL url
           
protected  int x0
           
protected  int y0
           
 
Fields inherited from class de.grogra.util.ResourceConverterBase
map, name
 
Fields inherited from interface de.grogra.util.ResourceConverter
CAT, LINK
 
Constructor Summary
ImageIconTheme(java.lang.String name, java.net.URL url, java.awt.Image image, int x0, int y0, int dx, int dy, java.awt.Dimension size, StringMap positions)
           
ImageIconTheme(java.lang.String name, java.net.URL image, int x0, int y0, int dx, int dy, java.awt.Dimension size, StringMap positions)
           
 
Method Summary
protected  java.lang.Object convertImpl(java.lang.String key, I18NBundle bundle)
           
 java.awt.Dimension getSize()
           
 IconSource getSource(java.lang.String key)
           
 
Methods inherited from class de.grogra.util.ResourceConverterBase
canHandleConversion, convert
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

disabledImage

protected java.awt.Image disabledImage

dx

protected int dx

dy

protected int dy

image

protected java.awt.Image image

positions

protected StringMap positions

size

protected java.awt.Dimension size

url

protected java.net.URL url

x0

protected int x0

y0

protected int y0
Constructor Detail

ImageIconTheme

public ImageIconTheme(java.lang.String name,
                      java.net.URL url,
                      java.awt.Image image,
                      int x0,
                      int y0,
                      int dx,
                      int dy,
                      java.awt.Dimension size,
                      StringMap positions)

ImageIconTheme

public ImageIconTheme(java.lang.String name,
                      java.net.URL image,
                      int x0,
                      int y0,
                      int dx,
                      int dy,
                      java.awt.Dimension size,
                      StringMap positions)
Method Detail

convertImpl

protected java.lang.Object convertImpl(java.lang.String key,
                                       I18NBundle bundle)
Specified by:
convertImpl in class ResourceConverterBase

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